|
--- |
|
language: |
|
- ru |
|
base_model: t-tech/T-pro-it-1.0 |
|
tags: |
|
- llama-cpp |
|
--- |
|
|
|
# T-pro-it-1.0-Q5_K_M-GGUF |
|
|
|
**🚨 T-pro is designed for further fine-tuning and is not intended as a ready-to-use conversational assistant. Users are advised to exercise caution and are responsible for any additional training and oversight required to ensure the model's responses meet acceptable ethical and safety standards. The responsibility for incorporating this model into industrial or commercial solutions lies entirely with those who choose to deploy it.** |
|
|
|
## Description |
|
|
|
This repository contains the [`T-pro-it-1.0`](https://huggingface.co/t-tech/T-pro-it-1.0/) model, which has been quantized into the GGUF format using the [`llama.cpp`](https://github.com/ggerganov/llama.cpp) repository. |
|
|
|
## 📊 Benchmarks |
|
|
|
| Benchmark | T-pro-it-1.0 | T-pro-it-1.0-Q4_K_M |T-pro-it-1.0-Q5_K_M |T-pro-it-1.0-Q6_K |T-pro-it-1.0-Q8_0 | |
|
|------------------------------------------------|---------------------------|------------------------|-----------------------|------------------|------------------| |
|
| Arena-Hard-Ru | **90.17** | 89.0 |89.29 |88.5 |89.35 | |
|
|
|
## Llama.cpp usage |
|
|
|
### Server |
|
|
|
From HF: |
|
|
|
```bash |
|
llama-server --hf-repo t-tech/T-pro-it-1.0-Q5_K_M-GGUF --hf-file t-pro-it-1.0-q5_k_m.gguf -c 8192 |
|
``` |
|
|
|
Or locally: |
|
|
|
```bash |
|
./build/bin/llama-server -m t-pro-it-1.0-q5_k_m.gguf -c 8192 |
|
``` |
|
|
|
### POST |
|
|
|
```bash |
|
curl --request POST \ |
|
--url http://localhost:8080/completion \ |
|
--header "Content-Type: application/json" \ |
|
--data '{ |
|
"prompt": "<|im_start|>user\nРасскажи мне чем отличается Python от C++?\n<|im_end|>\n<|im_start|>assistant\n", |
|
"n_predict": 256 |
|
}' |
|
|
|
``` |
|
|
|
|
|
## ollama usage |
|
|
|
### Serve |
|
|
|
```bash |
|
ollama serve |
|
``` |
|
|
|
### Run |
|
|
|
From HF: |
|
|
|
```bash |
|
ollama run hf.co/t-tech/T-pro-it-1.0-Q5_K_M-GGUF/ |
|
``` |
|
|
|
Or locally: |
|
|
|
```bash |
|
ollama create example -f Modelfile |
|
ollama run example "Расскажи мне про отличия C++ и Python" |
|
``` |
|
|
|
where `Modelfile` is |
|
|
|
```bash |
|
FROM ./t-pro-it-1.0-q5_k_m.gguf |
|
``` |