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 $Number = GetIntrinsic('%Number%');7var isPrimitive = require('../helpers/isPrimitive');8 9var ToPrimitive = require('./ToPrimitive');10var StringToNumber = require('./StringToNumber');11 12// https://262.ecma-international.org/13.0/#sec-tonumber13 14module.exports = function ToNumber(argument) {15 var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);16 if (typeof value === 'symbol') {17 throw new $TypeError('Cannot convert a Symbol value to a number');18 }19 if (typeof value === 'bigint') {20 throw new $TypeError('Conversion from \'BigInt\' to \'number\' is not allowed.');21 }22 if (typeof value === 'string') {23 return StringToNumber(value);24 }25 return +value;26};27 