Spaces:
Runtime error
Runtime error
Update app.py
Browse fileschanged model again
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
|
4 |
# Initialize the POS tagger with from_pt=True for PyTorch model
|
5 |
pos_tagger = pipeline(
|
6 |
-
model="
|
7 |
aggregation_strategy="simple",
|
8 |
from_pt=True # Load model from PyTorch weights
|
9 |
)
|
|
|
3 |
|
4 |
# Initialize the POS tagger with from_pt=True for PyTorch model
|
5 |
pos_tagger = pipeline(
|
6 |
+
model="Jzuluaga/bert-base-token-classification-for-atc-en-uwb-atcc",
|
7 |
aggregation_strategy="simple",
|
8 |
from_pt=True # Load model from PyTorch weights
|
9 |
)
|