Spaces:
Sleeping
Sleeping
Delete load_model.py
Browse files- load_model.py +0 -8
load_model.py
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
from transformers import TFBertForSequenceClassification, BertTokenizer
|
2 |
-
|
3 |
-
# Define the model name
|
4 |
-
model_name = "Erfan11/Neuracraft"
|
5 |
-
|
6 |
-
# Load the TensorFlow model and tokenizer
|
7 |
-
model = TFBertForSequenceClassification.from_pretrained(model_name, use_auth_token="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")
|
8 |
-
tokenizer = BertTokenizer.from_pretrained(model_name, use_auth_token="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")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|