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'use strict'2 3var convert = require('./convert')4 5module.exports = is6 7is.convert = convert8 9// Assert if `test` passes for `node`.10// When a `parent` node is known the `index` of node should also be given.11function is(node, test, index, parent, context) {12 var check = convert(test)13 14 if (15 index != null &&16 (typeof index !== 'number' || index < 0 || index === Infinity)17 ) {18 throw new Error('Expected positive finite index')19 }20 21 if (parent != null && (!is(parent) || !parent.children)) {22 throw new Error('Expected parent node')23 }24 25 if ((parent == null) !== (index == null)) {26 throw new Error('Expected both parent and index')27 }28 29 return node && node.type && typeof node.type === 'string'30 ? Boolean(check.call(context, node, index, parent))31 : false32}33 