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 $TypeError = require('es-errors/type');4var isObject = require('es-object-atoms/isObject');5 6var Call = require('./Call');7var Get = require('./Get');8var IsCallable = require('./IsCallable');9 10var inspect = require('object-inspect');11 12// https://262.ecma-international.org/8.0/#sec-ordinarytoprimitive13 14module.exports = function OrdinaryToPrimitive(O, hint) {15 if (!isObject(O)) {16 throw new $TypeError('Assertion failed: Type(O) is not Object');17 }18 if (/* typeof hint !== 'string' || */ hint !== 'string' && hint !== 'number') {19 throw new $TypeError('Assertion failed: `hint` must be "string" or "number"');20 }21 22 var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];23 24 for (var i = 0; i < methodNames.length; i += 1) {25 var name = methodNames[i];26 var method = Get(O, name);27 if (IsCallable(method)) {28 var result = Call(method, O);29 if (!isObject(result)) {30 return result;31 }32 }33 }34 35 throw new $TypeError('No primitive value for ' + inspect(O));36};37 