Erfan11 commited on
Commit
f8af033
1 Parent(s): 8626faa

Update from_tf=True

Browse files
Files changed (1) hide show
  1. from_tf=True +5 -1
from_tf=True CHANGED
@@ -1,4 +1,8 @@
1
  from transformers import BertForSequenceClassification
2
 
3
  # Load the TensorFlow model using from_tf=True
4
- model = BertForSequenceClassification.from_pretrained("Erfan11/Neuracraft", from_tf=True, use_auth_token="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")
 
 
 
 
 
1
  from transformers import BertForSequenceClassification
2
 
3
  # Load the TensorFlow model using from_tf=True
4
+ model = BertForSequenceClassification.from_pretrained(
5
+ "Erfan11/Neuracraft",
6
+ from_tf=True,
7
+ use_auth_token="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"
8
+ )