File size: 268 Bytes
58d1031
55f2d93
58d1031
 
 
 
 
1
2
3
4
5
6
7
from transformers import TFBertForSequenceClassification

# Define the model name
model_name = "Erfan11/Neuracraft"

# Load the TensorFlow model
model = TFBertForSequenceClassification.from_pretrained(model_name, use_auth_token="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")