Yassine Mhirsi
commited on
Commit
·
17abb72
1
Parent(s):
058bfe4
Fix formatting in stance_model_manager.py by adjusting whitespace in tokenizer loading code
Browse files
services/stance_model_manager.py
CHANGED
|
@@ -35,7 +35,7 @@ class StanceModelManager:
|
|
| 35 |
|
| 36 |
# Load tokenizer and model from Hugging Face
|
| 37 |
logger.info("Loading tokenizer...")
|
| 38 |
-
self.tokenizer = AutoTokenizer.from_pretrained(
|
| 39 |
model_id,
|
| 40 |
token=token,
|
| 41 |
trust_remote_code=True
|
|
|
|
| 35 |
|
| 36 |
# Load tokenizer and model from Hugging Face
|
| 37 |
logger.info("Loading tokenizer...")
|
| 38 |
+
self.tokenizer = AutoTokenizer.from_pretrained(
|
| 39 |
model_id,
|
| 40 |
token=token,
|
| 41 |
trust_remote_code=True
|