Erfan11 commited on
Commit
7c4a3f6
1 Parent(s): 06f46aa

Create from_tf=True

Browse files
Files changed (1) hide show
  1. from_tf=True +4 -0
from_tf=True ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from transformers import BertForSequenceClassification
2
+
3
+ # Load the model from the Hugging Face model hub
4
+ model = BertForSequenceClassification.from_pretrained("Erfan11/Neuracraft", from_tf=True)