Instructions to use datacrunch/tolkio-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use datacrunch/tolkio-models with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf datacrunch/tolkio-models # Run inference directly in the terminal: llama cli -hf datacrunch/tolkio-models
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf datacrunch/tolkio-models # Run inference directly in the terminal: llama cli -hf datacrunch/tolkio-models
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf datacrunch/tolkio-models # Run inference directly in the terminal: ./build/bin/llama cli -hf datacrunch/tolkio-models
Use Docker
docker model run hf.co/datacrunch/tolkio-models
- Llama new
- LM Studio
- Jan
- Ollama
How to use datacrunch/tolkio-models with Ollama:
ollama run hf.co/datacrunch/tolkio-models
- Unsloth Desktop
- Pi
How to use datacrunch/tolkio-models with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf datacrunch/tolkio-models
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "datacrunch/tolkio-models" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use datacrunch/tolkio-models with Docker Model Runner:
docker model run hf.co/datacrunch/tolkio-models
- Lemonade
How to use datacrunch/tolkio-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull datacrunch/tolkio-models
Run and chat with the model
lemonade run user.tolkio-models-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use datacrunch/tolkio-models with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf datacrunch/tolkio-models
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default datacrunch/tolkio-models
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use datacrunch/tolkio-models with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf datacrunch/tolkio-models
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "datacrunch/tolkio-models" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Tolkio models
Browse files- README.md +3 -2
- asr3/decoder.onnx +3 -0
- asr3/encoder.onnx +3 -0
- asr3/joiner.onnx +3 -0
- asr3/tokens.txt +0 -0
- models.json +20 -11
README.md
CHANGED
|
@@ -9,8 +9,9 @@ The models the Tolkio app (an offline speech translator for Android) downloads.
|
|
| 9 |
|
| 10 |
| Folder | Model | License |
|
| 11 |
|---|---|---|
|
| 12 |
-
|
|
| 13 |
-
|
|
|
|
|
| 14 |
| vad/ | Silero VAD | MIT |
|
| 15 |
| mt/, mt13/ | Index-Translate 2B (bilibili Index team), GGUF 4-bit / 8-bit | Apache 2.0 |
|
| 16 |
| tts/ | Supertonic 3 (Supertone); vocoder.onnx with 16-bit weights (cast back to 32-bit when loaded) | OpenRAIL-M (use restrictions in its license) |
|
|
|
|
| 9 |
|
| 10 |
| Folder | Model | License |
|
| 11 |
|---|---|---|
|
| 12 |
+
| asr3/ | NVIDIA Parakeet TDT 0.6B v3 (nvidia/parakeet-tdt-0.6b-v3); changed: trained further by Hohasha Studios to hear people in noisy places and from further away (its own transcripts of clean speech as targets; FLEURS, VoxPopuli, Common Voice and Granary YouTube speech with noise and room sound added), then on punctuation where speech pauses, on the app's name "Tolkio" (spoken by Supertonic 3 voices) and on writing nothing for far background talk, matrix layers quantized to 4 bits (ONNX Runtime MatMulNBits), exported to ONNX | CC BY 4.0 |
|
| 13 |
+
| asr2/ | The same before the punctuation and name training (app versions 1.7.0 to 1.7.6) | CC BY 4.0 |
|
| 14 |
+
| asr/ | Parakeet Redux (Moondream, from NVIDIA Parakeet TDT), converted to ONNX, 2-bit packed (app versions before 1.7.0) | CC BY 4.0 |
|
| 15 |
| vad/ | Silero VAD | MIT |
|
| 16 |
| mt/, mt13/ | Index-Translate 2B (bilibili Index team), GGUF 4-bit / 8-bit | Apache 2.0 |
|
| 17 |
| tts/ | Supertonic 3 (Supertone); vocoder.onnx with 16-bit weights (cast back to 32-bit when loaded) | OpenRAIL-M (use restrictions in its license) |
|
asr3/decoder.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8bdd376e20794413df08633e0bf08194a6b3374b1d40876a574bb442b9c849a
|
| 3 |
+
size 12257616
|
asr3/encoder.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:002ee7d7b48496abaf0a49468da8bf339cd19a708f319c40553ba9d948495aa5
|
| 3 |
+
size 397791687
|
asr3/joiner.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:744ff6f9addb027cefb067fb2db12ebccb3a2403a3cb72274d200c371d90728f
|
| 3 |
+
size 5940845
|
asr3/tokens.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models.json
CHANGED
|
@@ -10,22 +10,22 @@
|
|
| 10 |
"default": true,
|
| 11 |
"files": [
|
| 12 |
{
|
| 13 |
-
"path": "
|
| 14 |
-
"size":
|
| 15 |
-
"sha256": "
|
| 16 |
},
|
| 17 |
{
|
| 18 |
-
"path": "
|
| 19 |
"size": 12257616,
|
| 20 |
-
"sha256": "
|
| 21 |
},
|
| 22 |
{
|
| 23 |
-
"path": "
|
| 24 |
"size": 5940845,
|
| 25 |
-
"sha256": "
|
| 26 |
},
|
| 27 |
{
|
| 28 |
-
"path": "
|
| 29 |
"size": 93939,
|
| 30 |
"sha256": "d58544679ea4bc6ac563d1f545eb7d474bd6cfa467f0a6e2c1dc1c7d37e3c35d"
|
| 31 |
},
|
|
@@ -78,7 +78,16 @@
|
|
| 78 |
"path": "tts/voice.bin",
|
| 79 |
"size": 517168,
|
| 80 |
"sha256": "67d5209b0ee8ce6c74105ffbe12fe6a7628aea3b4ba2fcb308a4a67938a93ce8"
|
| 81 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
{
|
| 83 |
"path": "tts/vector_estimator.int8.onnx",
|
| 84 |
"size": 78400833,
|
|
@@ -94,7 +103,7 @@
|
|
| 94 |
{
|
| 95 |
"id": "mt13",
|
| 96 |
"name": "Best-quality translator",
|
| 97 |
-
"about": "8-bit translation model: slightly better wording, a little slower
|
| 98 |
"required": false,
|
| 99 |
"default": false,
|
| 100 |
"files": [
|
|
@@ -271,7 +280,7 @@
|
|
| 271 |
{
|
| 272 |
"id": "africa2b",
|
| 273 |
"name": "Best African translator",
|
| 274 |
-
"about": "Bigger African translation model: better wording
|
| 275 |
"required": false,
|
| 276 |
"default": false,
|
| 277 |
"files": [
|
|
|
|
| 10 |
"default": true,
|
| 11 |
"files": [
|
| 12 |
{
|
| 13 |
+
"path": "asr3/encoder.onnx",
|
| 14 |
+
"size": 397791687,
|
| 15 |
+
"sha256": "002ee7d7b48496abaf0a49468da8bf339cd19a708f319c40553ba9d948495aa5"
|
| 16 |
},
|
| 17 |
{
|
| 18 |
+
"path": "asr3/decoder.onnx",
|
| 19 |
"size": 12257616,
|
| 20 |
+
"sha256": "b8bdd376e20794413df08633e0bf08194a6b3374b1d40876a574bb442b9c849a"
|
| 21 |
},
|
| 22 |
{
|
| 23 |
+
"path": "asr3/joiner.onnx",
|
| 24 |
"size": 5940845,
|
| 25 |
+
"sha256": "744ff6f9addb027cefb067fb2db12ebccb3a2403a3cb72274d200c371d90728f"
|
| 26 |
},
|
| 27 |
{
|
| 28 |
+
"path": "asr3/tokens.txt",
|
| 29 |
"size": 93939,
|
| 30 |
"sha256": "d58544679ea4bc6ac563d1f545eb7d474bd6cfa467f0a6e2c1dc1c7d37e3c35d"
|
| 31 |
},
|
|
|
|
| 78 |
"path": "tts/voice.bin",
|
| 79 |
"size": 517168,
|
| 80 |
"sha256": "67d5209b0ee8ce6c74105ffbe12fe6a7628aea3b4ba2fcb308a4a67938a93ce8"
|
| 81 |
+
}
|
| 82 |
+
]
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"id": "voice_lite",
|
| 86 |
+
"name": "Compressed voice",
|
| 87 |
+
"about": "A smaller, quicker voice for phones with less memory; slightly less clean",
|
| 88 |
+
"required": false,
|
| 89 |
+
"default": false,
|
| 90 |
+
"files": [
|
| 91 |
{
|
| 92 |
"path": "tts/vector_estimator.int8.onnx",
|
| 93 |
"size": 78400833,
|
|
|
|
| 103 |
{
|
| 104 |
"id": "mt13",
|
| 105 |
"name": "Best-quality translator",
|
| 106 |
+
"about": "8-bit translation model: slightly better wording, a little slower",
|
| 107 |
"required": false,
|
| 108 |
"default": false,
|
| 109 |
"files": [
|
|
|
|
| 280 |
{
|
| 281 |
"id": "africa2b",
|
| 282 |
"name": "Best African translator",
|
| 283 |
+
"about": "Bigger African translation model: better wording",
|
| 284 |
"required": false,
|
| 285 |
"default": false,
|
| 286 |
"files": [
|