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
doc.ts45 linesDownload Raw Back to core
1type ModeWriter = (doc: Doc, modes: { execution: "sync" | "async" }) => void;2 3export class Doc {4  args!: string[];5  content: string[] = [];6  indent = 0;7 8  constructor(args: string[] = []) {9    if (this) this.args = args;10  }11 12  indented(fn: (doc: Doc) => void) {13    this.indent += 1;14    fn(this);15    this.indent -= 1;16  }17 18  write(fn: ModeWriter): void;19  write(line: string): void;20  write(arg: any) {21    if (typeof arg === "function") {22      (arg as ModeWriter)(this, { execution: "sync" });23      (arg as ModeWriter)(this, { execution: "async" });24      return;25    }26 27    const content = arg as string;28    const lines = content.split("\n").filter((x) => x);29    const minIndent = Math.min(...lines.map((x) => x.length - x.trimStart().length));30    const dedented = lines.map((x) => x.slice(minIndent)).map((x) => " ".repeat(this.indent * 2) + x);31    for (const line of dedented) {32      this.content.push(line);33    }34  }35 36  compile(): any {37    const F = Function;38    const args = this?.args;39    const content = this?.content ?? [``];40    const lines = [...content.map((x) => `  ${x}`)];41    // console.log(lines.join("\n"));42    return new F(...args, lines.join("\n")) as any;43  }44}45 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai