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
WordCharacters.js48 linesDownload Raw Back to 2023
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 isRegExpRecord = require('../helpers/records/regexp-record');13var OwnPropertyKeys = require('own-keys');14 15var basicWordChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'; // step 116 17// https://262.ecma-international.org/14.0/#sec-runtime-semantics-wordcharacters-abstract-operation18 19module.exports = function WordCharacters(rer) {20	if (!isRegExpRecord(rer)) {21		throw new $TypeError('Assertion failed: `rer` must be a RegExp Record');22	}23 24	var extraWordChars = '';25	forEach(OwnPropertyKeys(caseFolding.C), function (c) {26		if (27			$indexOf(basicWordChars, c) === -1 // c not in A28			&& $indexOf(basicWordChars, Canonicalize(rer, c)) > -1 // canonicalized c IS in A29		) {30			extraWordChars += caseFolding.C[c]; // step 331		}32	});33	forEach(OwnPropertyKeys(caseFolding.S), function (c) {34		if (35			$indexOf(basicWordChars, c) === -1 // c not in A36			&& $indexOf(basicWordChars, Canonicalize(rer, c)) > -1 // canonicalized c IS in A37		) {38			extraWordChars += caseFolding.S[c]; // step 339		}40	});41 42	if ((!rer['[[Unicode]]'] || !rer['[[IgnoreCase]]']) && extraWordChars.length > 0) {43		throw new $TypeError('Assertion failed: `extraWordChars` must be empty when `rer.[[IgnoreCase]]` and `rer.[[Unicode]]` are not both true'); // step 344	}45 46	return basicWordChars + extraWordChars; // step 447};48 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai