Artefact2 / llm-sampling

A very simple interactive demo to understand the common LLM samplers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llm-sampling

A very simple interactive demo to understand the common LLM samplers. Released under the Apache License, version 2.0.

See an online demo here.

Quickstart

git clone https://github.com/ggerganov/llama.cpp
make -C llama.cpp server

# json array of strings (prompts)
$EDITOR in.json

systemd-run --user ./llama.cpp/server --host 127.0.0.1 --port 24498 -c 8192 -np 16 -cb -m foo.gguf
make out.json

About

A very simple interactive demo to understand the common LLM samplers.

License:Apache License 2.0


Languages

Language:JavaScript 35.2%Language:HTML 29.2%Language:Julia 26.7%Language:PHP 8.1%Language:Makefile 0.8%