Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| Fireball-12B.Q2_K.gguf | Q2_K | 4.46GB |
| Fireball-12B.IQ3_XS.gguf | IQ3_XS | 4.94GB |
| Fireball-12B.IQ3_S.gguf | IQ3_S | 5.18GB |
| Fireball-12B.Q3_K_S.gguf | Q3_K_S | 5.15GB |
| Fireball-12B.IQ3_M.gguf | IQ3_M | 5.33GB |
| Fireball-12B.Q3_K.gguf | Q3_K | 5.67GB |
| Fireball-12B.Q3_K_M.gguf | Q3_K_M | 5.67GB |
| Fireball-12B.Q3_K_L.gguf | Q3_K_L | 6.11GB |
| Fireball-12B.IQ4_XS.gguf | IQ4_XS | 6.33GB |
| Fireball-12B.Q4_0.gguf | Q4_0 | 6.59GB |
| Fireball-12B.IQ4_NL.gguf | IQ4_NL | 6.65GB |
| Fireball-12B.Q4_K_S.gguf | Q4_K_S | 6.63GB |
| Fireball-12B.Q4_K.gguf | Q4_K | 6.96GB |
| Fireball-12B.Q4_K_M.gguf | Q4_K_M | 6.96GB |
| Fireball-12B.Q4_1.gguf | Q4_1 | 7.26GB |
| Fireball-12B.Q5_0.gguf | Q5_0 | 7.93GB |
| Fireball-12B.Q5_K_S.gguf | Q5_K_S | 7.93GB |
| Fireball-12B.Q5_K.gguf | Q5_K | 8.13GB |
| Fireball-12B.Q5_K_M.gguf | Q5_K_M | 8.13GB |
| Fireball-12B.Q5_1.gguf | Q5_1 | 8.61GB |
| Fireball-12B.Q6_K.gguf | Q6_K | 9.37GB |
| Fireball-12B.Q8_0.gguf | Q8_0 | 12.13GB |

mistral_inference, a mistral-demo CLI command should be available in your environment.[!IMPORTANT] NOTE: Until a new release has been made, you need to install transformers from source:sh1pip install mistral_inference 2pip install mistral-demo 3pip install git+https://github.com/huggingface/transformers.git
transformers to generate text, you can do something like this.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "EpistemeAI/Fireball-12B"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(model_id)
6inputs = tokenizer("Hello my name is", return_tensors="pt")
7outputs = model.generate(**inputs, max_new_tokens=20)
8print(tokenizer.decode(outputs[0], skip_special_tokens=True))1pip install accelerate #GPU A100/L4
2
3from transformers import AutoModelForCausalLM, AutoTokenizer
4from accelerate import Accelerator
5
6# Initialize the accelerator
7accelerator = Accelerator()
8
9# Define the model ID
10model_id = "EpistemeAI/Fireball-12B"
11
12# Load the tokenizer
13tokenizer = AutoTokenizer.from_pretrained(model_id)
14
15# Load the model and prepare it for distributed setup using accelerate
16model = AutoModelForCausalLM.from_pretrained(model_id)
17
18# Move the model to the appropriate device using accelerate
19model, = accelerator.prepare(model)
20
21# Prepare inputs
22inputs = tokenizer("Hello my name is", return_tensors="pt").to(accelerator.device)
23
24# Generate outputs with the model
25outputs = model.generate(**inputs, max_new_tokens=20)
26
27# Decode and print the outputs
28print(tokenizer.decode(outputs[0], skip_special_tokens=True))[!TIP] Unlike previous Mistral models, Mistral Nemo requires smaller temperatures. We recommend to use a temperature of 0.3.
EpistemeAI/Fireball-12B is a pretrained base model and therefore does not have any moderation mechanisms. Go to Guardrail/Moderation guide section for moderation guide@misc{alpaca,
author = {Rohan Taori and Ishaan Gulrajani and Tianyi Zhang and Yann Dubois and Xuechen Li and Carlos Guestrin and Percy Liang and Tatsunori B. Hashimoto },
title = {Stanford Alpaca: An Instruction-following LLaMA model},
year = {2023},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/tatsu-lab/stanford_alpaca}},
}