Textwizai / from_tf=True
Erfan11's picture
Update from_tf=True
b817823 verified
raw
history blame
248 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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")