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
defu.mjs70 linesDownload Raw Back to dist
1function isPlainObject(value) {2  if (value === null || typeof value !== "object") {3    return false;4  }5  const prototype = Object.getPrototypeOf(value);6  if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {7    return false;8  }9  if (Symbol.iterator in value) {10    return false;11  }12  if (Symbol.toStringTag in value) {13    return Object.prototype.toString.call(value) === "[object Module]";14  }15  return true;16}17 18function _defu(baseObject, defaults, namespace = ".", merger) {19  if (!isPlainObject(defaults)) {20    return _defu(baseObject, {}, namespace, merger);21  }22  const object = { ...defaults };23  for (const key of Object.keys(baseObject)) {24    if (key === "__proto__" || key === "constructor") {25      continue;26    }27    const value = baseObject[key];28    if (value === null || value === void 0) {29      continue;30    }31    if (merger && merger(object, key, value, namespace)) {32      continue;33    }34    if (Array.isArray(value) && Array.isArray(object[key])) {35      object[key] = [...value, ...object[key]];36    } else if (isPlainObject(value) && isPlainObject(object[key])) {37      object[key] = _defu(38        value,39        object[key],40        (namespace ? `${namespace}.` : "") + key.toString(),41        merger42      );43    } else {44      object[key] = value;45    }46  }47  return object;48}49function createDefu(merger) {50  return (...arguments_) => (51    // eslint-disable-next-line unicorn/no-array-reduce52    arguments_.reduce((p, c) => _defu(p, c, "", merger), {})53  );54}55const defu = createDefu();56const defuFn = createDefu((object, key, currentValue) => {57  if (object[key] !== void 0 && typeof currentValue === "function") {58    object[key] = currentValue(object[key]);59    return true;60  }61});62const defuArrayFn = createDefu((object, key, currentValue) => {63  if (Array.isArray(object[key]) && typeof currentValue === "function") {64    object[key] = currentValue(object[key]);65    return true;66  }67});68 69export { createDefu, defu as default, defu, defuArrayFn, defuFn };70 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai