gghfez commited on
Commit
363c230
·
verified ·
1 Parent(s): d064587

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -35
README.md CHANGED
@@ -2,7 +2,8 @@
2
  license: apache-2.0
3
  language:
4
  - en
5
- base_model: gghfez/WizardLM-2-22b-RP
 
6
  pipeline_tag: text-generation
7
  library_name: transformers
8
  tags:
@@ -10,50 +11,51 @@ tags:
10
  - creative
11
  - writing
12
  - roleplay
13
- - llama-cpp
14
- - gguf-my-repo
15
  ---
16
 
17
- # gghfez/WizardLM-2-22b-RP-Q6_K-GGUF
18
- This model was converted to GGUF format from [`gghfez/WizardLM-2-22b-RP`](https://huggingface.co/gghfez/WizardLM-2-22b-RP) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
19
- Refer to the [original model card](https://huggingface.co/gghfez/WizardLM-2-22b-RP) for more details on the model.
20
 
21
- ## Use with llama.cpp
22
- Install llama.cpp through brew (works on Mac and Linux)
23
 
24
- ```bash
25
- brew install llama.cpp
26
 
27
- ```
28
- Invoke the llama.cpp server or the CLI.
29
 
30
- ### CLI:
31
- ```bash
32
- llama-cli --hf-repo gghfez/WizardLM-2-22b-RP-Q6_K-GGUF --hf-file wizardlm-2-22b-rp-q6_k.gguf -p "The meaning to life and the universe is"
33
- ```
34
 
35
- ### Server:
36
- ```bash
37
- llama-server --hf-repo gghfez/WizardLM-2-22b-RP-Q6_K-GGUF --hf-file wizardlm-2-22b-rp-q6_k.gguf -c 2048
38
- ```
 
39
 
40
- 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.
41
 
42
- Step 1: Clone llama.cpp from GitHub.
43
- ```
44
- git clone https://github.com/ggerganov/llama.cpp
45
- ```
46
 
47
- 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).
48
- ```
49
- cd llama.cpp && LLAMA_CURL=1 make
50
- ```
51
 
52
- Step 3: Run inference through the main binary.
53
- ```
54
- ./llama-cli --hf-repo gghfez/WizardLM-2-22b-RP-Q6_K-GGUF --hf-file wizardlm-2-22b-rp-q6_k.gguf -p "The meaning to life and the universe is"
55
- ```
56
- or
 
 
 
57
  ```
58
- ./llama-server --hf-repo gghfez/WizardLM-2-22b-RP-Q6_K-GGUF --hf-file wizardlm-2-22b-rp-q6_k.gguf -c 2048
59
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: apache-2.0
3
  language:
4
  - en
5
+ base_model:
6
+ - gghfez/WizardLM-2-22b-RP
7
  pipeline_tag: text-generation
8
  library_name: transformers
9
  tags:
 
11
  - creative
12
  - writing
13
  - roleplay
 
 
14
  ---
15
 
16
+ GGUF Quants of [gghfez/WizardLM-2-22B-RP](https://huggingface.co/gghfez/WizardLM-2-22B-RP)
 
 
17
 
 
 
18
 
19
+ Original Model Card:
 
20
 
21
+ # gghfez/WizardLM2-22b-RP
 
22
 
23
+ <img src="https://files.catbox.moe/acl4ld.png" width="400"/>
 
 
 
24
 
25
+ ⚠️ **IMPORTANT: Experimental Model - Not recommended for Production Use**
26
+ - This is an experimental model created through bespoke, unorthodox merging techniques
27
+ - The safety alignment and guardrails from the original WizardLM2 model may be compromised
28
+ - This model is intended for creative writing and roleplay purposes ONLY
29
+ - Use at your own risk and with appropriate content filtering in place
30
 
 
31
 
32
+ This model is an experimental derivative of WizardLM2-8x22B, created by extracting the individual experts from the original mixture-of-experts (MoE) model, renaming the mlp modules to match the Mistral architecture, and merging them into a single dense model using linear merging via mergekit.
 
 
 
33
 
34
+ The resulting model initially produced gibberish, but after fine-tuning on synthetic data generated by the original WizardLM2-8x22B, it regained the ability to generate relatively coherent text. However, the model exhibits confusion about world knowledge and mixes up the names of well known people.
 
 
 
35
 
36
+ Despite efforts to train the model on factual data, the confusion persisted, so instead I trained it for creative tasks.
37
+
38
+ As a result, this model is not recommended for use as a general assistant or for tasks that require accurate real-world knowledge (don't bother running MMLU-Pro on it).
39
+
40
+ It actually retrieves details out of context very accurately, but I still can't recommend it for anything other than creative tasks.
41
+
42
+ ## Prompt format
43
+ Mistral-v1 + the system tags from Mistral-V7 :
44
  ```
45
+ [SYSTEM_PROMPT] {system}[SYSTEM_PROMPT] [INST] {prompt}[/INST]
46
  ```
47
+ **NOTE:** This model is based on WizardLM2-8x22B, which is a finetune of Mixtral-8x22B - not to be confused with the more recent Mistral-Small-22B model.
48
+ As such, it uses the same vocabulary and tokenizer as Mixtral-v0.1 and inherites the Apache2.0 license.
49
+ I expanded the vocab to include the system prompt and instruction tags before training (including embedding heads).
50
+
51
+ ## Quants
52
+
53
+ TODO
54
+
55
+ ## Examples:
56
+
57
+ ### Strength: Information Extraction from Context
58
+ [example 1]
59
+
60
+ ### Weakness: Basic Factual Knowledge
61
+ [example 2]