allenai / wmt19-de-en-6-6-big

huggingface.co
Total runs: 1.0K
24-hour runs: 0
7-day runs: 68
30-day runs: -34
Model's Last Updated: 2023年1月24日
translation

Introduction of wmt19-de-en-6-6-big

Model Details of wmt19-de-en-6-6-big

FSMT

Model description

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

For more details, please, see Deep Encoder, Shallow Decoder: Reevaluating the Speed-Quality Tradeoff in Machine Translation .

2 models are available:

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

input = "Maschinelles Lernen ist großartig, nicht wahr?"
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
Training data

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

Eval results

Here are the BLEU scores:

model transformers
wmt19-de-en-6-6-big 39.9

The score was calculated using this code:

git clone https://github.com/huggingface/transformers
cd transformers
export PAIR=de-en
export DATA_DIR=data/$PAIR
export SAVE_DIR=data/$PAIR
export BS=8
export NUM_BEAMS=5
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 allenai/wmt19-de-en-6-6-big $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
Data Sources
BibTeX entry and citation info
@misc{kasai2020deep,
    title={Deep Encoder, Shallow Decoder: Reevaluating the Speed-Quality Tradeoff in Machine Translation},
    author={Jungo Kasai and Nikolaos Pappas and Hao Peng and James Cross and Noah A. Smith},
    year={2020},
    eprint={2006.10369},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Runs of allenai wmt19-de-en-6-6-big on huggingface.co

1.0K
Total runs
0
24-hour runs
9
3-day runs
68
7-day runs
-34
30-day runs

More Information About wmt19-de-en-6-6-big huggingface.co Model

More wmt19-de-en-6-6-big license Visit here:

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

wmt19-de-en-6-6-big huggingface.co

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

wmt19-de-en-6-6-big huggingface.co Url

https://huggingface.co/allenai/wmt19-de-en-6-6-big

allenai wmt19-de-en-6-6-big online free

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

allenai wmt19-de-en-6-6-big online free url in huggingface.co:

https://huggingface.co/allenai/wmt19-de-en-6-6-big

wmt19-de-en-6-6-big install

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

wmt19-de-en-6-6-big install url in huggingface.co:

https://huggingface.co/allenai/wmt19-de-en-6-6-big

Url of wmt19-de-en-6-6-big

wmt19-de-en-6-6-big huggingface.co Url

Provider of wmt19-de-en-6-6-big huggingface.co

allenai
ORGANIZATIONS

Other API from allenai

huggingface.co

Total runs: 91.7K
Run Growth: 78.6K
Growth Rate: 85.70%
Updated: 2023年10月18日
huggingface.co

Total runs: 91.3K
Run Growth: 63.3K
Growth Rate: 69.57%
Updated: 2025年1月6日
huggingface.co

Total runs: 77.3K
Run Growth: -517.1K
Growth Rate: -669.13%
Updated: 2024年10月10日
huggingface.co

Total runs: 63.3K
Run Growth: 51.7K
Growth Rate: 81.63%
Updated: 2024年10月10日
huggingface.co

Total runs: 61.6K
Run Growth: -50.5K
Growth Rate: -81.96%
Updated: 2024年12月4日
huggingface.co

Total runs: 23.0K
Run Growth: 7.7K
Growth Rate: 33.79%
Updated: 2024年8月14日
huggingface.co

Total runs: 8.5K
Run Growth: 3.3K
Growth Rate: 36.78%
Updated: 2024年7月16日
huggingface.co

Total runs: 6.4K
Run Growth: 3.3K
Growth Rate: 51.01%
Updated: 2024年10月10日
huggingface.co

Total runs: 6.1K
Run Growth: -21.5K
Growth Rate: -354.06%
Updated: 2024年7月3日
huggingface.co

Total runs: 5.1K
Run Growth: -17.0K
Growth Rate: -321.48%
Updated: 2024年7月16日
huggingface.co

Total runs: 3.7K
Run Growth: 1.7K
Growth Rate: 44.61%
Updated: 2024年5月14日
huggingface.co

Total runs: 2.5K
Run Growth: -163
Growth Rate: -6.49%
Updated: 2024年12月4日
huggingface.co

Total runs: 1.7K
Run Growth: -110
Growth Rate: -6.43%
Updated: 2024年7月16日
huggingface.co

Total runs: 895
Run Growth: 878
Growth Rate: 98.10%
Updated: 2023年1月24日
huggingface.co

Total runs: 502
Run Growth: -100
Growth Rate: -21.23%
Updated: 2023年1月24日
huggingface.co

Total runs: 486
Run Growth: 256
Growth Rate: 52.67%
Updated: 2024年2月12日
huggingface.co

Total runs: 374
Run Growth: 354
Growth Rate: 94.65%
Updated: 2024年6月13日
huggingface.co

Total runs: 313
Run Growth: -437
Growth Rate: -139.62%
Updated: 2024年4月30日
huggingface.co

Total runs: 297
Run Growth: 159
Growth Rate: 53.54%
Updated: 2024年4月19日