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
attrs.js59 linesDownload Raw Back to internal
1export function boolToStr(condition) {2    return condition ? "true" : "false";3}4export function boolToStrTrueOrUndef(condition) {5    return condition ? "true" : undefined;6}7export function boolToEmptyStrOrUndef(condition) {8    return condition ? "" : undefined;9}10export function boolToTrueOrUndef(condition) {11    return condition ? true : undefined;12}13export function getDataOpenClosed(condition) {14    return condition ? "open" : "closed";15}16export function getDataChecked(condition) {17    return condition ? "checked" : "unchecked";18}19export function getDataTransitionAttrs(state) {20    if (state === "starting")21        return { "data-starting-style": "" };22    if (state === "ending")23        return { "data-ending-style": "" };24    return {};25}26export function getAriaChecked(checked, indeterminate) {27    if (indeterminate)28        return "mixed";29    return checked ? "true" : "false";30}31export class BitsAttrs {32    #variant;33    #prefix;34    attrs;35    constructor(config) {36        this.#variant = config.getVariant ? config.getVariant() : null;37        this.#prefix = this.#variant ? `data-${this.#variant}-` : `data-${config.component}-`;38        this.getAttr = this.getAttr.bind(this);39        this.selector = this.selector.bind(this);40        this.attrs = Object.fromEntries(config.parts.map((part) => [part, this.getAttr(part)]));41    }42    getAttr(part, variantOverride) {43        if (variantOverride)44            return `data-${variantOverride}-${part}`;45        return `${this.#prefix}${part}`;46    }47    selector(part, variantOverride) {48        return `[${this.getAttr(part, variantOverride)}]`;49    }50}51export function createBitsAttrs(config) {52    const bitsAttrs = new BitsAttrs(config);53    return {54        ...bitsAttrs.attrs,55        selector: bitsAttrs.selector,56        getAttr: bitsAttrs.getAttr,57    };58}59 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai