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 callBound = require('call-bound');4var safeRegexTest = require('safe-regex-test');5var isFnRegex = safeRegexTest(/^\s*(?:function)?\*/);6var hasToStringTag = require('has-tostringtag/shams')();7var getProto = require('get-proto');8 9var toStr = callBound('Object.prototype.toString');10var fnToStr = callBound('Function.prototype.toString');11 12var getGeneratorFunction = require('generator-function');13 14/** @type {import('.')} */15module.exports = function isGeneratorFunction(fn) {16 if (typeof fn !== 'function') {17 return false;18 }19 if (isFnRegex(fnToStr(fn))) {20 return true;21 }22 if (!hasToStringTag) {23 var str = toStr(fn);24 return str === '[object GeneratorFunction]';25 }26 if (!getProto) {27 return false;28 }29 var GeneratorFunction = getGeneratorFunction();30 return GeneratorFunction && getProto(fn) === GeneratorFunction.prototype;31};32 