Translation
PEFT
Safetensors
Transformers
Swahili (individual language)
Kalenjin
kalenjin
swahili
lora
nllb
qlora
Instructions to use mutaician/nllb-swahili-kalenjin-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mutaician/nllb-swahili-kalenjin-v3 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M") model = PeftModel.from_pretrained(base_model, "mutaician/nllb-swahili-kalenjin-v3") - Transformers
How to use mutaician/nllb-swahili-kalenjin-v3 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="mutaician/nllb-swahili-kalenjin-v3")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mutaician/nllb-swahili-kalenjin-v3", dtype="auto") - Notebooks
- Google Colab
- Kaggle
remove unnecessary files
#1
by mutaician - opened
- optimizer.pt +0 -3
- rng_state.pth +0 -3
- scaler.pt +0 -3
- scheduler.pt +0 -3
- trainer_state.json +0 -0
- training_args.bin +0 -3
optimizer.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:13610c3f87a9f11fc38a533e463a4b95abcd4f85d2462b4313358c638e54692a
|
| 3 |
-
size 277054475
|
|
|
|
|
|
|
|
|
|
|
|
rng_state.pth
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:be4fc4c4d8da4eb222cd4e186949a3e57e75062003db904f02d85f4cec38f64e
|
| 3 |
-
size 14645
|
|
|
|
|
|
|
|
|
|
|
|
scaler.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3c68afb8404e209881937a2fc1978cdd0907ed054943b76e44fa56196a944542
|
| 3 |
-
size 1383
|
|
|
|
|
|
|
|
|
|
|
|
scheduler.pt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:93983027c5c2a7f1140de1094c881b8bd99512709f7cd52701100017b774f47c
|
| 3 |
-
size 1465
|
|
|
|
|
|
|
|
|
|
|
|
trainer_state.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f19628ee92b5180a9cc31951c8fccf29ae0458a06ca5528130d87ee90b48ba20
|
| 3 |
-
size 5329
|
|
|
|
|
|
|
|
|
|
|
|