Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Erfan11
/
Textwizai
like
0
Sleeping
App
Files
Files
Community
1
e178f41
Textwizai
/
load_model.py
Erfan11
Create load_model.py
06f46aa
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
196 Bytes
from
transformers
import
BertForSequenceClassification
# Load the model from your Hugging Face repository
model = BertForSequenceClassification.from_pretrained(
"Erfan11/Neuracraft"
, from_tf=
True
)