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
pipeline.test.ts30 linesDownload Raw Back to tests
1// @ts-ignore TS61332import { expect, test } from "vitest";3 4import * as z from "zod/v3";5 6test("string to number pipeline", () => {7  const schema = z.string().transform(Number).pipe(z.number());8  expect(schema.parse("1234")).toEqual(1234);9});10 11test("string to number pipeline async", async () => {12  const schema = z13    .string()14    .transform(async (val) => Number(val))15    .pipe(z.number());16  expect(await schema.parseAsync("1234")).toEqual(1234);17});18 19test("break if dirty", () => {20  const schema = z21    .string()22    .refine((c) => c === "1234")23    .transform(async (val) => Number(val))24    .pipe(z.number().refine((v) => v < 100));25  const r1: any = schema.safeParse("12345");26  expect(r1.error.issues.length).toBe(1);27  const r2: any = schema.safeParse("3");28  expect(r2.error.issues.length).toBe(1);29});30 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai