zoltanctoth commited on
Commit
01416d8
·
1 Parent(s): 8cfe213

Initial Commit

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +24 -0
  3. orca-mini-3b.q4_0.gguf +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.gguf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,27 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+ Original source of the GGUF file: [juanjgit's Orca Mini 3B GGUF Model Card](https://huggingface.co/juanjgit/orca_mini_3B-GGUF])
5
+
6
+ Original model: [Pankaj Mathur's Orca Mini 3B.](https://huggingface.co/psmathur/orca_mini_3b)
7
+
8
+ # Prompt
9
+ ```
10
+ prompt = f"### System:\n{system}\n\n### User:\n{instruction}\n\n### Response:\n"
11
+ ```
12
+
13
+ # Usage
14
+ ```
15
+ from ctransformers import AutoModelForCausalLM
16
+
17
+ llm = AutoModelForCausalLM.from_pretrained(
18
+ "juanjgit/orca_mini_3B-GGUF", model_file="orca-mini-3b.q4_0.gguf"
19
+ )
20
+
21
+ system = "You are an AI assistant that follows instruction extremely well. Help as much as you can. Give short answers."
22
+ instruction = "Which is the biggest city of India?"
23
+
24
+ prompt = f"### System:\n{system}\n\n### User:\n{instruction}\n\n### Response:\n"
25
+ for i in llm(prompt, stream=True):
26
+ print(i)
27
+ ```
orca-mini-3b.q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d07551d23240886d39d031c8785c57c4dd185b0f39b2e7f01d58f0f6c2404a8
3
+ size 1928648352