Instructions to use stas/tiny-wmt19-en-ru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stas/tiny-wmt19-en-ru with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("stas/tiny-wmt19-en-ru") model = AutoModelForSeq2SeqLM.from_pretrained("stas/tiny-wmt19-en-ru", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
cad4194 -
Update README.md
4568019 -
Update README.md
2b984a3 -
Update README.md
d133c91 -
Readme
3797450 -
Create README.md
--- language: - en - ru thumbnail: tags: - wmt19 - testing license: apache-2.0 datasets: - wmt19 metrics: - bleu --- # Tiny FSMT en-ru This is a tiny model that is used in the `transformers` test suite. It doesn't do anything useful, other than testing that `modeling_fsmt.py` is functional. Do not try to use it for anything that requires quality. The model is indeed 30KB in size. You can see how it was created [here](https://huggingface.co/stas/tiny-wmt19-en-ru/blob/main/fsmt-make-super-tiny-model.py)2d8a1df -
add the script
2d61f25
-
Update merges.txt
9ea5e73 -
Update pytorch_model.bin
fb14e6f -
Update config.json
ca2a4fb -
Update vocab-src.json
4c8c859 -
Update vocab-tgt.json
2bd8b91 -
Update special_tokens_map.json
40af9e1 -
Update tokenizer_config.json
b35e7f9 -
Update merges.txt
d9a9623 -
Update config.json
a7b0485 -
Update vocab-src.json
bc87b62 -
Update vocab-tgt.json
0bbbaed -
Update special_tokens_map.json
7158d05 -
Update tokenizer_config.json
8e14c34 -
initial commit
f823836