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
2020.ts76 linesDownload Raw Back to lib
1import type {AnySchemaObject} from "./types"2import AjvCore, {Options} from "./core"3 4import draft2020Vocabularies from "./vocabularies/draft2020"5import discriminator from "./vocabularies/discriminator"6import addMetaSchema2020 from "./refs/json-schema-2020-12"7 8const META_SCHEMA_ID = "https://json-schema.org/draft/2020-12/schema"9 10export class Ajv2020 extends AjvCore {11  constructor(opts: Options = {}) {12    super({13      ...opts,14      dynamicRef: true,15      next: true,16      unevaluated: true,17    })18  }19 20  _addVocabularies(): void {21    super._addVocabularies()22    draft2020Vocabularies.forEach((v) => this.addVocabulary(v))23    if (this.opts.discriminator) this.addKeyword(discriminator)24  }25 26  _addDefaultMetaSchema(): void {27    super._addDefaultMetaSchema()28    const {$data, meta} = this.opts29    if (!meta) return30    addMetaSchema2020.call(this, $data)31    this.refs["http://json-schema.org/schema"] = META_SCHEMA_ID32  }33 34  defaultMeta(): string | AnySchemaObject | undefined {35    return (this.opts.defaultMeta =36      super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined))37  }38}39 40module.exports = exports = Ajv202041module.exports.Ajv2020 = Ajv202042Object.defineProperty(exports, "__esModule", {value: true})43 44export default Ajv202045 46export {47  Format,48  FormatDefinition,49  AsyncFormatDefinition,50  KeywordDefinition,51  KeywordErrorDefinition,52  CodeKeywordDefinition,53  MacroKeywordDefinition,54  FuncKeywordDefinition,55  Vocabulary,56  Schema,57  SchemaObject,58  AnySchemaObject,59  AsyncSchema,60  AnySchema,61  ValidateFunction,62  AsyncValidateFunction,63  ErrorObject,64  ErrorNoParams,65} from "./types"66 67export {Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions} from "./core"68export {SchemaCxt, SchemaObjCxt} from "./compile"69export {KeywordCxt} from "./compile/validate"70export {DefinedError} from "./vocabularies/errors"71export {JSONType} from "./compile/rules"72export {JSONSchemaType} from "./types/json-schema"73export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen"74export {default as ValidationError} from "./runtime/validation_error"75export {default as MissingRefError} from "./compile/ref_error"76 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai