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 9500
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:543aa0ac3d48655a5209d1e96e6e0c69d63c44c1d2716c149e1b487d129f31a2
|
| 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:79557c20b7126906dd9f9a80944ea98744f402c43e50f98aca105f481b944d9d
|
| 3 |
+
size 11283
|