Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- chemistry
|
7 |
+
- biology
|
8 |
+
- not-for-all-audiences
|
9 |
+
- merge
|
10 |
+
- code
|
11 |
+
- llama-cpp
|
12 |
+
- gguf-my-repo
|
13 |
+
base_model: Locutusque/TinyMistral-248M-v2.5
|
14 |
+
datasets:
|
15 |
+
- Locutusque/hercules-v1.0
|
16 |
+
- Open-Orca/SlimOrca-Dedup
|
17 |
+
inference:
|
18 |
+
parameters:
|
19 |
+
do_sample: true
|
20 |
+
renormalize_logits: false
|
21 |
+
temperature: 0.8
|
22 |
+
top_p: 0.14
|
23 |
+
top_k: 12
|
24 |
+
min_new_tokens: 2
|
25 |
+
max_new_tokens: 96
|
26 |
+
repetition_penalty: 1.15
|
27 |
+
no_repeat_ngram_size: 5
|
28 |
+
epsilon_cutoff: 0.002
|
29 |
+
widget:
|
30 |
+
- text: '<|im_start|>user
|
31 |
+
|
32 |
+
Write me a Python program that calculates the factorial of n. <|im_end|>
|
33 |
+
|
34 |
+
<|im_start|>assistant
|
35 |
+
|
36 |
+
'
|
37 |
+
---
|
38 |
+
|
39 |
+
# BasedBots/TinyMistral-248M-v2.5-Instruct-Q4_K_M-GGUF
|
40 |
+
This model was converted to GGUF format from [`Locutusque/TinyMistral-248M-v2.5-Instruct`](https://huggingface.co/Locutusque/TinyMistral-248M-v2.5-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
41 |
+
Refer to the [original model card](https://huggingface.co/Locutusque/TinyMistral-248M-v2.5-Instruct) for more details on the model.
|
42 |
+
## Use with llama.cpp
|
43 |
+
|
44 |
+
Install llama.cpp through brew.
|
45 |
+
|
46 |
+
```bash
|
47 |
+
brew install ggerganov/ggerganov/llama.cpp
|
48 |
+
```
|
49 |
+
Invoke the llama.cpp server or the CLI.
|
50 |
+
|
51 |
+
CLI:
|
52 |
+
|
53 |
+
```bash
|
54 |
+
llama-cli --hf-repo BasedBots/TinyMistral-248M-v2.5-Instruct-Q4_K_M-GGUF --model tinymistral-248m-v2.5-instruct.Q4_K_M.gguf -p "The meaning to life and the universe is"
|
55 |
+
```
|
56 |
+
|
57 |
+
Server:
|
58 |
+
|
59 |
+
```bash
|
60 |
+
llama-server --hf-repo BasedBots/TinyMistral-248M-v2.5-Instruct-Q4_K_M-GGUF --model tinymistral-248m-v2.5-instruct.Q4_K_M.gguf -c 2048
|
61 |
+
```
|
62 |
+
|
63 |
+
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.
|
64 |
+
|
65 |
+
```
|
66 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m tinymistral-248m-v2.5-instruct.Q4_K_M.gguf -n 128
|
67 |
+
```
|