Instructions to use rizla/trrapi-16b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rizla/trrapi-16b with PEFT:
Task type is invalid.
- llama-cpp-python
How to use rizla/trrapi-16b with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="rizla/trrapi-16b", filename="trrapi-q5km.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use rizla/trrapi-16b with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf rizla/trrapi-16b # Run inference directly in the terminal: llama-cli -hf rizla/trrapi-16b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf rizla/trrapi-16b # Run inference directly in the terminal: llama-cli -hf rizla/trrapi-16b
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf rizla/trrapi-16b # Run inference directly in the terminal: ./llama-cli -hf rizla/trrapi-16b
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf rizla/trrapi-16b # Run inference directly in the terminal: ./build/bin/llama-cli -hf rizla/trrapi-16b
Use Docker
docker model run hf.co/rizla/trrapi-16b
- LM Studio
- Jan
- Ollama
How to use rizla/trrapi-16b with Ollama:
ollama run hf.co/rizla/trrapi-16b
- Unsloth Studio new
How to use rizla/trrapi-16b with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rizla/trrapi-16b to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for rizla/trrapi-16b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rizla/trrapi-16b to start chatting
- Docker Model Runner
How to use rizla/trrapi-16b with Docker Model Runner:
docker model run hf.co/rizla/trrapi-16b
- Lemonade
How to use rizla/trrapi-16b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull rizla/trrapi-16b
Run and chat with the model
lemonade run user.trrapi-16b-{{QUANT_TAG}}List all available models
lemonade list
Adding Evaluation Results
#1
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -3,12 +3,12 @@ license: cc-by-nc-nd-4.0
|
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
base_model: rizla/rizla-17
|
| 7 |
model-index:
|
| 8 |
- name: trrapi-16
|
| 9 |
results: []
|
| 10 |
-
datasets:
|
| 11 |
-
- noxneural/lilium_albanicum_eng_alb
|
| 12 |
---
|
| 13 |
|
| 14 |
|
|
@@ -28,3 +28,17 @@ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make -j
|
|
| 28 |
|
| 29 |
./server -m ../trrapi-q5km.gguf --port 8080 -c 2000 -cb -t 8 -ngl 80
|
| 30 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
library_name: peft
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
+
datasets:
|
| 7 |
+
- noxneural/lilium_albanicum_eng_alb
|
| 8 |
base_model: rizla/rizla-17
|
| 9 |
model-index:
|
| 10 |
- name: trrapi-16
|
| 11 |
results: []
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
|
|
|
|
| 28 |
|
| 29 |
./server -m ../trrapi-q5km.gguf --port 8080 -c 2000 -cb -t 8 -ngl 80
|
| 30 |
```
|
| 31 |
+
|
| 32 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 33 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_rizla__trrapi-16b)
|
| 34 |
+
|
| 35 |
+
| Metric |Value|
|
| 36 |
+
|---------------------------------|----:|
|
| 37 |
+
|Avg. |74.48|
|
| 38 |
+
|AI2 Reasoning Challenge (25-Shot)|72.10|
|
| 39 |
+
|HellaSwag (10-Shot) |88.88|
|
| 40 |
+
|MMLU (5-Shot) |64.26|
|
| 41 |
+
|TruthfulQA (0-shot) |74.13|
|
| 42 |
+
|Winogrande (5-shot) |86.35|
|
| 43 |
+
|GSM8k (5-shot) |61.18|
|
| 44 |
+
|