Instructions to use Unbabel/wmt22-cometkiwi-da with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- COMET
How to use Unbabel/wmt22-cometkiwi-da with COMET:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
How to use IndicComet
#8
by sofia100 - opened
https://github.com/AI4Bharat/IndicMT-Eval/tree/master?tab=readme-ov-file
This uses IndicComet in MQM and DA. On using the URLs for checkpoints, I'm getting ERROR:
KeyError: "Model 'https://objectstore.e2enetworks.net/indic-trans/Indic-COMET-MQM/checkpoints/epoch=2-step=939.ckpt' not supported by COMET."
What to do? How to use IndicCOMET in python?
Thanks in advance
you need to download hparams.yaml file and create directory structure as
indic_comet/
βββ checkpoints
β βββ model.ckpt
βββ hparams.yaml
and then use the following snippet
from comet import load_from_checkpoint
model_path = "./indic_comet/checkpoints/model.ckpt" #it should be .ckpt file
model = load_from_checkpoint(model_path)