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 {ascending, bisect, quantile} from "d3-array";2import {identity} from "./continuous.js";3import {initInterpolator} from "./init.js";4 5export default function sequentialQuantile() {6 var domain = [],7 interpolator = identity;8 9 function scale(x) {10 if (x != null && !isNaN(x = +x)) return interpolator((bisect(domain, x, 1) - 1) / (domain.length - 1));11 }12 13 scale.domain = function(_) {14 if (!arguments.length) return domain.slice();15 domain = [];16 for (let d of _) if (d != null && !isNaN(d = +d)) domain.push(d);17 domain.sort(ascending);18 return scale;19 };20 21 scale.interpolator = function(_) {22 return arguments.length ? (interpolator = _, scale) : interpolator;23 };24 25 scale.range = function() {26 return domain.map((d, i) => interpolator(i / (domain.length - 1)));27 };28 29 scale.quantiles = function(n) {30 return Array.from({length: n + 1}, (_, i) => quantile(domain, i / n));31 };32 33 scale.copy = function() {34 return sequentialQuantile(interpolator).domain(domain);35 };36 37 return initInterpolator.apply(scale, arguments);38}39 