Run this model with HF Jobs
Run MelioAI/machine-translation 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/MelioAI/machine-translation. 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/MelioAI/machine-translation 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 MelioAI/machine-translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MelioAI/machine-translation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("MelioAI/machine-translation") model = AutoModelForSeq2SeqLM.from_pretrained("MelioAI/machine-translation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 6 files
Browse filesFiles changed (5)
53 unmodified lines5455565758596053 unmodified lines"prefix": "translate English to Romanian: "}},"transformers_version": "4.40.2","use_cache": true,"vocab_size": 32128}53 unmodified lines5455565758596053 unmodified lines"prefix": "translate English to Romanian: "}},"transformers_version": "4.38.2","use_cache": true,"vocab_size": 32128}
2 unmodified lines345672 unmodified lines"decoder_start_token_id": 0,"eos_token_id": 1,"pad_token_id": 0,"transformers_version": "4.40.2"}2 unmodified lines345672 unmodified lines"decoder_start_token_id": 0,"eos_token_id": 1,"pad_token_id": 0,"transformers_version": "4.38.2"}
123version https://git-lfs.github.com/spec/v1oid sha256:f29ccda675abd2224367b87f690ad564a15fd53fa7bc0db651e70a55ef2de18esize 373902664123version https://git-lfs.github.com/spec/v1oid sha256:be8918b3e4ed56b4c3f790fbf5abaf89421f2af3d20a0af109316ef0bfae7f15size 373902664
943 unmodified lines94494594694794894995095154 unmodified lines10061007100810091010101110121013943 unmodified lines{"type": "Metaspace","replacement": "▁","prepend_scheme": "always","split": true}]},54 unmodified lines"decoder": {"type": "Metaspace","replacement": "▁","prepend_scheme": "always","split": true},"model": {"type": "Unigram",943 unmodified lines94494594694794894995095154 unmodified lines10061007100810091010101110121013943 unmodified lines{"type": "Metaspace","replacement": "▁","add_prefix_space": true,"prepend_scheme": "always"}]},54 unmodified lines"decoder": {"type": "Metaspace","replacement": "▁","add_prefix_space": true,"prepend_scheme": "always"},"model": {"type": "Unigram",
929 unmodified lines930931932933934935936937929 unmodified lines"clean_up_tokenization_spaces": true,"eos_token": "</s>","extra_ids": 100,"model_max_length": 512,"pad_token": "<pad>","tokenizer_class": "T5Tokenizer","unk_token": "<unk>"}929 unmodified lines930931932933934935936937938939940941929 unmodified lines"clean_up_tokenization_spaces": true,"eos_token": "</s>","extra_ids": 100,"max_length": 128,"model_max_length": 512,"pad_token": "<pad>","stride": 0,"tokenizer_class": "T5Tokenizer","truncation_side": "right","truncation_strategy": "longest_first","unk_token": "<unk>"}
config.json+1-1
generation_config.json+1-1
tf_model.h5+1-1
tokenizer.json+4-4
tokenizer_config.json+4