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 { truncate } from './helpers.js';2const stringEscapeChars = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5" +3 '\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]', 'g');4const escapeCharacters = {5 '\b': '\\b',6 '\t': '\\t',7 '\n': '\\n',8 '\f': '\\f',9 '\r': '\\r',10 "'": "\\'",11 '\\': '\\\\',12};13const hex = 16;14const unicodeLength = 4;15function escape(char) {16 return (escapeCharacters[char] ||17 `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`);18}19export default function inspectString(string, options) {20 if (stringEscapeChars.test(string)) {21 string = string.replace(stringEscapeChars, escape);22 }23 return options.stylize(`'${truncate(string, options.truncate - 2)}'`, 'string');24}25 