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
1import { simpleBox } from "svelte-toolbelt";2export class StateMachine {3 state;4 #machine;5 constructor(initialState, machine) {6 this.state = simpleBox(initialState);7 this.#machine = machine;8 this.dispatch = this.dispatch.bind(this);9 }10 #reducer(event) {11 // @ts-expect-error state.current is keyof M12 const nextState = this.#machine[this.state.current][event];13 return nextState ?? this.state.current;14 }15 dispatch(event) {16 this.state.current = this.#reducer(event);17 }18}19 