File size: 264 Bytes
7c4a3f6
 
b817823
f8af033
 
 
 
 
1
2
3
4
5
6
7
8
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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"
)