issai/kazparc
Viewer • Updated • 15.1M • 169 • 13
How to use PolynomeAI/Llama-3.1-8B-kkru with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "translation" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline
pipe = pipeline("translation", model="PolynomeAI/Llama-3.1-8B-kkru") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("PolynomeAI/Llama-3.1-8B-kkru", dtype="auto")This model is a fine-tuned version of Meta's Llama-3.1-8B, optimized for bidirectional translation between Russian and Kazakh languages. The model demonstrates strong performance in both translation directions, particularly excelling in Russian to Kazakh translation where it outperforms several baseline models.
| Source | Samples | Percentage |
|---|---|---|
| nu | 848,509 | 55.38% |
| kazparc (kk-ru) | 290,785 | 18.98% |
| kazparc (kk-en) | 290,875 | 18.99% |
| kaznu | 78,920 | 5.15% |
| News-Commentary | 9,075 | 0.59% |
| TED2020 | 6,887 | 0.45% |
| QED | 4,664 | 0.30% |
| Tatoeba | 2,301 | 0.15% |
| Total | 1,532,016 | 100% |
| Model | Type | BLEU | COMET |
|---|---|---|---|
| PolynomeAI | Open-source | 13.31 | 0.85 |
| issai/LLama-3.1-KazLLM-1.0-8B | Open-source | 4.51 | 0.75 |
| meta/LLama-3.1-1.0-8B | Open-source | 4.66 | 0.65 |
Comparison with Yandex:
| Model | Type | BLEU | COMET |
|---|---|---|---|
| PolynomeAI | Open-source | 28.72 | 0.91 |
| issai/LLama-3.1-KazLLM-1.0-8B | Open-source | 28.06 | 0.91 |
| meta/LLama-3.1-1.0-8B | Open-source | 16.64 | 0.87 |
We are not including deepvk_kazRush-ru-kk in this evaluation because it was specifically trained for Ru-Kk direction.
Comparison with Yandex:
To Do
Base model
meta-llama/Llama-3.1-8B