Team Ai
Datasetpublic

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.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
parse.js56 linesDownload Raw Back to lib
1/**2 * @import {3 *   Create,4 *   FullNormalizedExtension,5 *   InitialConstruct,6 *   ParseContext,7 *   ParseOptions8 * } from 'micromark-util-types'9 */10 11import { combineExtensions } from 'micromark-util-combine-extensions';12import { content } from './initialize/content.js';13import { document } from './initialize/document.js';14import { flow } from './initialize/flow.js';15import { string, text } from './initialize/text.js';16import * as defaultConstructs from './constructs.js';17import { createTokenizer } from './create-tokenizer.js';18 19/**20 * @param {ParseOptions | null | undefined} [options]21 *   Configuration (optional).22 * @returns {ParseContext}23 *   Parser.24 */25export function parse(options) {26  const settings = options || {};27  const constructs = /** @type {FullNormalizedExtension} */28  combineExtensions([defaultConstructs, ...(settings.extensions || [])]);29 30  /** @type {ParseContext} */31  const parser = {32    constructs,33    content: create(content),34    defined: [],35    document: create(document),36    flow: create(flow),37    lazy: {},38    string: create(string),39    text: create(text)40  };41  return parser;42 43  /**44   * @param {InitialConstruct} initial45   *   Construct to start with.46   * @returns {Create}47   *   Create a tokenizer.48   */49  function create(initial) {50    return creator;51    /** @type {Create} */52    function creator(from) {53      return createTokenizer(parser, initial, from);54    }55  }56}
Brunobkr/llama.cpp_AlgMor24_github · Team Ai