Textwizai / from_tf=True.py
Erfan11's picture
Rename from_tf=True to from_tf=True.py
7a9846a 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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"
)