Add model card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- sd
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- llama
|
| 8 |
+
- sindhi
|
| 9 |
+
- multilingual
|
| 10 |
+
base_model: meta-llama/Llama-3.1-8B
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Llama 3.1 8B Sindhi
|
| 14 |
+
|
| 15 |
+
This is a fine-tuned version of Llama 3.1 8B for Sindhi language tasks.
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
- **Base Model**: Meta Llama 3.1 8B
|
| 19 |
+
- **Language**: Sindhi (sd), English (en)
|
| 20 |
+
- **License**: Apache 2.0
|
| 21 |
+
|
| 22 |
+
## Usage
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 26 |
+
|
| 27 |
+
tokenizer = AutoTokenizer.from_pretrained("engineerWajid/llama3.18b_sindhi")
|
| 28 |
+
model = AutoModelForCausalLM.from_pretrained("engineerWajid/llama3.18b_sindhi")
|
| 29 |
+
|
| 30 |
+
# Example usage
|
| 31 |
+
text = "Your Sindhi text here"
|
| 32 |
+
inputs = tokenizer(text, return_tensors="pt")
|
| 33 |
+
outputs = model.generate(**inputs, max_length=100)
|
| 34 |
+
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 35 |
+
print(response)
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## Training
|
| 39 |
+
This model was trained using Kaggle infrastructure.
|
| 40 |
+
|
| 41 |
+
## Limitations
|
| 42 |
+
Please refer to the base model's limitations and add any specific limitations for this fine-tuned version.
|