RicardoRei
commited on
Commit
•
81eedaf
1
Parent(s):
de9d71d
CLI example
Browse files
README.md
CHANGED
@@ -119,7 +119,13 @@ pip install --upgrade pip # ensures that pip is current
|
|
119 |
pip install unbabel-comet
|
120 |
```
|
121 |
|
122 |
-
Then you can use
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
|
124 |
```python
|
125 |
from comet import download_model, load_from_checkpoint
|
|
|
119 |
pip install unbabel-comet
|
120 |
```
|
121 |
|
122 |
+
Then you can use it through comet CLI:
|
123 |
+
|
124 |
+
```bash
|
125 |
+
comet-score -s {source-input}.txt -t {translation-output}.txt --model Unbabel/wmt22-cometkiwi-da
|
126 |
+
```
|
127 |
+
|
128 |
+
Or using Python:
|
129 |
|
130 |
```python
|
131 |
from comet import download_model, load_from_checkpoint
|