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/**2 * @typedef {import('unist').Node} Node3 */4 5/**6 * @typedef Options7 * Configuration.8 * @property {boolean | null | undefined} [force=false]9 * Whether to use `delete` to remove `position` fields.10 *11 * The default is to set them to `undefined`.12 */13 14import {visit} from 'unist-util-visit'15 16/**17 * Remove the `position` field from a tree.18 *19 * @param {Node} tree20 * Tree to clean.21 * @param {Options | null | undefined} [options={force: false}]22 * Configuration (default: `{force: false}`).23 * @returns {undefined}24 * Nothing.25 */26export function removePosition(tree, options) {27 const config = options || {}28 const force = config.force || false29 30 visit(tree, remove)31 32 /**33 * @param {Node} node34 */35 function remove(node) {36 if (force) {37 delete node.position38 } else {39 node.position = undefined40 }41 }42}43 