Quantization made by Richard Erkhov. [Github](https://github.com/RichardErkhov) [Discord](https://discord.gg/pvy7H8DZMG) [Request more models](https://github.com/RichardErkhov/quant_request) FrankenMonarch-7B - GGUF - Model creator: https://huggingface.co/mlabonne/ - Original model: https://huggingface.co/mlabonne/FrankenMonarch-7B/ | Name | Quant method | Size | | ---- | ---- | ---- | | [FrankenMonarch-7B.Q2_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q2_K.gguf) | Q2_K | 3.73GB | | [FrankenMonarch-7B.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.IQ3_XS.gguf) | IQ3_XS | 4.14GB | | [FrankenMonarch-7B.IQ3_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.IQ3_S.gguf) | IQ3_S | 4.37GB | | [FrankenMonarch-7B.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q3_K_S.gguf) | Q3_K_S | 4.34GB | | [FrankenMonarch-7B.IQ3_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.IQ3_M.gguf) | IQ3_M | 4.51GB | | [FrankenMonarch-7B.Q3_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q3_K.gguf) | Q3_K | 4.84GB | | [FrankenMonarch-7B.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q3_K_M.gguf) | Q3_K_M | 4.84GB | | [FrankenMonarch-7B.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q3_K_L.gguf) | Q3_K_L | 5.26GB | | [FrankenMonarch-7B.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.IQ4_XS.gguf) | IQ4_XS | 5.43GB | | [FrankenMonarch-7B.Q4_0.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q4_0.gguf) | Q4_0 | 5.66GB | | [FrankenMonarch-7B.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.IQ4_NL.gguf) | IQ4_NL | 5.72GB | | [FrankenMonarch-7B.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q4_K_S.gguf) | Q4_K_S | 5.7GB | | [FrankenMonarch-7B.Q4_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q4_K.gguf) | Q4_K | 6.02GB | | [FrankenMonarch-7B.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q4_K_M.gguf) | Q4_K_M | 6.02GB | | [FrankenMonarch-7B.Q4_1.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q4_1.gguf) | Q4_1 | 6.27GB | | [FrankenMonarch-7B.Q5_0.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q5_0.gguf) | Q5_0 | 6.89GB | | [FrankenMonarch-7B.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q5_K_S.gguf) | Q5_K_S | 6.89GB | | [FrankenMonarch-7B.Q5_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q5_K.gguf) | Q5_K | 7.08GB | | [FrankenMonarch-7B.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q5_K_M.gguf) | Q5_K_M | 7.08GB | | [FrankenMonarch-7B.Q5_1.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q5_1.gguf) | Q5_1 | 7.51GB | | [FrankenMonarch-7B.Q6_K.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q6_K.gguf) | Q6_K | 8.2GB | | [FrankenMonarch-7B.Q8_0.gguf](https://huggingface.co/RichardErkhov/mlabonne_-_FrankenMonarch-7B-gguf/blob/main/FrankenMonarch-7B.Q8_0.gguf) | Q8_0 | 10.62GB | Original model description: --- license: cc-by-nc-4.0 tags: - merge - mergekit - lazymergekit base_model: - mlabonne/AlphaMonarch-7B - mlabonne/AlphaMonarch-7B - mlabonne/AlphaMonarch-7B - mlabonne/AlphaMonarch-7B - mlabonne/AlphaMonarch-7B --- # FrankenMonarch-7B FrankenMonarch-7B is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing): * [mlabonne/AlphaMonarch-7B](https://huggingface.co/mlabonne/AlphaMonarch-7B) * [mlabonne/AlphaMonarch-7B](https://huggingface.co/mlabonne/AlphaMonarch-7B) * [mlabonne/AlphaMonarch-7B](https://huggingface.co/mlabonne/AlphaMonarch-7B) * [mlabonne/AlphaMonarch-7B](https://huggingface.co/mlabonne/AlphaMonarch-7B) * [mlabonne/AlphaMonarch-7B](https://huggingface.co/mlabonne/AlphaMonarch-7B) # Quantized versions : - [**GGUF**](https://huggingface.co/seyf1elislam/FrankenMonarch-7B-GGUF) ## 🧩 Configuration ```yaml dtype: float16 merge_method: passthrough slices: - sources: - model: mlabonne/AlphaMonarch-7B layer_range: [0,9] - sources: - model: mlabonne/AlphaMonarch-7B layer_range: [5,14] - sources: - model: mlabonne/AlphaMonarch-7B layer_range: [10,19] - sources: - model: mlabonne/AlphaMonarch-7B layer_range: [15,24] - sources: - model: mlabonne/AlphaMonarch-7B layer_range: [20,32] ``` ## 💻 Usage ```python !pip install -qU transformers accelerate from transformers import AutoTokenizer import transformers import torch model = "mlabonne/FrankenMonarch-7B" messages = [{"role": "user", "content": "What is a large language model?"}] tokenizer = AutoTokenizer.from_pretrained(model) prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True) pipeline = transformers.pipeline( "text-generation", model=model, torch_dtype=torch.float16, device_map="auto", ) outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95) print(outputs[0]["generated_text"]) ```