Spaces:
Runtime error
Runtime error
José Ángel González
commited on
Commit
·
3445e81
1
Parent(s):
f40bceb
revert to gpu
Browse files- generation_evaluator.py +1 -1
generation_evaluator.py
CHANGED
|
@@ -133,7 +133,7 @@ CHRF:{
|
|
| 133 |
ALIGNSCORE_ARGS = {
|
| 134 |
"model": "roberta-base",
|
| 135 |
"batch_size": 32,
|
| 136 |
-
"device": "
|
| 137 |
"ckpt_path": "https://huggingface.co/yzha/AlignScore/resolve/main/AlignScore-base.ckpt",
|
| 138 |
"evaluation_mode": "nli_sp",
|
| 139 |
}
|
|
|
|
| 133 |
ALIGNSCORE_ARGS = {
|
| 134 |
"model": "roberta-base",
|
| 135 |
"batch_size": 32,
|
| 136 |
+
"device": "cuda",
|
| 137 |
"ckpt_path": "https://huggingface.co/yzha/AlignScore/resolve/main/AlignScore-base.ckpt",
|
| 138 |
"evaluation_mode": "nli_sp",
|
| 139 |
}
|