EEggeE commited on
Commit
c61e5a9
·
verified ·
1 Parent(s): ea56488

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Load model directly
2
+ from transformers import AutoTokenizer, AutoModelForCausalLM
3
+
4
+ tokenizer = AutoTokenizer.from_pretrained("mohammedbriman/llama-2-7b-chat-turkish-instructions")
5
+ model = AutoModelForCausalLM.from_pretrained("mohammedbriman/llama-2-7b-chat-turkish-instructions")