Sri-Vigneshwar-DJ commited on
Commit
82d1578
1 Parent(s): 72195b2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2-72B-Instruct
3
+ library_name: transformers
4
+ license: other
5
+ tags:
6
+ - llama-cpp
7
+ - Qwen
8
+ - Qwen2-72B-Instruct
9
+ - Qwen2-72B
10
+ - GGUF
11
+ datasets: hawky_fb_bidding_prompts
12
+ ---
13
+
14
+ # Sri-Vigneshwar-DJ/sarvam-2b-v0.5-GGUF
15
+ This model was converted to GGUF format from [`Qwen/Qwen2-72B-Instruct`](https://huggingface.co/Qwen/Qwen2-72B-Instruct) using llama.cpp
16
+ Refer to the [original model card](https://huggingface.co/Qwen/Qwen2-72B-Instruct) for more details on the model.
17
+
18
+ ## Use with llama.cpp
19
+ Install llama.cpp through brew (works on Mac and Linux) from https://github.com/ggerganov/llama.cpp.git
20
+
21
+ ```bash
22
+ brew install llama.cpp or !git clone https://github.com/ggerganov/llama.cpp.git
23
+
24
+ ```
25
+ Invoke the llama.cpp server or the CLI.
26
+
27
+ ### CLI:
28
+ ```bash
29
+ ! /content/llama.cpp/llama-cli -m ./sarvam-2b-v0.5-GGUF -n 90 --repeat_penalty 1.0 --color -i -r "User:" -f /content/llama.cpp/prompts/chat-with-bob.txt
30
+
31
+ or
32
+
33
+ llama-cli --hf-repo Sri-Vigneshwar-DJ/hawky-ai-Qwen2-Math-72B-Instruct-GGUF --hf-file FP8.gguf -p "The meaning to life and the universe is"
34
+ ```
35
+
36
+ ### Server:
37
+ ```bash
38
+ llama-server --hf-repo Sri-Vigneshwar-DJ/sarvam-2b-v0.5-GGUF --hf-file FP8.gguf -c 2048
39
+ ```
40
+
41
+ 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.
42
+
43
+ Step 1: Clone llama.cpp from GitHub.
44
+ ```
45
+ git clone https://github.com/ggerganov/llama.cpp
46
+ ```
47
+
48
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag or ''!make GGML_OPENBLAS=1' along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
49
+ ```
50
+ cd llama.cpp && LLAMA_CURL=1 make
51
+
52
+ or
53
+
54
+ !make GGML_OPENBLAS=1
55
+ ```
56
+
57
+ Step 3: Run inference through the main binary.
58
+ ```
59
+ ./llama-cli --hf-repo Sri-Vigneshwar-DJ/hawky-ai-Qwen2-Math-72B-Instruct-GGUF --hf-file FP8.gguf -p "FB_POST {poster} = ~Price?, Just give the upper and lower bound"
60
+ ```
61
+ or
62
+ ```
63
+ ./llama-server --hf-repo Sri-Vigneshwar-DJ/hawky-ai-Qwen2-Math-72B-Instruct-GGUF --hf-file sFP8.gguf -c 2048
64
+ ```