Downloads · 30 days
17
4% of all-time downloads
RichardErkhov/MoxoffSpA_-_Volare-gguf
MoxoffSpA_-_Volare-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
17
4% of all-time downloads
All-time downloads
457
Public
Repo size
99.8 GB
Likes
0
Public
Click a slice to open those files.
.gguf116 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Volare - GGUF
| Name | Quant method | Size |
|---|---|---|
| Volare.Q2_K.gguf | Q2_K | 3.24GB |
| Volare.IQ3_XS.gguf | IQ3_XS | 3.54GB |
| Volare.IQ3_S.gguf | IQ3_S | 3.71GB |
| Volare.Q3_K_S.gguf | Q3_K_S | 3.71GB |
| Volare.IQ3_M.gguf | IQ3_M | 3.82GB |
| Volare.Q3_K.gguf | Q3_K | 4.07GB |
| Volare.Q3_K_M.gguf | Q3_K_M | 4.07GB |
| Volare.Q3_K_L.gguf | Q3_K_L | 4.39GB |
| Volare.IQ4_XS.gguf | IQ4_XS | 4.48GB |
| Volare.Q4_0.gguf | Q4_0 | 4.67GB |
| Volare.IQ4_NL.gguf | IQ4_NL | 4.69GB |
| Volare.Q4_K_S.gguf | Q4_K_S | 4.7GB |
| Volare.Q4_K.gguf | Q4_K | 4.96GB |
| Volare.Q4_K_M.gguf | Q4_K_M | 4.96GB |
| Volare.Q4_1.gguf | Q4_1 | 5.12GB |
| Volare.Q5_0.gguf | Q5_0 | 5.57GB |
| Volare.Q5_K_S.gguf | Q5_K_S | 5.57GB |
| Volare.Q5_K.gguf | Q5_K | 5.72GB |
| Volare.Q5_K_M.gguf | Q5_K_M | 5.72GB |
| Volare.Q5_1.gguf | Q5_1 | 6.02GB |
| Volare.Q6_K.gguf | Q6_K | 6.53GB |
| Volare.Q8_0.gguf | Q8_0 | 8.45GB |
license: mit language:
Volare is an updated version of Gemma7B, specifically fine-tuned with SFT and LoRA adjustments.
We evaluated the model using the same test sets as used for the Open Ita LLM Leaderboard
| hellaswag_it acc_norm | arc_it acc_norm | m_mmlu_it 5-shot acc | Average | F1 |
|---|---|---|---|---|
| 0.6474 | 0.4671 | 0.5521 | 0.555 | 69.82 |
Be sure to install these dependencies before running the program
!pip install transformers torch sentencepiece
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cpu" # if you want to use the gpu make sure to have cuda toolkit installed and change this to "cuda"
model = AutoModelForCausalLM.from_pretrained("MoxoffSpA/Volare")
tokenizer = AutoTokenizer.from_pretrained("MoxoffSpA/Volare")
question = """Quanto è alta la torre di Pisa?"""
context = """
La Torre di Pisa è un campanile del XII secolo, famoso per la sua inclinazione. Alta circa 56 metri.
"""
prompt = f"Domanda: {question}, contesto: {context}"
messages = [
{"role": "user", "content": prompt}
]
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
model_inputs = encodeds.to(device)
model.to(device)
generated_ids = model.generate(
model_inputs, # The input to the model
max_new_tokens=128, # Limiting the maximum number of new tokens generated
do_sample=True, # Enabling sampling to introduce randomness in the generation
temperature=0.1, # Setting temperature to control the randomness, lower values make it more deterministic
top_p=0.95, # Using nucleus sampling with top-p filtering for more coherent generation
eos_token_id=tokenizer.eos_token_id # Specifying the token that indicates the end of a sequence
)
decoded_output = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
trimmed_output = decoded_output.strip()
print(trimmed_output)
Volare has not been aligned to human preferences for safety within the RLHF phase or deployed with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so). It is also unknown what the size and composition of the corpus was used to train the base model, however it is likely to have included a mix of Web data and technical sources like books and code.
We have published as well the 4 bit and 8 bit versions of this model: https://huggingface.co/MoxoffSpA/VolareQuantized
Jacopo Abate, Marco D'Ambra, Luigi Simeone, Gianpaolo Francesco Trotta