Run this model with HF Jobs
Run Nextcloud-AI/opus-mt-fi-nl on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Nextcloud-AI/opus-mt-fi-nl. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Nextcloud-AI/opus-mt-fi-nl on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Nextcloud-AI/opus-mt-fi-nl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nextcloud-AI/opus-mt-fi-nl 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="Nextcloud-AI/opus-mt-fi-nl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nextcloud-AI/opus-mt-fi-nl") model = AutoModelForSeq2SeqLM.from_pretrained("Nextcloud-AI/opus-mt-fi-nl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files7 unmodified lines891011121320 unmodified lines3435363738397 unmodified lines"MarianMTModel"],"attention_dropout": 0.0,"bos_token_id": 0,"classif_dropout": 0.0,"d_model": 512,20 unmodified lines"LABEL_1": 1,"LABEL_2": 2},"max_position_embeddings": 512,"model_type": "marian","normalize_before": false,7 unmodified lines8910111213141516171820 unmodified lines394041424344457 unmodified lines"MarianMTModel"],"attention_dropout": 0.0,"bad_words_ids": [[59835]],"bos_token_id": 0,"classif_dropout": 0.0,"d_model": 512,20 unmodified lines"LABEL_1": 1,"LABEL_2": 2},"max_length": 512,"max_position_embeddings": 512,"model_type": "marian","normalize_before": false,
config.json+6