ijohn07 commited on
Commit
5129ff2
1 Parent(s): f2d9646

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: M4-ai/neural-chat-mini-v2.2-1.8B
3
+ datasets:
4
+ - Open-Orca/SlimOrca
5
+ - m-a-p/Code-Feedback
6
+ - MaziyarPanahi/WizardLM_evol_instruct_V2_196k
7
+ - camel-ai/math
8
+ - camel-ai/physics
9
+ - camel-ai/biology
10
+ - camel-ai/chemistry
11
+ - LDJnr/Capybara
12
+ - jondurbin/airoboros-3.2
13
+ - microsoft/orca-math-word-problems-200k
14
+ language:
15
+ - en
16
+ library_name: transformers
17
+ license: other
18
+ tags:
19
+ - llama-cpp
20
+ - gguf-my-repo
21
+ inference:
22
+ parameters:
23
+ do_sample: true
24
+ temperature: 0.8
25
+ top_p: 0.95
26
+ top_k: 40
27
+ max_new_tokens: 250
28
+ repetition_penalty: 1.1
29
+ ---
30
+
31
+ # ijohn07/neural-chat-mini-v2.2-1.8B-Q8_0-GGUF
32
+ This model was converted to GGUF format from [`M4-ai/neural-chat-mini-v2.2-1.8B`](https://huggingface.co/M4-ai/neural-chat-mini-v2.2-1.8B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
33
+ Refer to the [original model card](https://huggingface.co/M4-ai/neural-chat-mini-v2.2-1.8B) for more details on the model.
34
+
35
+ ## Use with llama.cpp
36
+ Install llama.cpp through brew (works on Mac and Linux)
37
+
38
+ ```bash
39
+ brew install llama.cpp
40
+
41
+ ```
42
+ Invoke the llama.cpp server or the CLI.
43
+
44
+ ### CLI:
45
+ ```bash
46
+ llama-cli --hf-repo ijohn07/neural-chat-mini-v2.2-1.8B-Q8_0-GGUF --hf-file neural-chat-mini-v2.2-1.8b-q8_0.gguf -p "The meaning to life and the universe is"
47
+ ```
48
+
49
+ ### Server:
50
+ ```bash
51
+ llama-server --hf-repo ijohn07/neural-chat-mini-v2.2-1.8B-Q8_0-GGUF --hf-file neural-chat-mini-v2.2-1.8b-q8_0.gguf -c 2048
52
+ ```
53
+
54
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
55
+
56
+ Step 1: Clone llama.cpp from GitHub.
57
+ ```
58
+ git clone https://github.com/ggerganov/llama.cpp
59
+ ```
60
+
61
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
62
+ ```
63
+ cd llama.cpp && LLAMA_CURL=1 make
64
+ ```
65
+
66
+ Step 3: Run inference through the main binary.
67
+ ```
68
+ ./llama-cli --hf-repo ijohn07/neural-chat-mini-v2.2-1.8B-Q8_0-GGUF --hf-file neural-chat-mini-v2.2-1.8b-q8_0.gguf -p "The meaning to life and the universe is"
69
+ ```
70
+ or
71
+ ```
72
+ ./llama-server --hf-repo ijohn07/neural-chat-mini-v2.2-1.8B-Q8_0-GGUF --hf-file neural-chat-mini-v2.2-1.8b-q8_0.gguf -c 2048
73
+ ```