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 3var stringify = require('unist-util-stringify-position')4 5module.exports = VMessage6 7// Inherit from `Error#`.8function VMessagePrototype() {}9VMessagePrototype.prototype = Error.prototype10VMessage.prototype = new VMessagePrototype()11 12// Message properties.13var proto = VMessage.prototype14 15proto.file = ''16proto.name = ''17proto.reason = ''18proto.message = ''19proto.stack = ''20proto.fatal = null21proto.column = null22proto.line = null23 24// Construct a new VMessage.25//26// Note: We cannot invoke `Error` on the created context, as that adds readonly27// `line` and `column` attributes on Safari 9, thus throwing and failing the28// data.29function VMessage(reason, position, origin) {30 var parts31 var range32 var location33 34 if (typeof position === 'string') {35 origin = position36 position = null37 }38 39 parts = parseOrigin(origin)40 range = stringify(position) || '1:1'41 42 location = {43 start: {line: null, column: null},44 end: {line: null, column: null}45 }46 47 // Node.48 if (position && position.position) {49 position = position.position50 }51 52 if (position) {53 // Position.54 if (position.start) {55 location = position56 position = position.start57 } else {58 // Point.59 location.start = position60 }61 }62 63 if (reason.stack) {64 this.stack = reason.stack65 reason = reason.message66 }67 68 this.message = reason69 this.name = range70 this.reason = reason71 this.line = position ? position.line : null72 this.column = position ? position.column : null73 this.location = location74 this.source = parts[0]75 this.ruleId = parts[1]76}77 78function parseOrigin(origin) {79 var result = [null, null]80 var index81 82 if (typeof origin === 'string') {83 index = origin.indexOf(':')84 85 if (index === -1) {86 result[1] = origin87 } else {88 result[0] = origin.slice(0, index)89 result[1] = origin.slice(index + 1)90 }91 }92 93 return result94}95 