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
1import assignValue from './_assignValue.js';2import castPath from './_castPath.js';3import isIndex from './_isIndex.js';4import isObject from './isObject.js';5import toKey from './_toKey.js';6 7/**8 * The base implementation of `_.set`.9 *10 * @private11 * @param {Object} object The object to modify.12 * @param {Array|string} path The path of the property to set.13 * @param {*} value The value to set.14 * @param {Function} [customizer] The function to customize path creation.15 * @returns {Object} Returns `object`.16 */17function baseSet(object, path, value, customizer) {18 if (!isObject(object)) {19 return object;20 }21 path = castPath(path, object);22 23 var index = -1,24 length = path.length,25 lastIndex = length - 1,26 nested = object;27 28 while (nested != null && ++index < length) {29 var key = toKey(path[index]),30 newValue = value;31 32 if (key === '__proto__' || key === 'constructor' || key === 'prototype') {33 return object;34 }35 36 if (index != lastIndex) {37 var objValue = nested[key];38 newValue = customizer ? customizer(objValue, key, nested) : undefined;39 if (newValue === undefined) {40 newValue = isObject(objValue)41 ? objValue42 : (isIndex(path[index + 1]) ? [] : {});43 }44 }45 assignValue(nested, key, newValue);46 nested = nested[key];47 }48 return object;49}50 51export default baseSet;52 