Instructions to use hf-internal-testing/tiny-random-MarianMTModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MarianMTModel with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MarianMTModel") model = AutoModelForSeq2SeqLM.from_pretrained("hf-internal-testing/tiny-random-MarianMTModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
0405f54 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:754b83074c516bde21a3154eb66a3d3632feb1523b628b63b027827dfb36e194
size 4083828
|