Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
abhimadd
/
crec
like
0
Runtime error
App
Files
Files
Community
abhimadd
commited on
Jun 4
Commit
ced362c
•
1 Parent(s):
4b43d41
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+6
-0
app.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
# Load model directly
2
+
from transformers import AutoTokenizer, AutoModelForCausalLM
3
+
4
+
tokenizer = AutoTokenizer.from_pretrained("abhimadd/crec1")
5
+
model = AutoModelForCausalLM.from_pretrained("abhimadd/crec1")
6
+