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
flow.js87 linesDownload Raw Back to initialize
1/**2 * @import {3 *   InitialConstruct,4 *   Initializer,5 *   State,6 *   TokenizeContext7 * } from 'micromark-util-types'8 */9 10import {ok as assert} from 'devlop'11import {blankLine, content} from 'micromark-core-commonmark'12import {factorySpace} from 'micromark-factory-space'13import {markdownLineEnding} from 'micromark-util-character'14import {codes, types} from 'micromark-util-symbol'15 16/** @type {InitialConstruct} */17export const flow = {tokenize: initializeFlow}18 19/**20 * @this {TokenizeContext}21 *   Self.22 * @type {Initializer}23 *   Initializer.24 */25function initializeFlow(effects) {26  const self = this27  const initial = effects.attempt(28    // Try to parse a blank line.29    blankLine,30    atBlankEnding,31    // Try to parse initial flow (essentially, only code).32    effects.attempt(33      this.parser.constructs.flowInitial,34      afterConstruct,35      factorySpace(36        effects,37        effects.attempt(38          this.parser.constructs.flow,39          afterConstruct,40          effects.attempt(content, afterConstruct)41        ),42        types.linePrefix43      )44    )45  )46 47  return initial48 49  /** @type {State} */50  function atBlankEnding(code) {51    assert(52      code === codes.eof || markdownLineEnding(code),53      'expected eol or eof'54    )55 56    if (code === codes.eof) {57      effects.consume(code)58      return59    }60 61    effects.enter(types.lineEndingBlank)62    effects.consume(code)63    effects.exit(types.lineEndingBlank)64    self.currentConstruct = undefined65    return initial66  }67 68  /** @type {State} */69  function afterConstruct(code) {70    assert(71      code === codes.eof || markdownLineEnding(code),72      'expected eol or eof'73    )74 75    if (code === codes.eof) {76      effects.consume(code)77      return78    }79 80    effects.enter(types.lineEnding)81    effects.consume(code)82    effects.exit(types.lineEnding)83    self.currentConstruct = undefined84    return initial85  }86}87 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai