File size: 297 Bytes
c8c1fc9
 
 
77aa5d7
 
1
2
3
4
5
from transformers import TFBertForSequenceClassification

model_name = "Erfan11/Neuracraft"
model = TFBertForSequenceClassification.from_pretrained(model_name, from_tf=True, use_auth_token="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")
# Ensure TensorFlow models are properly saved and loaded as needed.