TheCraftySlayer commited on
Commit
2d633cd
1 Parent(s): 8c87867
Files changed (1) hide show
  1. 1 +5 -0
1 ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Load model directly
2
+ from transformers import AutoTokenizer, AutoModelForCausalLM
3
+
4
+ tokenizer = AutoTokenizer.from_pretrained("TheCraftySlayer/Llama-2-70b-chat-hf")
5
+ model = AutoModelForCausalLM.from_pretrained("TheCraftySlayer/Llama-2-70b-chat-hf")