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 3let list = {4 comma(string) {5 return list.split(string, [','], true)6 },7 8 space(string) {9 let spaces = [' ', '\n', '\t']10 return list.split(string, spaces)11 },12 13 split(string, separators, last) {14 if (!string) return []15 let array = []16 let current = ''17 let split = false18 19 let func = 020 let inQuote = false21 let prevQuote = ''22 let escape = false23 24 for (let letter of string) {25 if (escape) {26 escape = false27 } else if (letter === '\\') {28 escape = true29 } else if (inQuote) {30 if (letter === prevQuote) {31 inQuote = false32 }33 } else if (letter === '"' || letter === "'") {34 inQuote = true35 prevQuote = letter36 } else if (letter === '(') {37 func += 138 } else if (letter === ')') {39 if (func > 0) func -= 140 } else if (func === 0) {41 if (separators.includes(letter)) split = true42 }43 44 if (split) {45 if (current !== '') array.push(current.trim())46 current = ''47 split = false48 } else {49 current += letter50 }51 }52 53 if (last || current !== '') array.push(current.trim())54 return array55 }56}57 58module.exports = list59list.default = list60 