Team Ai
Datasetpublic

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.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
README.md58 linesDownload Raw Back to balanced-match
1# balanced-match2 3Match balanced string pairs, like `{` and `}` or `<b>` and4`</b>`. Supports regular expressions as well!5 6## Example7 8Get the first matching pair of braces:9 10```js11import { balanced } from 'balanced-match'12 13console.log(balanced('{', '}', 'pre{in{nested}}post'))14console.log(balanced('{', '}', 'pre{first}between{second}post'))15console.log(16  balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre  {   in{nest}   }  post'),17)18```19 20The matches are:21 22```bash23$ node example.js24{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' }25{ start: 3,26  end: 9,27  pre: 'pre',28  body: 'first',29  post: 'between{second}post' }30{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' }31```32 33## API34 35### const m = balanced(a, b, str)36 37For the first non-nested matching pair of `a` and `b` in `str`, return an38object with those keys:39 40- **start** the index of the first match of `a`41- **end** the index of the matching `b`42- **pre** the preamble, `a` and `b` not included43- **body** the match, `a` and `b` not included44- **post** the postscript, `a` and `b` not included45 46If there's no match, `undefined` will be returned.47 48If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`.49 50### const r = balanced.range(a, b, str)51 52For the first non-nested matching pair of `a` and `b` in `str`, return an53array with indexes: `[ <a index>, <b index> ]`.54 55If there's no match, `undefined` will be returned.56 57If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]` and `{a}}` will match `[0, 2]`.58 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai