petkopetkov
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -26,4 +26,36 @@ datasets:
|
|
26 |
- **License:** apache-2.0
|
27 |
- **Finetuned from model :** unsloth/gemma-2-2b-bnb-4bit
|
28 |
|
29 |
-
Gemma-2-2B finetuned on datasets translated to Bulgarian language
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
- **License:** apache-2.0
|
27 |
- **Finetuned from model :** unsloth/gemma-2-2b-bnb-4bit
|
28 |
|
29 |
+
Gemma-2-2B finetuned on datasets translated to Bulgarian language:
|
30 |
+
|
31 |
+
- **MMLU**: multiple-choice questions from various branches of knowledge
|
32 |
+
- **Winogrande challenge**: testing world knowledge and understanding
|
33 |
+
- **Hellaswag**: testing sentence completion
|
34 |
+
- **ARC Easy/Challenge**: testing logical reasoning
|
35 |
+
- **GSM-8k**: solving multiple-choice questions in high-school mathematics
|
36 |
+
- **MathQA**: math word problems
|
37 |
+
|
38 |
+
### Usage
|
39 |
+
|
40 |
+
First, install the Transformers library with:
|
41 |
+
```sh
|
42 |
+
pip install -U transformers
|
43 |
+
```
|
44 |
+
|
45 |
+
#### Run with the `pipeline` API
|
46 |
+
|
47 |
+
```python
|
48 |
+
import torch
|
49 |
+
from transformers import pipeline
|
50 |
+
|
51 |
+
pipe = pipeline(
|
52 |
+
"text-generation",
|
53 |
+
model="petkopetkov/gemma-2-2b-bg",
|
54 |
+
torch_dtype=torch.bfloat16,
|
55 |
+
device_map="auto"
|
56 |
+
)
|
57 |
+
|
58 |
+
prompt = "Колко е 2 + 2?"
|
59 |
+
|
60 |
+
print(pipe(prompt)[0]['generated_text'])
|
61 |
+
```
|