Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Hanorii
/
AI-Talk
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Hanorii
commited on
Jan 11, 2023
Commit
2a9dcb2
·
1 Parent(s):
5db2890
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
from transformers import AutoModel, AutoTokenizer
2
+
3
+
# Load the ALBERT-base-v1 model and tokenizer
4
+
model = AutoModel.from_pretrained("albert-base-v1")
5
+
tokenizer = AutoTokenizer.from_pretrained("albert-base-v1")