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
reduce.js52 linesDownload Raw Back to lodash-es
1import arrayReduce from './_arrayReduce.js';2import baseEach from './_baseEach.js';3import baseIteratee from './_baseIteratee.js';4import baseReduce from './_baseReduce.js';5import isArray from './isArray.js';6 7/**8 * Reduces `collection` to a value which is the accumulated result of running9 * each element in `collection` thru `iteratee`, where each successive10 * invocation is supplied the return value of the previous. If `accumulator`11 * is not given, the first element of `collection` is used as the initial12 * value. The iteratee is invoked with four arguments:13 * (accumulator, value, index|key, collection).14 *15 * Many lodash methods are guarded to work as iteratees for methods like16 * `_.reduce`, `_.reduceRight`, and `_.transform`.17 *18 * The guarded methods are:19 * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,20 * and `sortBy`21 *22 * @static23 * @memberOf _24 * @since 0.1.025 * @category Collection26 * @param {Array|Object} collection The collection to iterate over.27 * @param {Function} [iteratee=_.identity] The function invoked per iteration.28 * @param {*} [accumulator] The initial value.29 * @returns {*} Returns the accumulated value.30 * @see _.reduceRight31 * @example32 *33 * _.reduce([1, 2], function(sum, n) {34 *   return sum + n;35 * }, 0);36 * // => 337 *38 * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {39 *   (result[value] || (result[value] = [])).push(key);40 *   return result;41 * }, {});42 * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)43 */44function reduce(collection, iteratee, accumulator) {45  var func = isArray(collection) ? arrayReduce : baseReduce,46      initAccum = arguments.length < 3;47 48  return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);49}50 51export default reduce;52 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai