Update README.md
Browse files
README.md
CHANGED
@@ -7,8 +7,8 @@ Finetuning data: CGN (all components, VL)
|
|
7 |
Usage:
|
8 |
python
|
9 |
|
10 |
-
import fairseq
|
11 |
|
12 |
-
ckpt = '/path/to/modeldir/checkpoint_best.pt'
|
13 |
|
14 |
-
model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([ckpt])
|
|
|
7 |
Usage:
|
8 |
python
|
9 |
|
10 |
+
~ import fairseq
|
11 |
|
12 |
+
~ ckpt = '/path/to/modeldir/checkpoint_best.pt'
|
13 |
|
14 |
+
~ model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([ckpt])
|