AlecKarfonta commited on
Commit
93b0988
1 Parent(s): a9a84d9

Upload README.md with huggingface_hub

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