adrlau commited on
Commit
1ab6045
1 Parent(s): 770d1f5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +171 -0
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ValiantLabs/Llama3.1-8B-Fireplace2
3
+ language:
4
+ - en
5
+ license: llama3.1
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - fireplace
9
+ - fireplace-2
10
+ - valiant
11
+ - valiant-labs
12
+ - llama
13
+ - llama-3.1
14
+ - llama-3.1-instruct
15
+ - llama-3.1-instruct-8b
16
+ - llama-3
17
+ - llama-3-instruct
18
+ - llama-3-instruct-8b
19
+ - 8b
20
+ - function-calling
21
+ - sql
22
+ - database
23
+ - data-visualization
24
+ - matplotlib
25
+ - json
26
+ - conversational
27
+ - chat
28
+ - instruct
29
+ - llama-cpp
30
+ - gguf-my-repo
31
+ model_type: llama
32
+ model-index:
33
+ - name: Llama3.1-8B-Fireplace2
34
+ results:
35
+ - task:
36
+ type: text-generation
37
+ name: Text Generation
38
+ dataset:
39
+ name: IFEval (0-Shot)
40
+ type: HuggingFaceH4/ifeval
41
+ args:
42
+ num_few_shot: 0
43
+ metrics:
44
+ - type: inst_level_strict_acc and prompt_level_strict_acc
45
+ value: 54.83
46
+ name: strict accuracy
47
+ source:
48
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=ValiantLabs/Llama3.1-8B-Fireplace2
49
+ name: Open LLM Leaderboard
50
+ - task:
51
+ type: text-generation
52
+ name: Text Generation
53
+ dataset:
54
+ name: BBH (3-Shot)
55
+ type: BBH
56
+ args:
57
+ num_few_shot: 3
58
+ metrics:
59
+ - type: acc_norm
60
+ value: 24.07
61
+ name: normalized accuracy
62
+ source:
63
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=ValiantLabs/Llama3.1-8B-Fireplace2
64
+ name: Open LLM Leaderboard
65
+ - task:
66
+ type: text-generation
67
+ name: Text Generation
68
+ dataset:
69
+ name: MATH Lvl 5 (4-Shot)
70
+ type: hendrycks/competition_math
71
+ args:
72
+ num_few_shot: 4
73
+ metrics:
74
+ - type: exact_match
75
+ value: 5.82
76
+ name: exact match
77
+ source:
78
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=ValiantLabs/Llama3.1-8B-Fireplace2
79
+ name: Open LLM Leaderboard
80
+ - task:
81
+ type: text-generation
82
+ name: Text Generation
83
+ dataset:
84
+ name: GPQA (0-shot)
85
+ type: Idavidrein/gpqa
86
+ args:
87
+ num_few_shot: 0
88
+ metrics:
89
+ - type: acc_norm
90
+ value: 5.15
91
+ name: acc_norm
92
+ source:
93
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=ValiantLabs/Llama3.1-8B-Fireplace2
94
+ name: Open LLM Leaderboard
95
+ - task:
96
+ type: text-generation
97
+ name: Text Generation
98
+ dataset:
99
+ name: MuSR (0-shot)
100
+ type: TAUR-Lab/MuSR
101
+ args:
102
+ num_few_shot: 0
103
+ metrics:
104
+ - type: acc_norm
105
+ value: 4.38
106
+ name: acc_norm
107
+ source:
108
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=ValiantLabs/Llama3.1-8B-Fireplace2
109
+ name: Open LLM Leaderboard
110
+ - task:
111
+ type: text-generation
112
+ name: Text Generation
113
+ dataset:
114
+ name: MMLU-PRO (5-shot)
115
+ type: TIGER-Lab/MMLU-Pro
116
+ config: main
117
+ split: test
118
+ args:
119
+ num_few_shot: 5
120
+ metrics:
121
+ - type: acc
122
+ value: 15.63
123
+ name: accuracy
124
+ source:
125
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=ValiantLabs/Llama3.1-8B-Fireplace2
126
+ name: Open LLM Leaderboard
127
+ ---
128
+
129
+ # adrlau/Llama3.1-8B-Fireplace2-Q4_K_M-GGUF
130
+ This model was converted to GGUF format from [`ValiantLabs/Llama3.1-8B-Fireplace2`](https://huggingface.co/ValiantLabs/Llama3.1-8B-Fireplace2) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
131
+ Refer to the [original model card](https://huggingface.co/ValiantLabs/Llama3.1-8B-Fireplace2) for more details on the model.
132
+
133
+ ## Use with llama.cpp
134
+ Install llama.cpp through brew (works on Mac and Linux)
135
+
136
+ ```bash
137
+ brew install llama.cpp
138
+
139
+ ```
140
+ Invoke the llama.cpp server or the CLI.
141
+
142
+ ### CLI:
143
+ ```bash
144
+ llama-cli --hf-repo adrlau/Llama3.1-8B-Fireplace2-Q4_K_M-GGUF --hf-file llama3.1-8b-fireplace2-q4_k_m.gguf -p "The meaning to life and the universe is"
145
+ ```
146
+
147
+ ### Server:
148
+ ```bash
149
+ llama-server --hf-repo adrlau/Llama3.1-8B-Fireplace2-Q4_K_M-GGUF --hf-file llama3.1-8b-fireplace2-q4_k_m.gguf -c 2048
150
+ ```
151
+
152
+ 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.
153
+
154
+ Step 1: Clone llama.cpp from GitHub.
155
+ ```
156
+ git clone https://github.com/ggerganov/llama.cpp
157
+ ```
158
+
159
+ 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).
160
+ ```
161
+ cd llama.cpp && LLAMA_CURL=1 make
162
+ ```
163
+
164
+ Step 3: Run inference through the main binary.
165
+ ```
166
+ ./llama-cli --hf-repo adrlau/Llama3.1-8B-Fireplace2-Q4_K_M-GGUF --hf-file llama3.1-8b-fireplace2-q4_k_m.gguf -p "The meaning to life and the universe is"
167
+ ```
168
+ or
169
+ ```
170
+ ./llama-server --hf-repo adrlau/Llama3.1-8B-Fireplace2-Q4_K_M-GGUF --hf-file llama3.1-8b-fireplace2-q4_k_m.gguf -c 2048
171
+ ```