File size: 297 Bytes
7c5369d
 
 
69d3b47
 
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.