king-eagle commited on
Commit
1b9d2d8
·
0 Parent(s):

first commit

Browse files
Files changed (1) hide show
  1. main.py +10 -0
main.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import ollama
2
+
3
+ res = ollama.generate(
4
+ model="hf.co/bartowski/Llama-3.2-3B-Instruct-uncensored-GGUF:Q5_K_S",
5
+ # model="qwen2.5:3b",
6
+ prompt="i am a human",
7
+ system="Provide answers with funny and creative answers",
8
+ )
9
+
10
+ print(res['response'])