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
index.js54 linesDownload Raw Back to dev
1import {decodeNamedCharacterReference} from 'decode-named-character-reference'2import {decodeNumericCharacterReference} from 'micromark-util-decode-numeric-character-reference'3import {codes, constants} from 'micromark-util-symbol'4 5const characterEscapeOrReference =6  /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi7 8/**9 * Decode markdown strings (which occur in places such as fenced code info10 * strings, destinations, labels, and titles).11 *12 * The “string” content type allows character escapes and -references.13 * This decodes those.14 *15 * @param {string} value16 *   Value to decode.17 * @returns {string}18 *   Decoded value.19 */20export function decodeString(value) {21  return value.replace(characterEscapeOrReference, decode)22}23 24/**25 * @param {string} $026 *   Match.27 * @param {string} $128 *   Character escape.29 * @param {string} $230 *   Character reference.31 * @returns {string}32 *   Decoded value33 */34function decode($0, $1, $2) {35  if ($1) {36    // Escape.37    return $138  }39 40  // Reference.41  const head = $2.charCodeAt(0)42 43  if (head === codes.numberSign) {44    const head = $2.charCodeAt(1)45    const hex = head === codes.lowercaseX || head === codes.uppercaseX46    return decodeNumericCharacterReference(47      $2.slice(hex ? 2 : 1),48      hex ? constants.numericBaseHexadecimal : constants.numericBaseDecimal49    )50  }51 52  return decodeNamedCharacterReference($2) || $053}54 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai