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
pmb.ts44 linesDownload Raw Back to functions
1import defineFunction, {ordargument} from "../defineFunction";2import {makeSpan} from "../buildCommon";3import {MathNode} from "../mathMLTree";4import * as html from "../buildHTML";5import * as mml from "../buildMathML";6import {binrelClass} from "./mclass";7 8import type {ParseNode} from "../parseNode";9 10// \pmb is a simulation of bold font.11// The version of \pmb in ambsy.sty works by typesetting three copies12// with small offsets. We use CSS text-shadow.13// It's a hack. Not as good as a real bold font. Better than nothing.14 15defineFunction({16    type: "pmb",17    names: ["\\pmb"],18    props: {19        numArgs: 1,20        allowedInText: true,21    },22    handler({parser}, args) {23        return {24            type: "pmb",25            mode: parser.mode,26            mclass: binrelClass(args[0]),27            body: ordargument(args[0]),28        };29    },30    htmlBuilder(group: ParseNode<"pmb">, options) {31        const elements = html.buildExpression(group.body, options, true);32        const node = makeSpan([group.mclass], elements, options);33        node.style.textShadow = "0.02em 0.01em 0.04px";34        return node;35    },36    mathmlBuilder(group: ParseNode<"pmb">, style) {37        const inner = mml.buildExpression(group.body, style);38        // Wrap with an <mstyle> element.39        const node = new MathNode("mstyle", inner);40        node.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px");41        return node;42    },43});44 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai