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
index.js138 linesDownload Raw Back to tsx
1/** @import { TSESTree } from '@typescript-eslint/types' */2/** @import { Visitors } from '../../types.js' */3/** @import { TSOptions } from '../types.js' */4import ts from '../ts/index.js';5 6/**7 * @param {TSOptions} [options]8 * @returns {Visitors<TSESTree.Node>}9 */10export default (options) => ({11	...ts(options),12 13	JSXElement(node, context) {14		context.visit(node.openingElement);15 16		if (node.children.length > 0) {17			context.indent();18		}19 20		for (const child of node.children) {21			context.visit(child);22		}23 24		if (node.children.length > 0) {25			context.dedent();26		}27 28		if (node.closingElement) {29			context.visit(node.closingElement);30		}31	},32 33	JSXOpeningElement(node, context) {34		context.write('<');35 36		context.visit(node.name);37 38		for (const attribute of node.attributes) {39			context.write(' ');40			context.visit(attribute);41		}42 43		if (node.selfClosing) {44			context.write(' /');45		}46 47		context.write('>');48	},49 50	JSXClosingElement(node, context) {51		context.write('</');52 53		context.visit(node.name);54 55		context.write('>');56	},57 58	JSXNamespacedName(node, context) {59		context.visit(node.namespace);60		context.write(':');61		context.visit(node.name);62	},63 64	JSXIdentifier(node, context) {65		context.write(node.name, node);66	},67 68	JSXMemberExpression(node, context) {69		context.visit(node.object);70		context.write('.');71		context.visit(node.property);72	},73 74	JSXText(node, context) {75		context.write(node.value, node);76	},77 78	JSXAttribute(node, context) {79		context.visit(node.name);80		if (node.value) {81			context.write('=');82			context.visit(node.value);83		}84	},85 86	JSXEmptyExpression(node, context) {},87 88	JSXFragment(node, context) {89		context.visit(node.openingFragment);90 91		if (node.children.length > 0) {92			context.indent();93		}94 95		for (const child of node.children) {96			context.visit(child);97		}98 99		if (node.children.length > 0) {100			context.dedent();101		}102 103		context.visit(node.closingFragment);104	},105 106	JSXOpeningFragment(node, context) {107		context.write('<>');108	},109 110	JSXClosingFragment(node, context) {111		context.write('</>');112	},113 114	JSXExpressionContainer(node, context) {115		context.write('{');116 117		context.visit(node.expression);118 119		context.write('}');120	},121 122	JSXSpreadChild(node, context) {123		context.write('{...');124 125		context.visit(node.expression);126 127		context.write('}');128	},129 130	JSXSpreadAttribute(node, context) {131		context.write('{...');132 133		context.visit(node.argument);134 135		context.write('}');136	}137});138 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai