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
clientHelper.js65 linesDownload Raw Back to client
1"use strict";2var __defProp = Object.defineProperty;3var __getOwnPropDesc = Object.getOwnPropertyDescriptor;4var __getOwnPropNames = Object.getOwnPropertyNames;5var __hasOwnProp = Object.prototype.hasOwnProperty;6var __export = (target, all) => {7  for (var name in all)8    __defProp(target, name, { get: all[name], enumerable: true });9};10var __copyProps = (to, from, except, desc) => {11  if (from && typeof from === "object" || typeof from === "function") {12    for (let key of __getOwnPropNames(from))13      if (!__hasOwnProp.call(to, key) && key !== except)14        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });15  }16  return to;17};18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);19var clientHelper_exports = {};20__export(clientHelper_exports, {21  addSourceUrlToScript: () => addSourceUrlToScript,22  envObjectToArray: () => envObjectToArray,23  evaluationScript: () => evaluationScript24});25module.exports = __toCommonJS(clientHelper_exports);26var import_rtti = require("../utils/isomorphic/rtti");27function envObjectToArray(env) {28  const result = [];29  for (const name in env) {30    if (!Object.is(env[name], void 0))31      result.push({ name, value: String(env[name]) });32  }33  return result;34}35async function evaluationScript(platform, fun, arg, addSourceUrl = true) {36  if (typeof fun === "function") {37    const source = fun.toString();38    const argString = Object.is(arg, void 0) ? "undefined" : JSON.stringify(arg);39    return `(${source})(${argString})`;40  }41  if (arg !== void 0)42    throw new Error("Cannot evaluate a string with arguments");43  if ((0, import_rtti.isString)(fun))44    return fun;45  if (fun.content !== void 0)46    return fun.content;47  if (fun.path !== void 0) {48    let source = await platform.fs().promises.readFile(fun.path, "utf8");49    if (addSourceUrl)50      source = addSourceUrlToScript(source, fun.path);51    return source;52  }53  throw new Error("Either path or content property must be present");54}55function addSourceUrlToScript(source, path) {56  return `${source}57//# sourceURL=${path.replace(/\n/g, "")}`;58}59// Annotate the CommonJS export names for ESM import in node:600 && (module.exports = {61  addSourceUrlToScript,62  envObjectToArray,63  evaluationScript64});65 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai