[model cards] fix metadata - 3rd attempt (#7218)

This commit is contained in:
Stas Bekman
2020-09-17 13:57:06 -07:00
committed by GitHub
parent 999a1c957a
commit edbaad2c5c
12 changed files with 72 additions and 40 deletions

View File

@@ -10,11 +10,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt16/) - wmt16
- [test-set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)
metrics: metrics:
- http://www.statmt.org/wmt16/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -95,3 +93,7 @@ echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt16-en-de-12-1 $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 PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt16-en-de-12-1 $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
- [training, etc.](http://www.statmt.org/wmt16/)
- [test set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)

View File

@@ -10,11 +10,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt16/) - wmt16
- [test-set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)
metrics: metrics:
- http://www.statmt.org/wmt16/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -95,3 +93,7 @@ echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt16-en-de-dist-12-1 $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 PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt16-en-de-dist-12-1 $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
- [training, etc.](http://www.statmt.org/wmt16/)
- [test set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)

View File

@@ -10,11 +10,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt16/) - wmt16
- [test-set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)
metrics: metrics:
- http://www.statmt.org/wmt16/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -95,3 +93,7 @@ echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt16-en-de-dist-6-1 $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 PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt16-en-de-dist-6-1 $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
- [training, etc.](http://www.statmt.org/wmt16/)
- [test set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)

View File

@@ -11,10 +11,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -92,3 +91,7 @@ echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt19-de-en-6-6-base $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 PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/wmt19-de-en-6-6-base $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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)

View File

@@ -11,10 +11,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -92,3 +91,7 @@ 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 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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)

View File

@@ -10,10 +10,9 @@ tags:
- facebook - facebook
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -88,6 +87,10 @@ PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py facebook/w
``` ```
note: fairseq reports using a beam of 50, so you should get a slightly higher score if re-run with `--num_beams 50`. 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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
## TODO ## TODO

View File

@@ -10,10 +10,9 @@ tags:
- facebook - facebook
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -88,6 +87,10 @@ PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py facebook/w
``` ```
note: fairseq reports using a beam of 50, so you should get a slightly higher score if re-run with `--num_beams 50`. 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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
## TODO ## TODO

View File

@@ -10,10 +10,9 @@ tags:
- facebook - facebook
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -88,6 +87,10 @@ PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py facebook/w
``` ```
note: fairseq reports using a beam of 50, so you should get a slightly higher score if re-run with `--num_beams 50`. 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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
## TODO ## TODO

View File

@@ -10,10 +10,9 @@ tags:
- facebook - facebook
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -88,6 +87,10 @@ PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py facebook/w
``` ```
note: fairseq reports using a beam of 50, so you should get a slightly higher score if re-run with `--num_beams 50`. 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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
## TODO ## TODO

View File

@@ -35,11 +35,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt16/) - wmt16
- [test-set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)
metrics: metrics:
- http://www.statmt.org/wmt16/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -120,6 +118,10 @@ echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/{model_name} $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 PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/{model_name} $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
- [training, etc.](http://www.statmt.org/wmt16/)
- [test set](http://matrix.statmt.org/test_sets/newstest2016.tgz?1504722372)
""" """
model_card_dir.mkdir(parents=True, exist_ok=True) model_card_dir.mkdir(parents=True, exist_ok=True)
path = os.path.join(model_card_dir, "README.md") path = os.path.join(model_card_dir, "README.md")

View File

@@ -35,10 +35,9 @@ tags:
- allenai - allenai
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -116,6 +115,10 @@ echo $PAIR
PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/{model_name} $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 PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py allenai/{model_name} $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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
""" """
model_card_dir.mkdir(parents=True, exist_ok=True) model_card_dir.mkdir(parents=True, exist_ok=True)
path = os.path.join(model_card_dir, "README.md") path = os.path.join(model_card_dir, "README.md")

View File

@@ -36,10 +36,9 @@ tags:
- facebook - facebook
license: Apache 2.0 license: Apache 2.0
datasets: datasets:
- [main source](http://www.statmt.org/wmt19/) - wmt19
- [test-set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
metrics: metrics:
- http://www.statmt.org/wmt19/metrics-task.html - bleu
--- ---
# FSMT # FSMT
@@ -114,6 +113,10 @@ PYTHONPATH="src:examples/seq2seq" python examples/seq2seq/run_eval.py facebook/w
``` ```
note: fairseq reports using a beam of 50, so you should get a slightly higher score if re-run with `--num_beams 50`. 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
- [training, etc.](http://www.statmt.org/wmt19/)
- [test set](http://matrix.statmt.org/test_sets/newstest2019.tgz?1556572561)
## TODO ## TODO