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
ToUint16.js22 linesDownload Raw Back to 2023
1'use strict';2 3var modulo = require('./modulo');4var ToNumber = require('./ToNumber');5var truncate = require('./truncate');6 7var isFinite = require('math-intrinsics/isFinite');8 9// https://262.ecma-international.org/14.0/#sec-touint1610 11var two16 = 0x10000; // Math.pow(2, 16)12 13module.exports = function ToUint16(argument) {14	var number = ToNumber(argument);15	if (!isFinite(number) || number === 0) {16		return 0;17	}18	var int = truncate(number);19	var int16bit = modulo(int, two16);20	return int16bit === 0 ? 0 : int16bit; // in the spec, these are math values, so we filter out -0 here21};22 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai