Textwizai / from_tf=True
Erfan11's picture
Update from_tf=True
f8af033 verified
raw
history blame
264 Bytes
from transformers import BertForSequenceClassification
# Load the TensorFlow model using from_tf=True
model = BertForSequenceClassification.from_pretrained(
"Erfan11/Neuracraft",
from_tf=True,
use_auth_token="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"
)