Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
|
@@ -48,7 +48,7 @@ ERROR_THRESHOLDS = {
|
|
| 48 |
# ============================================================
|
| 49 |
|
| 50 |
class RQAJudge:
|
| 51 |
-
def __init__(self, model_name="skatzR/RQA-
|
| 52 |
self.device = device or ("cuda" if torch.cuda.is_available() else "cpu")
|
| 53 |
|
| 54 |
self.tokenizer = AutoTokenizer.from_pretrained(
|
|
|
|
| 48 |
# ============================================================
|
| 49 |
|
| 50 |
class RQAJudge:
|
| 51 |
+
def __init__(self, model_name="skatzR/RQA-R1", device=None):
|
| 52 |
self.device = device or ("cuda" if torch.cuda.is_available() else "cpu")
|
| 53 |
|
| 54 |
self.tokenizer = AutoTokenizer.from_pretrained(
|