Spaces:
Sleeping
Sleeping
Update from_tf=True
Browse files- from_tf=True +2 -2
from_tf=True
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
from transformers import BertForSequenceClassification
|
2 |
|
3 |
-
# Load the model
|
4 |
-
model = BertForSequenceClassification.from_pretrained("Erfan11/Neuracraft", from_tf=True)
|
|
|
1 |
from transformers import BertForSequenceClassification
|
2 |
|
3 |
+
# Load the TensorFlow model using from_tf=True
|
4 |
+
model = BertForSequenceClassification.from_pretrained("Erfan11/Neuracraft", from_tf=True, use_auth_token="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")
|