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.
03k
1import ascending from "./ascending.js";2 3export default function least(values, compare = ascending) {4 let min;5 let defined = false;6 if (compare.length === 1) {7 let minValue;8 for (const element of values) {9 const value = compare(element);10 if (defined11 ? ascending(value, minValue) < 012 : ascending(value, value) === 0) {13 min = element;14 minValue = value;15 defined = true;16 }17 }18 } else {19 for (const value of values) {20 if (defined21 ? compare(value, min) < 022 : compare(value, value) === 0) {23 min = value;24 defined = true;25 }26 }27 }28 return min;29}30 