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
1'use strict';2 3var $TypeError = require('es-errors/type');4 5var callBound = require('call-bound');6var $indexOf = callBound('String.prototype.indexOf');7 8var Canonicalize = require('./Canonicalize');9 10var caseFolding = require('../helpers/caseFolding.json');11var forEach = require('../helpers/forEach');12var OwnPropertyKeys = require('own-keys');13 14var A = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'; // step 115 16// https://262.ecma-international.org/8.0/#sec-runtime-semantics-wordcharacters-abstract-operation17 18module.exports = function WordCharacters(IgnoreCase, Unicode) {19 if (typeof IgnoreCase !== 'boolean' || typeof Unicode !== 'boolean') {20 throw new $TypeError('Assertion failed: `IgnoreCase` and `Unicode` must be booleans');21 }22 23 var U = '';24 forEach(OwnPropertyKeys(caseFolding.C), function (c) {25 if (26 $indexOf(A, c) === -1 // c not in A27 && $indexOf(A, Canonicalize(c, IgnoreCase, Unicode)) > -1 // canonicalized c IS in A28 ) {29 U += caseFolding.C[c]; // step 330 }31 });32 forEach(OwnPropertyKeys(caseFolding.S), function (c) {33 if (34 $indexOf(A, c) === -1 // c not in A35 && $indexOf(A, Canonicalize(c, IgnoreCase, Unicode)) > -1 // canonicalized c IS in A36 ) {37 U += caseFolding.S[c]; // step 338 }39 });40 41 if ((!Unicode || !IgnoreCase) && U.length > 0) {42 throw new $TypeError('Assertion failed: `U` must be empty when `IgnoreCase` and `Unicode` are not both true'); // step 443 }44 45 return A + U; // step 5, 646};47 