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
1'use strict';2 3const box = require('./shared/consola.DwRq1yyg.cjs');4require('node:tty');5 6function formatTree(items, options) {7 options = {8 prefix: " ",9 ellipsis: "...",10 ...options11 };12 const tree = _buildTree(items, options).join("");13 if (options && options.color) {14 return box.colorize(options.color, tree);15 }16 return tree;17}18function _buildTree(items, options) {19 const chunks = [];20 const total = items.length - 1;21 for (let i = 0; i <= total; i++) {22 const item = items[i];23 const isItemString = typeof item === "string";24 const isLimit = options?.maxDepth != null && options.maxDepth <= 0;25 if (isLimit) {26 const ellipsis = `${options.prefix}${options.ellipsis}27`;28 return [29 isItemString ? ellipsis : item.color ? box.colorize(item.color, ellipsis) : ellipsis30 // prettier-ignore31 ];32 }33 const isLast = i === total;34 const prefix = isLast ? `${options?.prefix}\u2514\u2500` : `${options?.prefix}\u251C\u2500`;35 if (isItemString) {36 chunks.push(`${prefix}${item}37`);38 } else {39 const log = `${prefix}${item.text}40`;41 chunks.push(item.color ? box.colorize(item.color, log) : log);42 if (item.children) {43 const _tree = _buildTree(item.children, {44 ...options,45 maxDepth: options?.maxDepth == null ? void 0 : options.maxDepth - 1,46 prefix: `${options?.prefix}${isLast ? " " : "\u2502 "}`47 });48 chunks.push(..._tree);49 }50 }51 }52 return chunks;53}54 55exports.align = box.align;56exports.box = box.box;57exports.centerAlign = box.centerAlign;58exports.colorize = box.colorize;59exports.colors = box.colors;60exports.getColor = box.getColor;61exports.leftAlign = box.leftAlign;62exports.rightAlign = box.rightAlign;63exports.stripAnsi = box.stripAnsi;64exports.formatTree = formatTree;65 