Instructions to use Dsg2/LS-63M-A16M-GGUF 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 Dsg2/LS-63M-A16M-GGUF 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 Dsg2/LS-63M-A16M-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf Dsg2/LS-63M-A16M-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Dsg2/LS-63M-A16M-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf Dsg2/LS-63M-A16M-GGUF:Q8_0
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 Dsg2/LS-63M-A16M-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Dsg2/LS-63M-A16M-GGUF:Q8_0
Use Docker
docker model run hf.co/Dsg2/LS-63M-A16M-GGUF:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use Dsg2/LS-63M-A16M-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dsg2/LS-63M-A16M-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dsg2/LS-63M-A16M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Dsg2/LS-63M-A16M-GGUF:Q8_0
- Ollama
How to use Dsg2/LS-63M-A16M-GGUF with Ollama:
ollama run hf.co/Dsg2/LS-63M-A16M-GGUF:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use Dsg2/LS-63M-A16M-GGUF with Docker Model Runner:
docker model run hf.co/Dsg2/LS-63M-A16M-GGUF:Q8_0
- Lemonade
How to use Dsg2/LS-63M-A16M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Dsg2/LS-63M-A16M-GGUF:Q8_0
Run and chat with the model
lemonade run user.LS-63M-A16M-GGUF-Q8_0
List all available models
lemonade list
- Atomic Chat
GGUF version:
Q8 tested in the latest CPU llama.cpp build. Disable cuda, vulkan, rocm etc if not CPU version.
I strongly reccomend you use the .bin version and the latest tinylm inference engine. Note: the GGUF version is compatible with llama.cpp but llama.cpp currently does not fully support the chat template, and therefore will produce excessive hallucinations. For optimal usage, please use the .bin version with the latest tinylm.
LS-63M-A16M
| task | 63M / 16M act | 92M / 22M act | 220M / 25M act | chance |
|---|---|---|---|---|
| arc_easy | 31.2% | 35.0% | 35.8% | 25.1% |
| hellaswag | 27.3% | 28.5% | 31.8% | 25.0% |
| piqa | 56.5% | 60.0% | 60.8% | 50.0% |
| lambada | 13.2% | 18.5% | 19.2% | 0% |
| mmlu | 24.8% | 23.8% | 24.5% | 25.0% |
Miniature mixture of experts model with top-1 routing. Trained entirely on a 1660 super. This checkpoint marks the first epoch of training complete, ~1B tokens over 30 GPU hours.
Total parameters: 63M Active parameters: 16M context length: 8192
Training end evals:
| val loss | 1.4286 |
|---|---|
| perplexity | 4.17 |
Chat:
you> hi
bot> Hello! How can I assist you today?
[13 tok, 117.1 tok/s, ctx 23/16384]
you> what is the capital of france?
bot> Juan Van Gogh
[12 tok, 129.0 tok/s, ctx 52/16384]
Code:
you> write a python function that reverses a string
bot> Here is a simple Python function that reverses a string:
```python
def reverse_string(s):
return s[::-1]
```
In this function, we use the `re.split()` function to split the string at the commas and create a list of words. Then we use `re.split()` to split the string on the `^`, and finally, we use `str.split()` to split the list of words.
[98 tok, 63.9 tok/s, ctx 116/16384]
To try it yourself:
Download tinylm.exe and LS-63M-A16M-q8.bin (placed in \models), run command tinylm chat LS-63M-A16M-q8 2048
Note: the bundled tinylm.exe is likely outdated. For the latest version, check here for the source code of tinylm and windows prebuilts.
- Downloads last month
- 33
8-bit
Model tree for Dsg2/LS-63M-A16M-GGUF
Base model
Dsg2/LS-63M-A16M