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
1var fs = require("fs"),2 decode = require("./decode");3 4module.exports = function(path, options, callback) {5 if (arguments.length < 3) callback = options, options = null;6 7 switch (path) {8 case "/dev/stdin": return readStream(process.stdin, options, callback);9 }10 11 fs.stat(path, function(error, stat) {12 if (error) return callback(error);13 if (stat.isFile()) return fs.readFile(path, options, callback);14 readStream(fs.createReadStream(path, options ? {flags: options.flag || "r"} : {}), options, callback); // N.B. flag / flags15 });16};17 18function readStream(stream, options, callback) {19 var decoder = decode(options);20 stream.on("error", callback);21 stream.on("data", function(d) { decoder.push(d); });22 stream.on("end", function() { callback(null, decoder.value()); });23}24 