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.cjs93 linesDownload Raw Back to dist
1'use strict';2 3const NUMBER_CHAR_RE = /\d/;4const STR_SPLITTERS = ["-", "_", "/", "."];5function isUppercase(char = "") {6  if (NUMBER_CHAR_RE.test(char)) {7    return void 0;8  }9  return char !== char.toLowerCase();10}11function splitByCase(str, separators) {12  const splitters = separators ?? STR_SPLITTERS;13  const parts = [];14  if (!str || typeof str !== "string") {15    return parts;16  }17  let buff = "";18  let previousUpper;19  let previousSplitter;20  for (const char of str) {21    const isSplitter = splitters.includes(char);22    if (isSplitter === true) {23      parts.push(buff);24      buff = "";25      previousUpper = void 0;26      continue;27    }28    const isUpper = isUppercase(char);29    if (previousSplitter === false) {30      if (previousUpper === false && isUpper === true) {31        parts.push(buff);32        buff = char;33        previousUpper = isUpper;34        continue;35      }36      if (previousUpper === true && isUpper === false && buff.length > 1) {37        const lastChar = buff.at(-1);38        parts.push(buff.slice(0, Math.max(0, buff.length - 1)));39        buff = lastChar + char;40        previousUpper = isUpper;41        continue;42      }43    }44    buff += char;45    previousUpper = isUpper;46    previousSplitter = isSplitter;47  }48  parts.push(buff);49  return parts;50}51function upperFirst(str) {52  return str ? str[0].toUpperCase() + str.slice(1) : "";53}54function lowerFirst(str) {55  return str ? str[0].toLowerCase() + str.slice(1) : "";56}57function pascalCase(str, opts) {58  return str ? (Array.isArray(str) ? str : splitByCase(str)).map((p) => upperFirst(opts?.normalize ? p.toLowerCase() : p)).join("") : "";59}60function camelCase(str, opts) {61  return lowerFirst(pascalCase(str || "", opts));62}63function kebabCase(str, joiner) {64  return str ? (Array.isArray(str) ? str : splitByCase(str)).map((p) => p.toLowerCase()).join(joiner ?? "-") : "";65}66function snakeCase(str) {67  return kebabCase(str || "", "_");68}69function flatCase(str) {70  return kebabCase(str || "", "");71}72function trainCase(str, opts) {73  return (Array.isArray(str) ? str : splitByCase(str)).filter(Boolean).map((p) => upperFirst(opts?.normalize ? p.toLowerCase() : p)).join("-");74}75const titleCaseExceptions = /^(a|an|and|as|at|but|by|for|if|in|is|nor|of|on|or|the|to|with)$/i;76function titleCase(str, opts) {77  return (Array.isArray(str) ? str : splitByCase(str)).filter(Boolean).map(78    (p) => titleCaseExceptions.test(p) ? p.toLowerCase() : upperFirst(opts?.normalize ? p.toLowerCase() : p)79  ).join(" ");80}81 82exports.camelCase = camelCase;83exports.flatCase = flatCase;84exports.isUppercase = isUppercase;85exports.kebabCase = kebabCase;86exports.lowerFirst = lowerFirst;87exports.pascalCase = pascalCase;88exports.snakeCase = snakeCase;89exports.splitByCase = splitByCase;90exports.titleCase = titleCase;91exports.trainCase = trainCase;92exports.upperFirst = upperFirst;93 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai