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.
03.1k
1import Benchmark from "benchmark";2 3import { z } from "zod/v3";4 5const shortSuite = new Benchmark.Suite("realworld");6 7const People = z.array(8 z.object({9 type: z.literal("person"),10 hair: z.enum(["blue", "brown"]),11 active: z.boolean(),12 name: z.string(),13 age: z.number().int(),14 hobbies: z.array(z.string()),15 address: z.object({16 street: z.string(),17 zip: z.string(),18 country: z.string(),19 }),20 })21);22 23let i = 0;24 25function num() {26 return ++i;27}28 29function str() {30 return (++i % 100).toString(16);31}32 33function array<T>(fn: () => T): T[] {34 return Array.from({ length: ++i % 10 }, () => fn());35}36 37const people = Array.from({ length: 100 }, () => {38 return {39 type: "person",40 hair: i % 2 ? "blue" : "brown",41 active: !!(i % 2),42 name: str(),43 age: num(),44 hobbies: array(str),45 address: {46 street: str(),47 zip: str(),48 country: str(),49 },50 };51});52 53shortSuite54 .add("valid", () => {55 People.parse(people);56 })57 .on("cycle", (e: Benchmark.Event) => {58 console.log(`${(shortSuite as any).name}: ${e.target}`);59 });60 61export default {62 suites: [shortSuite],63};64 