facebook / wmt19-ru-en

huggingface.co
Total runs: 23.7K
24-hour runs: 0
7-day runs: 1.4K
30-day runs: 5.9K
Model's Last Updated: March 17 2023
translation

Introduction of wmt19-ru-en

Model Details of wmt19-ru-en

FSMT

Model description

This is a ported version of fairseq wmt19 transformer for ru-en.

For more details, please see, Facebook FAIR's WMT19 News Translation Task Submission .

The abbreviation FSMT stands for FairSeqMachineTranslation

All four models are available:

Intended uses & limitations
How to use
from transformers import FSMTForConditionalGeneration, FSMTTokenizer
mname = "facebook/wmt19-ru-en"
tokenizer = FSMTTokenizer.from_pretrained(mname)
model = FSMTForConditionalGeneration.from_pretrained(mname)

input = "Машинное обучение - это здорово, не так ли?"
input_ids = tokenizer.encode(input, return_tensors="pt")
outputs = model.generate(input_ids)
decoded = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(decoded) # Machine learning is great, isn't it?
Limitations and bias
  • The original (and this ported model) doesn't seem to handle well inputs with repeated sub-phrases, content gets truncated
Training data

Pretrained weights were left identical to the original model released by fairseq. For more details, please, see the paper .

Eval results
pair fairseq transformers
ru-en 41.3 39.20

The score is slightly below the score reported by fairseq , since `transformers`` currently doesn't support:

  • model ensemble, therefore the best performing checkpoint was ported ( model4.pt ).
  • re-ranking

The score was calculated using this code:

git clone https://github.com/huggingface/transformers
cd transformers
export PAIR=ru-en
export DATA_DIR=data/$PAIR
export SAVE_DIR=data/$PAIR
export BS=8
export NUM_BEAMS=15
mkdir -p $DATA_DIR
sacrebleu -t wmt19 -l $PAIR --echo src > $DATA_DIR/val.source
sacrebleu -t wmt19 -l $PAIR --echo ref > $DATA_DIR/val.target
echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py facebook/wmt19-$PAIR $DATA_DIR/val.source $SAVE_DIR/test_translations.txt --reference_path $DATA_DIR/val.target --score_path $SAVE_DIR/test_bleu.json --bs $BS --task translation --num_beams $NUM_BEAMS

note: fairseq reports using a beam of 50, so you should get a slightly higher score if re-run with --num_beams 50 .

Data Sources
BibTeX entry and citation info
@inproceedings{...,
  year={2020},
  title={Facebook FAIR's WMT19 News Translation Task Submission},
  author={Ng, Nathan and Yee, Kyra and Baevski, Alexei and Ott, Myle and Auli, Michael and Edunov, Sergey},
  booktitle={Proc. of WMT},
}
TODO
  • port model ensemble (fairseq uses 4 model checkpoints)

Runs of facebook wmt19-ru-en on huggingface.co

23.7K
Total runs
0
24-hour runs
-50
3-day runs
1.4K
7-day runs
5.9K
30-day runs

More Information About wmt19-ru-en huggingface.co Model

More wmt19-ru-en license Visit here:

https://choosealicense.com/licenses/apache-2.0

wmt19-ru-en huggingface.co

wmt19-ru-en huggingface.co is an AI model on huggingface.co that provides wmt19-ru-en's model effect (), which can be used instantly with this facebook wmt19-ru-en model. huggingface.co supports a free trial of the wmt19-ru-en model, and also provides paid use of the wmt19-ru-en. Support call wmt19-ru-en model through api, including Node.js, Python, http.

wmt19-ru-en huggingface.co Url

https://huggingface.co/facebook/wmt19-ru-en

facebook wmt19-ru-en online free

wmt19-ru-en huggingface.co is an online trial and call api platform, which integrates wmt19-ru-en's modeling effects, including api services, and provides a free online trial of wmt19-ru-en, you can try wmt19-ru-en online for free by clicking the link below.

facebook wmt19-ru-en online free url in huggingface.co:

https://huggingface.co/facebook/wmt19-ru-en

wmt19-ru-en install

wmt19-ru-en is an open source model from GitHub that offers a free installation service, and any user can find wmt19-ru-en on GitHub to install. At the same time, huggingface.co provides the effect of wmt19-ru-en install, users can directly use wmt19-ru-en installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

wmt19-ru-en install url in huggingface.co:

https://huggingface.co/facebook/wmt19-ru-en

Url of wmt19-ru-en

wmt19-ru-en huggingface.co Url

Provider of wmt19-ru-en huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 18.8M
Run Growth: 18.7M
Growth Rate: 99.47%
Updated: September 15 2023
huggingface.co

Total runs: 7.5M
Run Growth: 4.0M
Growth Rate: 53.72%
Updated: January 17 2024
huggingface.co

Total runs: 6.3M
Run Growth: -417.7K
Growth Rate: -6.63%
Updated: September 15 2023
huggingface.co

Total runs: 3.2M
Run Growth: -134.3K
Growth Rate: -4.25%
Updated: November 17 2022
huggingface.co

Total runs: 1.3M
Run Growth: 54.6K
Growth Rate: 4.19%
Updated: February 29 2024
huggingface.co

Total runs: 1.2M
Run Growth: 695.6K
Growth Rate: 56.51%
Updated: December 28 2021
huggingface.co

Total runs: 875.5K
Run Growth: 26.2K
Growth Rate: 2.99%
Updated: September 06 2023
huggingface.co

Total runs: 883.8K
Run Growth: 229.7K
Growth Rate: 26.56%
Updated: January 12 2024
huggingface.co

Total runs: 746.3K
Run Growth: 386.2K
Growth Rate: 51.75%
Updated: September 06 2023
huggingface.co

Total runs: 740.0K
Run Growth: -67.8K
Growth Rate: -9.16%
Updated: January 20 2022
huggingface.co

Total runs: 699.2K
Run Growth: -2.2M
Growth Rate: -319.13%
Updated: March 23 2023
huggingface.co

Total runs: 644.6K
Run Growth: -404.6K
Growth Rate: -62.77%
Updated: July 25 2023
huggingface.co

Total runs: 283.7K
Run Growth: -52.8K
Growth Rate: -19.11%
Updated: January 12 2024
huggingface.co

Total runs: 256.5K
Run Growth: -29.5K
Growth Rate: -11.50%
Updated: May 22 2023
huggingface.co

Total runs: 236.0K
Run Growth: 124.5K
Growth Rate: 52.76%
Updated: January 25 2024
huggingface.co

Total runs: 232.7K
Run Growth: 16.7K
Growth Rate: 7.20%
Updated: September 15 2023
huggingface.co

Total runs: 232.5K
Run Growth: -273.7K
Growth Rate: -117.86%
Updated: January 12 2024
huggingface.co

Total runs: 205.1K
Run Growth: 51.2K
Growth Rate: 24.96%
Updated: September 05 2023
huggingface.co

Total runs: 189.5K
Run Growth: 93.5K
Growth Rate: 49.35%
Updated: November 20 2023
huggingface.co

Total runs: 169.1K
Run Growth: 25.0K
Growth Rate: 14.75%
Updated: January 25 2023
huggingface.co

Total runs: 159.5K
Run Growth: 51.2K
Growth Rate: 32.10%
Updated: June 03 2022
huggingface.co

Total runs: 121.5K
Run Growth: -821.2K
Growth Rate: -675.86%
Updated: June 15 2023
huggingface.co

Total runs: 116.2K
Run Growth: 80.9K
Growth Rate: 69.84%
Updated: March 13 2024
huggingface.co

Total runs: 111.0K
Run Growth: 57.8K
Growth Rate: 52.05%
Updated: May 22 2023
huggingface.co

Total runs: 99.8K
Run Growth: -2.9K
Growth Rate: -2.90%
Updated: November 16 2023
huggingface.co

Total runs: 84.9K
Run Growth: -70.3K
Growth Rate: -82.82%
Updated: September 06 2023
huggingface.co

Total runs: 73.6K
Run Growth: -115.3K
Growth Rate: -146.86%
Updated: June 14 2023
huggingface.co

Total runs: 36.5K
Run Growth: 6.7K
Growth Rate: 18.22%
Updated: September 15 2023
huggingface.co

Total runs: 29.3K
Run Growth: 24.2K
Growth Rate: 82.34%
Updated: February 29 2024
huggingface.co

Total runs: 29.4K
Run Growth: 8.8K
Growth Rate: 30.02%
Updated: January 25 2023
huggingface.co

Total runs: 28.0K
Run Growth: 4.8K
Growth Rate: 17.05%
Updated: February 12 2023
huggingface.co

Total runs: 26.8K
Run Growth: -225.6K
Growth Rate: -840.82%
Updated: June 05 2023
huggingface.co

Total runs: 26.6K
Run Growth: -1.2K
Growth Rate: -4.57%
Updated: November 20 2023
huggingface.co

Total runs: 26.4K
Run Growth: 1.5K
Growth Rate: 5.58%
Updated: November 14 2023
huggingface.co

Total runs: 24.6K
Run Growth: -825
Growth Rate: -3.36%
Updated: September 15 2023
huggingface.co

Total runs: 24.1K
Run Growth: 23.3K
Growth Rate: 96.79%
Updated: June 13 2023