RicardoRei commited on
Commit
371e983
1 Parent(s): 22c8766

CLI example

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -117,7 +117,13 @@ pip install --upgrade pip # ensures that pip is current
117
  pip install unbabel-comet
118
  ```
119
 
120
- Then you can use the model like this:
 
 
 
 
 
 
121
 
122
  ```python
123
  from comet import download_model, load_from_checkpoint
 
117
  pip install unbabel-comet
118
  ```
119
 
120
+ Then you can use it through comet CLI:
121
+
122
+ ```bash
123
+ comet-score -s {source-inputs}.txt -t {translation-outputs}.txt -r {references}.txt --model Unbabel/wmt22-comet-da
124
+ ```
125
+
126
+ Or using Python:
127
 
128
  ```python
129
  from comet import download_model, load_from_checkpoint