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/**2 * @import {3 * InitialConstruct,4 * Initializer,5 * State,6 * TokenizeContext7 * } from 'micromark-util-types'8 */9 10import { blankLine, content } from 'micromark-core-commonmark';11import { factorySpace } from 'micromark-factory-space';12import { markdownLineEnding } from 'micromark-util-character';13/** @type {InitialConstruct} */14export const flow = {15 tokenize: initializeFlow16};17 18/**19 * @this {TokenizeContext}20 * Self.21 * @type {Initializer}22 * Initializer.23 */24function initializeFlow(effects) {25 const self = this;26 const initial = effects.attempt(27 // Try to parse a blank line.28 blankLine, atBlankEnding,29 // Try to parse initial flow (essentially, only code).30 effects.attempt(this.parser.constructs.flowInitial, afterConstruct, factorySpace(effects, effects.attempt(this.parser.constructs.flow, afterConstruct, effects.attempt(content, afterConstruct)), "linePrefix")));31 return initial;32 33 /** @type {State} */34 function atBlankEnding(code) {35 if (code === null) {36 effects.consume(code);37 return;38 }39 effects.enter("lineEndingBlank");40 effects.consume(code);41 effects.exit("lineEndingBlank");42 self.currentConstruct = undefined;43 return initial;44 }45 46 /** @type {State} */47 function afterConstruct(code) {48 if (code === null) {49 effects.consume(code);50 return;51 }52 effects.enter("lineEnding");53 effects.consume(code);54 effects.exit("lineEnding");55 self.currentConstruct = undefined;56 return initial;57 }58}