BasedBots commited on
Commit
4ee4077
·
verified ·
1 Parent(s): 03e0cfa

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
+ - code
5
+ license: apache-2.0
6
+ tags:
7
+ - merge
8
+ - computer science
9
+ - llama-cpp
10
+ - gguf-my-repo
11
+ datasets:
12
+ - open-phi/programming_books_llama
13
+ - open-phi/textbooks
14
+ inference:
15
+ parameters:
16
+ do_sample: true
17
+ temperature: 0.2
18
+ top_p: 0.14
19
+ top_k: 12
20
+ max_new_tokens: 250
21
+ repetition_penalty: 1.15
22
+ widget:
23
+ - text: 'To calculate the factorial of n, we can use the following function:'
24
+ model-index:
25
+ - name: TinyMistral-248M-v2.5
26
+ results:
27
+ - task:
28
+ type: text-generation
29
+ name: Text Generation
30
+ dataset:
31
+ name: AI2 Reasoning Challenge (25-Shot)
32
+ type: ai2_arc
33
+ config: ARC-Challenge
34
+ split: test
35
+ args:
36
+ num_few_shot: 25
37
+ metrics:
38
+ - type: acc_norm
39
+ value: 24.57
40
+ name: normalized accuracy
41
+ source:
42
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Locutusque/TinyMistral-248M-v2.5
43
+ name: Open LLM Leaderboard
44
+ - task:
45
+ type: text-generation
46
+ name: Text Generation
47
+ dataset:
48
+ name: HellaSwag (10-Shot)
49
+ type: hellaswag
50
+ split: validation
51
+ args:
52
+ num_few_shot: 10
53
+ metrics:
54
+ - type: acc_norm
55
+ value: 27.49
56
+ name: normalized accuracy
57
+ source:
58
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Locutusque/TinyMistral-248M-v2.5
59
+ name: Open LLM Leaderboard
60
+ - task:
61
+ type: text-generation
62
+ name: Text Generation
63
+ dataset:
64
+ name: MMLU (5-Shot)
65
+ type: cais/mmlu
66
+ config: all
67
+ split: test
68
+ args:
69
+ num_few_shot: 5
70
+ metrics:
71
+ - type: acc
72
+ value: 23.15
73
+ name: accuracy
74
+ source:
75
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Locutusque/TinyMistral-248M-v2.5
76
+ name: Open LLM Leaderboard
77
+ - task:
78
+ type: text-generation
79
+ name: Text Generation
80
+ dataset:
81
+ name: TruthfulQA (0-shot)
82
+ type: truthful_qa
83
+ config: multiple_choice
84
+ split: validation
85
+ args:
86
+ num_few_shot: 0
87
+ metrics:
88
+ - type: mc2
89
+ value: 46.72
90
+ source:
91
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Locutusque/TinyMistral-248M-v2.5
92
+ name: Open LLM Leaderboard
93
+ - task:
94
+ type: text-generation
95
+ name: Text Generation
96
+ dataset:
97
+ name: Winogrande (5-shot)
98
+ type: winogrande
99
+ config: winogrande_xl
100
+ split: validation
101
+ args:
102
+ num_few_shot: 5
103
+ metrics:
104
+ - type: acc
105
+ value: 47.83
106
+ name: accuracy
107
+ source:
108
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Locutusque/TinyMistral-248M-v2.5
109
+ name: Open LLM Leaderboard
110
+ - task:
111
+ type: text-generation
112
+ name: Text Generation
113
+ dataset:
114
+ name: GSM8k (5-shot)
115
+ type: gsm8k
116
+ config: main
117
+ split: test
118
+ args:
119
+ num_few_shot: 5
120
+ metrics:
121
+ - type: acc
122
+ value: 0.0
123
+ name: accuracy
124
+ source:
125
+ url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Locutusque/TinyMistral-248M-v2.5
126
+ name: Open LLM Leaderboard
127
+ ---
128
+
129
+ # BasedBots/TinyMistral-248M-v2.5-Q4_K_M-GGUF
130
+ This model was converted to GGUF format from [`Locutusque/TinyMistral-248M-v2.5`](https://huggingface.co/Locutusque/TinyMistral-248M-v2.5) 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/Locutusque/TinyMistral-248M-v2.5) for more details on the model.
132
+ ## Use with llama.cpp
133
+
134
+ Install llama.cpp through brew.
135
+
136
+ ```bash
137
+ brew install ggerganov/ggerganov/llama.cpp
138
+ ```
139
+ Invoke the llama.cpp server or the CLI.
140
+
141
+ CLI:
142
+
143
+ ```bash
144
+ llama-cli --hf-repo BasedBots/TinyMistral-248M-v2.5-Q4_K_M-GGUF --model tinymistral-248m-v2.5.Q4_K_M.gguf -p "The meaning to life and the universe is"
145
+ ```
146
+
147
+ Server:
148
+
149
+ ```bash
150
+ llama-server --hf-repo BasedBots/TinyMistral-248M-v2.5-Q4_K_M-GGUF --model tinymistral-248m-v2.5.Q4_K_M.gguf -c 2048
151
+ ```
152
+
153
+ 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.
154
+
155
+ ```
156
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m tinymistral-248m-v2.5.Q4_K_M.gguf -n 128
157
+ ```