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
1import {values} from 'micromark-util-symbol'2 3/**4 * Normalize an identifier (as found in references, definitions).5 *6 * Collapses markdown whitespace, trim, and then lower- and uppercase.7 *8 * Some characters are considered “uppercase”, such as U+03F4 (`ϴ`), but if their9 * lowercase counterpart (U+03B8 (`θ`)) is uppercased will result in a different10 * uppercase character (U+0398 (`Θ`)).11 * So, to get a canonical form, we perform both lower- and uppercase.12 *13 * Using uppercase last makes sure keys will never interact with default14 * prototypal values (such as `constructor`): nothing in the prototype of15 * `Object` is uppercase.16 *17 * @param {string} value18 * Identifier to normalize.19 * @returns {string}20 * Normalized identifier.21 */22export function normalizeIdentifier(value) {23 return (24 value25 // Collapse markdown whitespace.26 .replace(/[\t\n\r ]+/g, values.space)27 // Trim.28 .replace(/^ | $/g, '')29 // Some characters are considered “uppercase”, but if their lowercase30 // counterpart is uppercased will result in a different uppercase31 // character.32 // Hence, to get that form, we perform both lower- and uppercase.33 // Upper case makes sure keys will not interact with default prototypal34 // methods: no method is uppercase.35 .toLowerCase()36 .toUpperCase()37 )38}39 