bartowski commited on
Commit
2d78c70
1 Parent(s): 1d23622

Main branch

Browse files
Files changed (2) hide show
  1. README.md +62 -0
  2. measurement.json +0 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: qblocks/mistral_7b_norobots
3
+ datasets:
4
+ - HuggingFaceH4/no_robots
5
+ inference: false
6
+ library_name: peft
7
+ license: apache-2.0
8
+ model_creator: MonsterAPI
9
+ model_name: Mistral 7B Norobots
10
+ model_type: mistral
11
+ prompt_template: '<|system|> </s> <|user|> {prompt} </s> <|assistant|> {{response}}
12
+ </s>
13
+
14
+ '
15
+ quantized_by: TheBloke
16
+ tags:
17
+ - code
18
+ - instruct
19
+ - llama2
20
+ quantized_by: bartowski
21
+ pipeline_tag: text-generation
22
+ ---
23
+
24
+ ## Exllama v2 Quantizations of mistral_7b_norobots
25
+
26
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.8">turboderp's ExLlamaV2 v0.0.8</a> for quantization.
27
+
28
+ Each branch contains an individual bits per weight, with the main one containing only the meaurement.json for further conversions.
29
+
30
+ Conversion was done using wikitext-103-raw-v1-test.parquet as calibration dataset.
31
+
32
+ Default arguments used except when the bits per weight is above 6.0, at that point the lm_head layer is quantized at 8 bits per weight instead of the default 6.
33
+
34
+ Original model: https://huggingface.co/TheBloke/mistral_7b_norobots-fp16
35
+
36
+ ## Download instructions
37
+
38
+ With git:
39
+
40
+ ```shell
41
+ git clone --single-branch --branch 4_0 https://huggingface.co/bartowski/mistral_7b_norobots-exl2
42
+ ```
43
+
44
+ With huggingface hub (credit to TheBloke for instructions):
45
+
46
+ ```shell
47
+ pip3 install huggingface-hub
48
+ ```
49
+
50
+ To download the `main` (only useful if you only care about measurement.json) branch to a folder called `mistral_7b_norobots-exl2`:
51
+
52
+ ```shell
53
+ mkdir mistral_7b_norobots-exl2
54
+ huggingface-cli download bartowski/mistral_7b_norobots-exl2 --local-dir mistral_7b_norobots-exl2 --local-dir-use-symlinks False
55
+ ```
56
+
57
+ To download from a different branch, add the `--revision` parameter:
58
+
59
+ ```shell
60
+ mkdir mistral_7b_norobots-exl2
61
+ huggingface-cli download bartowski/mistral_7b_norobots-exl2 --revision 4_0 --local-dir mistral_7b_norobots-exl2 --local-dir-use-symlinks False
62
+ ```
measurement.json ADDED
The diff for this file is too large to render. See raw diff