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 GetIntrinsic = require('get-intrinsic');4 5var $TypeError = require('es-errors/type');6var $fromCharCode = GetIntrinsic('%String.fromCharCode%');7 8var isLeadingSurrogate = require('../helpers/isLeadingSurrogate');9var isTrailingSurrogate = require('../helpers/isTrailingSurrogate');10 11// https://262.ecma-international.org/12.0/#sec-utf16decodesurrogatepair12 13module.exports = function UTF16SurrogatePairToCodePoint(lead, trail) {14 if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {15 throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code');16 }17 // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;18 return $fromCharCode(lead) + $fromCharCode(trail);19};20 