Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
faztrick
/
wikis
like
0
Runtime error
App
Files
Files
Community
faztrick
commited on
Dec 3, 2022
Commit
93668cb
•
1 Parent(s):
b1cd513
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 AutoTokenizer, AutoModelForCausalLM
2
+
3
+
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-j-6B")
4
+
5
+
model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B")