File size: 248 Bytes
7c4a3f6
 
b817823
 
1
2
3
4
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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")