Neuracraft / tf_model.h5
Erfan11's picture
Update tf_model.h5
77aa5d7 verified
raw
history blame
297 Bytes
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.