Update README.md
Browse files
README.md
CHANGED
@@ -7,21 +7,18 @@ tags:
|
|
7 |
- trl
|
8 |
- sft
|
9 |
licence: license
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
# Model Card for MyGemmaNPC
|
13 |
-
|
14 |
-
This model is a fine-tuned version of [google/gemma-3-270m-it](https://huggingface.co/google/gemma-3-270m-it).
|
15 |
-
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
-
|
17 |
## Quick start
|
18 |
|
19 |
```python
|
20 |
from transformers import pipeline
|
21 |
|
22 |
-
|
23 |
-
generator = pipeline("text-generation", model="murat/
|
24 |
-
output = generator([{"role": "user", "content":
|
25 |
print(output["generated_text"])
|
26 |
```
|
27 |
|
|
|
7 |
- trl
|
8 |
- sft
|
9 |
licence: license
|
10 |
+
language:
|
11 |
+
- ky
|
12 |
---
|
13 |
|
|
|
|
|
|
|
|
|
|
|
14 |
## Quick start
|
15 |
|
16 |
```python
|
17 |
from transformers import pipeline
|
18 |
|
19 |
+
incorrect_text = "омур бою иштеген адамдар чынында бактылуу деп ойлойсунбу?"
|
20 |
+
generator = pipeline("text-generation", model="murat/kyrgyz_umlaut_corrector", device="cuda")
|
21 |
+
output = generator([{"role": "user", "content": incorrect_text}], max_new_tokens=128, return_full_text=False)[0]
|
22 |
print(output["generated_text"])
|
23 |
```
|
24 |
|