Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| mamba-gpt-3b-v4.Q2_K.gguf | Q2_K | 1.84GB |
| mamba-gpt-3b-v4.IQ3_XS.gguf | IQ3_XS | 1.84GB |
| mamba-gpt-3b-v4.IQ3_S.gguf | IQ3_S | 1.84GB |
| mamba-gpt-3b-v4.Q3_K_S.gguf | Q3_K_S | 1.84GB |
| mamba-gpt-3b-v4.IQ3_M.gguf | IQ3_M | 1.92GB |
| mamba-gpt-3b-v4.Q3_K.gguf | Q3_K | 1.99GB |
| mamba-gpt-3b-v4.Q3_K_M.gguf | Q3_K_M | 1.99GB |
| mamba-gpt-3b-v4.Q3_K_L.gguf | Q3_K_L | 2.06GB |
| mamba-gpt-3b-v4.IQ4_XS.gguf | IQ4_XS | 1.86GB |
| mamba-gpt-3b-v4.Q4_0.gguf | Q4_0 | 1.84GB |
| mamba-gpt-3b-v4.IQ4_NL.gguf | IQ4_NL | 1.86GB |
| mamba-gpt-3b-v4.Q4_K_S.gguf | Q4_K_S | 2.24GB |
| mamba-gpt-3b-v4.Q4_K.gguf | Q4_K | 2.4GB |
| mamba-gpt-3b-v4.Q4_K_M.gguf | Q4_K_M | 2.4GB |
| mamba-gpt-3b-v4.Q4_1.gguf | Q4_1 | 2.04GB |
| mamba-gpt-3b-v4.Q5_0.gguf | Q5_0 | 2.23GB |
| mamba-gpt-3b-v4.Q5_K_S.gguf | Q5_K_S | 2.42GB |
| mamba-gpt-3b-v4.Q5_K.gguf | Q5_K | 2.57GB |
| mamba-gpt-3b-v4.Q5_K_M.gguf | Q5_K_M | 2.57GB |
| mamba-gpt-3b-v4.Q5_1.gguf | Q5_1 | 2.42GB |
| mamba-gpt-3b-v4.Q6_K.gguf | Q6_K | 3.39GB |
| mamba-gpt-3b-v4.Q8_0.gguf | Q8_0 | 3.39GB |
| Metric | Value |
|---|---|
| MMLU (5-shot) | 30.0 |
| ARC (25-shot) | 42.6 |
| HellaSwag (10-shot) | 71.0 |
| TruthfulQA (0-shot) | 37.3 |
| Avg. | 45.2 |
mamba-gpt-3b-v4 is trained on multiple datasets:transformers library on a machine with GPU(s), first make sure you have the transformers, accelerate and torch libraries installed.1pip install transformers==4.29.2
2pip install accelerate==0.19.0
3pip install torch==2.0.01from transformers import AutoTokenizer, AutoModelForCausalLM
2
3tokenizer = AutoTokenizer.from_pretrained("CobraMamba/mamba-gpt-3b-v4")
4model = AutoModelForCausalLM.from_pretrained("CobraMamba/mamba-gpt-3b-v4", trust_remote_code=True, torch_dtype=torch.float16)
5
6# we use alpaca prompt
7input_content = "Your text here"
8input_ids = tokenizer.encode(input_content, return_tensors="pt")
9output = model.generate(input_ids, max_length=128, temperature=0.7)
10output_text = tokenizer.decode(output[0], skip_special_tokens=True)
11print(output_text)
121@Misc{mamba-gpt-3b-v4,
2 title = {Mamba-GPT-3b-v4},
3 author = {chiliu},
4 howpublished = {\url{https://huggingface.co/CobraMamba/mamba-gpt-3b-v4}},
5 year = {2023}
6}