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
Canonicalize.js39 linesDownload Raw Back to 5
1'use strict';2 3var $TypeError = require('es-errors/type');4 5var callBound = require('call-bound');6 7var $charCodeAt = callBound('String.prototype.charCodeAt');8var $toUpperCase = callBound('String.prototype.toUpperCase');9 10// https://262.ecma-international.org/5.1/#sec-15.10.2.811 12module.exports = function Canonicalize(ch, IgnoreCase) {13	if (typeof ch !== 'string' || ch.length !== 1) {14		throw new $TypeError('Assertion failed: `ch` must be a character');15	}16 17	if (typeof IgnoreCase !== 'boolean') {18		throw new $TypeError('Assertion failed: `IgnoreCase` must be a Boolean');19	}20 21	if (!IgnoreCase) {22		return ch; // step 123	}24 25	var u = $toUpperCase(ch); // step 226 27	if (u.length !== 1) {28		return ch; // step 329	}30 31	var cu = u; // step 432 33	if ($charCodeAt(ch, 0) >= 128 && $charCodeAt(cu, 0) < 128) {34		return ch; // step 535	}36 37	return cu;38};39 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai