Comments (5)
On a related question, how does this dictionary map to the list of models in https://unbabel.github.io/COMET/html/models.html#faq
{'emnlp20-comet-rank': 'https://unbabel-experimental-models.s3.amazonaws.com/comet/wmt20/emnlp20-comet-rank.tar.gz',
'wmt20-comet-da': 'https://unbabel-experimental-models.s3.amazonaws.com/comet/wmt20/wmt20-comet-da.tar.gz',
'wmt20-comet-qe-da': 'https://unbabel-experimental-models.s3.amazonaws.com/comet/wmt20/wmt20-comet-qe-da.tar.gz',
'wmt21-comet-mqm': 'https://unbabel-experimental-models.s3.amazonaws.com/comet/wmt21/wmt21-comet-mqm.tar.gz',
'wmt21-cometinho-da': 'https://unbabel-experimental-models.s3.amazonaws.com/comet/wmt21/wmt21-cometinho-da.tar.gz',
'wmt21-comet-qe-mqm': 'https://unbabel-experimental-models.s3.amazonaws.com/comet/wmt21/wmt21-comet-qe-mqm.tar.gz'
}
from comet.
@alvations that's something I have to fix a long time ago already! Documentation is extremely outdated...
wmt-large-da-estimator-1719 | wmt20-comet-da |
---|---|
↑wmt-base-da-estimator-1719 | not supported in v1.0 |
↑wmt-large-qe-estimator-1719 | wmt20-comet-qe-da |
↓wmt-large-hter-estimator | not supported in v1.0 |
↓wmt-base-hter-estimator | not supported in v1.0 |
↑emnlp-base-da-ranker | emnlp20-comet-rank |
All other models are from our 2021 paper and are not in that documentation!
from comet.
Regarding @mjpost request, it does print the available metrics when you pass an invalid model name:
comet-score -s src.de -t hyp1.en -r ref.en --gpus 0 --model test
usage: comet-score [-h] [-s SOURCES] [-t TRANSLATIONS [TRANSLATIONS ...]] [-r REFERENCES] [-d SACREBLEU_DATASET] [--batch_size BATCH_SIZE] [--gpus GPUS] [--accelerator {dp,ddp}] [--to_json TO_JSON]
[--model MODEL] [--model_storage_path MODEL_STORAGE_PATH] [--mc_dropout MC_DROPOUT] [--seed_everything SEED_EVERYTHING] [--num_workers NUM_WORKERS] [--disable_bar] [--disable_cache]
[--disable_length_batching] [--print_cache_info]
comet-score: error: test is not a valid checkpoint path or model choice. Choose from dict_keys(['emnlp20-comet-rank', 'wmt20-comet-da', 'wmt20-comet-qe-da', 'wmt21-comet-mqm', 'wmt21-cometinho-da', 'wmt21-comet-qe-mqm'])
from comet.
When I pass --model wmt21-comet-qe-da
Global seed set to 12
Downloading refless-wmt21-comet-da.tar.gz
refless-wmt21-comet-da.tar.gz: 0.00B [00:00, ?B/s]
Traceback (most recent call last):
File "comet/cli/score.py", line 327, in
score_command()
File "comet/cli/score.py", line 170, in score_command
model_path = download_model(cfg.model, saving_directory=cfg.model_storage_path)
File "/content/COMET/comet/download_utils.py", line 209, in download_model
available_metrics[model], directory=saving_directory
File "/content/COMET/comet/download_utils.py", line 165, in download_file_maybe_extract
urllib.request.urlretrieve(url, filename=filepath, reporthook=_reporthook(t))
File "/usr/lib/python3.7/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
which means the model name (taken from doc) is not wrong according to your post, but not able to download.
I'll use wmt20-comet-qe-da instead
from comet.
you are right @vince62s! The link is broken for that model. I'll create a new issue for this
from comet.
Related Issues (20)
- Unbabel/wmt22-cometkiwi-da doesn't work from Huggingface HOT 1
- pretrained_model setting in hparams.yaml has no effect HOT 1
- [QUESTION] Why does training speed go down? HOT 5
- Multi-GPU training HOT 10
- Using comet-mbr for Multi-Model Translation Ranking: Questions About Input Format and GPU Disabling HOT 3
- 504 Server error when running comet-score using multiple machines HOT 7
- Is `wmt22-comet-da` the same as "COMET-22" & trained on MQM data? HOT 2
- Quantization HOT 2
- TypeError: comet.models.utils.Prediction is not a dataclasss. This is a subclass of ModelOutput and so must use the @dataclass decorator. HOT 5
- Not compatible with recent transformers? HOT 3
- Comet Evaluation Metric Error with Command line Utility HOT 1
- Running the code on Mac
- whar aspects of language gets considered while evaluating the tranlsation by COMET. as far as I am aware of MQM metric sare covered in it. Interested to know other terminolofy/features of language gets in COMET. HOT 1
- what aspects of language get considered while evaluating the translation by COMET. as far as I am aware of MQM metrics are covered in it. Interested in knowing other terminology/features of language gets in COMET. I am looking for metric along with COMET that can assess the translated content for cosmetic domain data. please suggest. HOT 1
- [QUESTION] Train Your Own Metric HOT 2
- Multi-gpu inference returns AttributeError HOT 7
- Mismatch between error span and offsets HOT 2
- [QUESTION] Reliability for en-th and th-en pair HOT 2
- AttributeError: 'dict' object has no attribute 'scores' HOT 2
- [QUESTION] AttributeError: An error occurred during model prediction: 'dict' object has no attribute 'scores' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comet.