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 $ObjectCreate = GetIntrinsic('%Object.create%', true);6var $TypeError = require('es-errors/type');7var $SyntaxError = require('es-errors/syntax');8var isObject = require('es-object-atoms/isObject');9 10var IsArray = require('./IsArray');11 12var forEach = require('../helpers/forEach');13 14var SLOT = require('internal-slot');15 16var hasProto = require('has-proto')();17 18// https://262.ecma-international.org/11.0/#sec-objectcreate19 20module.exports = function OrdinaryObjectCreate(proto) {21 if (proto !== null && !isObject(proto)) {22 throw new $TypeError('Assertion failed: `proto` must be null or an object');23 }24 var additionalInternalSlotsList = arguments.length < 2 ? [] : arguments[1];25 if (!IsArray(additionalInternalSlotsList)) {26 throw new $TypeError('Assertion failed: `additionalInternalSlotsList` must be an Array');27 }28 29 // var internalSlotsList = ['[[Prototype]]', '[[Extensible]]']; // step 130 // internalSlotsList.push(...additionalInternalSlotsList); // step 231 // var O = MakeBasicObject(internalSlotsList); // step 332 // setProto(O, proto); // step 433 // return O; // step 534 35 var O;36 if (hasProto) {37 O = { __proto__: proto };38 } else if ($ObjectCreate) {39 O = $ObjectCreate(proto);40 } else {41 if (proto === null) {42 throw new $SyntaxError('native Object.create support is required to create null objects');43 }44 var T = function T() {};45 T.prototype = proto;46 O = new T();47 }48 49 if (additionalInternalSlotsList.length > 0) {50 forEach(additionalInternalSlotsList, function (slot) {51 SLOT.set(O, slot, void undefined);52 });53 }54 55 return O;56};57 