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