sohamslc5 commited on
Commit
a6cc8ed
1 Parent(s): ffa1ac4

created app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # Load model directly
2
+ from transformers import AutoTokenizer, AutoModelForCausalLM
3
+
4
+ tokenizer = AutoTokenizer.from_pretrained("sohamslc5/llama_2_7B_sohamslc5")
5
+ model = AutoModelForCausalLM.from_pretrained("sohamslc5/llama_2_7B_sohamslc5")
6
+ print(model)