Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1# unist-util-visit2 3[![Build][build-badge]][build]4[![Coverage][coverage-badge]][coverage]5[![Downloads][downloads-badge]][downloads]6[![Size][size-badge]][size]7[![Sponsors][sponsors-badge]][collective]8[![Backers][backers-badge]][collective]9[![Chat][chat-badge]][chat]10 11[**unist**][unist] utility to visit nodes.12 13## Install14 15[npm][]:16 17```sh18npm install unist-util-visit19```20 21## Use22 23```js24var u = require('unist-builder')25var visit = require('unist-util-visit')26 27var tree = u('tree', [28 u('leaf', '1'),29 u('node', [u('leaf', '2')]),30 u('void'),31 u('leaf', '3')32])33 34visit(tree, 'leaf', function(node) {35 console.log(node)36})37```38 39Yields:40 41```js42{ type: 'leaf', value: '1' }43{ type: 'leaf', value: '2' }44{ type: 'leaf', value: '3' }45```46 47## API48 49### `visit(tree[, test], visitor[, reverse])`50 51This function works exactly the same as [`unist-util-visit-parents`][vp],52but `visitor` has a different signature.53 54#### `next? = visitor(node, index, parent)`55 56Instead of being passed an array of ancestors, `visitor` is invoked with the57node’s [`index`][index] and its [`parent`][parent].58 59Otherwise the same as [`unist-util-visit-parents`][vp].60 61## Related62 63* [`unist-util-visit-parents`][vp]64 — Like `visit`, but with a stack of parents65* [`unist-util-filter`](https://github.com/syntax-tree/unist-util-filter)66 — Create a new tree with all nodes that pass a test67* [`unist-util-map`](https://github.com/syntax-tree/unist-util-map)68 — Create a new tree with all nodes mapped by a given function69* [`unist-util-flatmap`](https://gitlab.com/staltz/unist-util-flatmap)70 — Create a new tree by mapping (to an array) with the given function71* [`unist-util-remove`](https://github.com/syntax-tree/unist-util-remove)72 — Remove nodes from a tree that pass a test73* [`unist-util-select`](https://github.com/syntax-tree/unist-util-select)74 — Select nodes with CSS-like selectors75 76## Contribute77 78See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get79started.80See [`support.md`][support] for ways to get help.81 82This project has a [code of conduct][coc].83By interacting with this repository, organization, or community you agree to84abide by its terms.85 86## License87 88[MIT][license] © [Titus Wormer][author]89 90<!-- Definition -->91 92[build-badge]: https://img.shields.io/travis/syntax-tree/unist-util-visit.svg93 94[build]: https://travis-ci.org/syntax-tree/unist-util-visit95 96[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/unist-util-visit.svg97 98[coverage]: https://codecov.io/github/syntax-tree/unist-util-visit99 100[downloads-badge]: https://img.shields.io/npm/dm/unist-util-visit.svg101 102[downloads]: https://www.npmjs.com/package/unist-util-visit103 104[size-badge]: https://img.shields.io/bundlephobia/minzip/unist-util-visit.svg105 106[size]: https://bundlephobia.com/result?p=unist-util-visit107 108[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg109 110[backers-badge]: https://opencollective.com/unified/backers/badge.svg111 112[collective]: https://opencollective.com/unified113 114[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg115 116[chat]: https://spectrum.chat/unified/syntax-tree117 118[npm]: https://docs.npmjs.com/cli/install119 120[license]: license121 122[author]: https://wooorm.com123 124[contributing]: https://github.com/syntax-tree/.github/blob/HEAD/contributing.md125 126[support]: https://github.com/syntax-tree/.github/blob/HEAD/support.md127 128[coc]: https://github.com/syntax-tree/.github/blob/HEAD/code-of-conduct.md129 130[unist]: https://github.com/syntax-tree/unist131 132[vp]: https://github.com/syntax-tree/unist-util-visit-parents133 134[index]: https://github.com/syntax-tree/unist#index135 136[parent]: https://github.com/syntax-tree/unist#parent-1137 