Insanelycool commited on
Commit
fde9526
1 Parent(s): 5128d1f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +157 -0
README.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ library_name: transformers
6
+ tags:
7
+ - llama-cpp
8
+ - gguf-my-repo
9
+ base_model: davidkim205/Rhea-72b-v0.5
10
+ model-index:
11
+ - name: Rhea-72b-v0.5
12
+ results:
13
+ - task:
14
+ type: text-generation
15
+ name: Text Generation
16
+ dataset:
17
+ name: AI2 Reasoning Challenge (25-Shot)
18
+ type: ai2_arc
19
+ config: ARC-Challenge
20
+ split: test
21
+ args:
22
+ num_few_shot: 25
23
+ metrics:
24
+ - type: acc_norm
25
+ value: 79.78
26
+ name: normalized accuracy
27
+ source:
28
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=davidkim205/Rhea-72b-v0.5
29
+ name: Open LLM Leaderboard
30
+ - task:
31
+ type: text-generation
32
+ name: Text Generation
33
+ dataset:
34
+ name: HellaSwag (10-Shot)
35
+ type: hellaswag
36
+ split: validation
37
+ args:
38
+ num_few_shot: 10
39
+ metrics:
40
+ - type: acc_norm
41
+ value: 91.15
42
+ name: normalized accuracy
43
+ source:
44
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=davidkim205/Rhea-72b-v0.5
45
+ name: Open LLM Leaderboard
46
+ - task:
47
+ type: text-generation
48
+ name: Text Generation
49
+ dataset:
50
+ name: MMLU (5-Shot)
51
+ type: cais/mmlu
52
+ config: all
53
+ split: test
54
+ args:
55
+ num_few_shot: 5
56
+ metrics:
57
+ - type: acc
58
+ value: 77.95
59
+ name: accuracy
60
+ source:
61
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=davidkim205/Rhea-72b-v0.5
62
+ name: Open LLM Leaderboard
63
+ - task:
64
+ type: text-generation
65
+ name: Text Generation
66
+ dataset:
67
+ name: TruthfulQA (0-shot)
68
+ type: truthful_qa
69
+ config: multiple_choice
70
+ split: validation
71
+ args:
72
+ num_few_shot: 0
73
+ metrics:
74
+ - type: mc2
75
+ value: 74.5
76
+ source:
77
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=davidkim205/Rhea-72b-v0.5
78
+ name: Open LLM Leaderboard
79
+ - task:
80
+ type: text-generation
81
+ name: Text Generation
82
+ dataset:
83
+ name: Winogrande (5-shot)
84
+ type: winogrande
85
+ config: winogrande_xl
86
+ split: validation
87
+ args:
88
+ num_few_shot: 5
89
+ metrics:
90
+ - type: acc
91
+ value: 87.85
92
+ name: accuracy
93
+ source:
94
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=davidkim205/Rhea-72b-v0.5
95
+ name: Open LLM Leaderboard
96
+ - task:
97
+ type: text-generation
98
+ name: Text Generation
99
+ dataset:
100
+ name: GSM8k (5-shot)
101
+ type: gsm8k
102
+ config: main
103
+ split: test
104
+ args:
105
+ num_few_shot: 5
106
+ metrics:
107
+ - type: acc
108
+ value: 76.12
109
+ name: accuracy
110
+ source:
111
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=davidkim205/Rhea-72b-v0.5
112
+ name: Open LLM Leaderboard
113
+ ---
114
+
115
+ # Insanelycool/Rhea-72b-v0.5-Q4_K_M-GGUF
116
+ This model was converted to GGUF format from [`davidkim205/Rhea-72b-v0.5`](https://huggingface.co/davidkim205/Rhea-72b-v0.5) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
117
+ Refer to the [original model card](https://huggingface.co/davidkim205/Rhea-72b-v0.5) for more details on the model.
118
+
119
+ ## Use with llama.cpp
120
+ Install llama.cpp through brew (works on Mac and Linux)
121
+
122
+ ```bash
123
+ brew install llama.cpp
124
+
125
+ ```
126
+ Invoke the llama.cpp server or the CLI.
127
+
128
+ ### CLI:
129
+ ```bash
130
+ llama --hf-repo Insanelycool/Rhea-72b-v0.5-Q4_K_M-GGUF --hf-file rhea-72b-v0.5-q4_k_m.gguf -p "The meaning to life and the universe is"
131
+ ```
132
+
133
+ ### Server:
134
+ ```bash
135
+ llama-server --hf-repo Insanelycool/Rhea-72b-v0.5-Q4_K_M-GGUF --hf-file rhea-72b-v0.5-q4_k_m.gguf -c 2048
136
+ ```
137
+
138
+ 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.
139
+
140
+ Step 1: Clone llama.cpp from GitHub.
141
+ ```
142
+ git clone https://github.com/ggerganov/llama.cpp
143
+ ```
144
+
145
+ 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).
146
+ ```
147
+ cd llama.cpp && LLAMA_CURL=1 make
148
+ ```
149
+
150
+ Step 3: Run inference through the main binary.
151
+ ```
152
+ ./main --hf-repo Insanelycool/Rhea-72b-v0.5-Q4_K_M-GGUF --hf-file rhea-72b-v0.5-q4_k_m.gguf -p "The meaning to life and the universe is"
153
+ ```
154
+ or
155
+ ```
156
+ ./server --hf-repo Insanelycool/Rhea-72b-v0.5-Q4_K_M-GGUF --hf-file rhea-72b-v0.5-q4_k_m.gguf -c 2048
157
+ ```