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 baseSlice from './_baseSlice.js';2import toInteger from './toInteger.js';3 4/**5 * Creates a slice of `array` with `n` elements taken from the beginning.6 *7 * @static8 * @memberOf _9 * @since 0.1.010 * @category Array11 * @param {Array} array The array to query.12 * @param {number} [n=1] The number of elements to take.13 * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.14 * @returns {Array} Returns the slice of `array`.15 * @example16 *17 * _.take([1, 2, 3]);18 * // => [1]19 *20 * _.take([1, 2, 3], 2);21 * // => [1, 2]22 *23 * _.take([1, 2, 3], 5);24 * // => [1, 2, 3]25 *26 * _.take([1, 2, 3], 0);27 * // => []28 */29function take(array, n, guard) {30 if (!(array && array.length)) {31 return [];32 }33 n = (guard || n === undefined) ? 1 : toInteger(n);34 return baseSlice(array, 0, n < 0 ? 0 : n);35}36 37export default take;38 