Instructions to use asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en 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="asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en") model = AutoModelForSeq2SeqLM.from_pretrained("asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 9000
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 305575877
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44e13d480a2af30fd84de104daddd9e057767f7e783e4e6cd5af2f33dc477dcd
|
| 3 |
size 305575877
|
runs/Aug15_16-43-29_2eb5be9c5020/events.out.tfevents.1692118041.2eb5be9c5020.208.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90ef4c0aae66fd3595d79b8dcf17060c7be7af3766b693251bb36d47d1083098
|
| 3 |
+
size 11126
|