RicardoRei
commited on
Commit
•
4c372be
1
Parent(s):
840e204
CLI example
Browse files
README.md
CHANGED
@@ -122,7 +122,13 @@ pip install --upgrade pip # ensures that pip is current
|
|
122 |
pip install unbabel-comet
|
123 |
```
|
124 |
|
125 |
-
Then you can use
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
|
127 |
```python
|
128 |
from comet import download_model, load_from_checkpoint
|
|
|
122 |
pip install unbabel-comet
|
123 |
```
|
124 |
|
125 |
+
Then you can use it through comet CLI:
|
126 |
+
|
127 |
+
```bash
|
128 |
+
comet-score -s {source-inputs}.txt -t {translation-outputs}.txt -r {references}.txt --model Unbabel/wmt22-comet-da
|
129 |
+
```
|
130 |
+
|
131 |
+
Or using Python:
|
132 |
|
133 |
```python
|
134 |
from comet import download_model, load_from_checkpoint
|