Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| LLaMAntino-2-7b-hf-ITA.Q2_K.gguf | Q2_K | 2.36GB |
| LLaMAntino-2-7b-hf-ITA.IQ3_XS.gguf | IQ3_XS | 2.6GB |
| LLaMAntino-2-7b-hf-ITA.IQ3_S.gguf | IQ3_S | 2.75GB |
| LLaMAntino-2-7b-hf-ITA.Q3_K_S.gguf | Q3_K_S | 2.75GB |
| LLaMAntino-2-7b-hf-ITA.IQ3_M.gguf | IQ3_M | 2.9GB |
| LLaMAntino-2-7b-hf-ITA.Q3_K.gguf | Q3_K | 3.07GB |
| LLaMAntino-2-7b-hf-ITA.Q3_K_M.gguf | Q3_K_M | 3.07GB |
| LLaMAntino-2-7b-hf-ITA.Q3_K_L.gguf | Q3_K_L | 3.35GB |
| LLaMAntino-2-7b-hf-ITA.IQ4_XS.gguf | IQ4_XS | 3.4GB |
| LLaMAntino-2-7b-hf-ITA.Q4_0.gguf | Q4_0 | 3.56GB |
| LLaMAntino-2-7b-hf-ITA.IQ4_NL.gguf | IQ4_NL | 3.58GB |
| LLaMAntino-2-7b-hf-ITA.Q4_K_S.gguf | Q4_K_S | 3.59GB |
| LLaMAntino-2-7b-hf-ITA.Q4_K.gguf | Q4_K | 3.8GB |
| LLaMAntino-2-7b-hf-ITA.Q4_K_M.gguf | Q4_K_M | 3.8GB |
| LLaMAntino-2-7b-hf-ITA.Q4_1.gguf | Q4_1 | 3.95GB |
| LLaMAntino-2-7b-hf-ITA.Q5_0.gguf | Q5_0 | 4.33GB |
| LLaMAntino-2-7b-hf-ITA.Q5_K_S.gguf | Q5_K_S | 4.33GB |
| LLaMAntino-2-7b-hf-ITA.Q5_K.gguf | Q5_K | 4.45GB |
| LLaMAntino-2-7b-hf-ITA.Q5_K_M.gguf | Q5_K_M | 4.45GB |
| LLaMAntino-2-7b-hf-ITA.Q5_1.gguf | Q5_1 | 4.72GB |
| LLaMAntino-2-7b-hf-ITA.Q6_K.gguf | Q6_K | 5.15GB |
| LLaMAntino-2-7b-hf-ITA.Q8_0.gguf | Q8_0 | 6.67GB |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "swap-uniba/LLaMAntino-2-7b-hf-ITA"
4
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(model_id)
7
8prompt = "Scrivi qui un possibile prompt"
9
10input_ids = tokenizer(prompt, return_tensors="pt").input_ids
11outputs = model.generate(input_ids=input_ids)
12
13print(tokenizer.batch_decode(outputs.detach().cpu().numpy()[:, input_ids.shape[1]:], skip_special_tokens=True)[0])model = AutoModelForCausalLM.from_pretrained(model_id, load_in_8bit=True)1@misc{basile2023llamantino,
2 title={LLaMAntino: LLaMA 2 Models for Effective Text Generation in Italian Language},
3 author={Pierpaolo Basile and Elio Musacchio and Marco Polignano and Lucia Siciliani and Giuseppe Fiameni and Giovanni Semeraro},
4 year={2023},
5 eprint={2312.09993},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL}
8}