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 defineFunction from "../defineFunction";2import {makeVList} from "../buildCommon";3import {MathNode} from "../mathMLTree";4import {assertNodeType} from "../parseNode";5import {calculateSize} from "../units";6 7import * as html from "../buildHTML";8import * as mml from "../buildMathML";9 10// Box manipulation11defineFunction({12 type: "raisebox",13 names: ["\\raisebox"],14 props: {15 numArgs: 2,16 argTypes: ["size", "hbox"],17 allowedInText: true,18 },19 handler({parser}, args) {20 const amount = assertNodeType(args[0], "size").value;21 const body = args[1];22 return {23 type: "raisebox",24 mode: parser.mode,25 dy: amount,26 body,27 };28 },29 htmlBuilder(group, options) {30 const body = html.buildGroup(group.body, options);31 const dy = calculateSize(group.dy, options);32 return makeVList({33 positionType: "shift",34 positionData: -dy,35 children: [{type: "elem", elem: body}],36 }, options);37 },38 mathmlBuilder(group, options) {39 const node = new MathNode(40 "mpadded", [mml.buildGroup(group.body, options)]);41 const dy = group.dy.number + group.dy.unit;42 node.setAttribute("voffset", dy);43 return node;44 },45});46 