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 10000
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:4bf877015ad1ed26b6296873ac0e664dbc6df53747d1084d564091b476a29812
|
| 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:6590ec7d1eb07b8e68cd954bcb586ca7ced3dcadc0ee2a051b941098457ab751
|
| 3 |
+
size 11810
|