Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| LLaMAntino-2-13b-hf-ITA.Q2_K.gguf | Q2_K | 4.52GB |
| LLaMAntino-2-13b-hf-ITA.Q3_K_S.gguf | Q3_K_S | 5.27GB |
| LLaMAntino-2-13b-hf-ITA.Q3_K.gguf | Q3_K | 5.9GB |
| LLaMAntino-2-13b-hf-ITA.Q3_K_M.gguf | Q3_K_M | 5.9GB |
| LLaMAntino-2-13b-hf-ITA.Q3_K_L.gguf | Q3_K_L | 6.45GB |
| LLaMAntino-2-13b-hf-ITA.IQ4_XS.gguf | IQ4_XS | 6.54GB |
| LLaMAntino-2-13b-hf-ITA.Q4_0.gguf | Q4_0 | 6.86GB |
| LLaMAntino-2-13b-hf-ITA.IQ4_NL.gguf | IQ4_NL | 6.9GB |
| LLaMAntino-2-13b-hf-ITA.Q4_K_S.gguf | Q4_K_S | 6.91GB |
| LLaMAntino-2-13b-hf-ITA.Q4_K.gguf | Q4_K | 7.33GB |
| LLaMAntino-2-13b-hf-ITA.Q4_K_M.gguf | Q4_K_M | 4.64GB |
| LLaMAntino-2-13b-hf-ITA.Q4_1.gguf | Q4_1 | 7.61GB |
| LLaMAntino-2-13b-hf-ITA.Q5_0.gguf | Q5_0 | 8.36GB |
| LLaMAntino-2-13b-hf-ITA.Q5_K_S.gguf | Q5_K_S | 4.22GB |
| LLaMAntino-2-13b-hf-ITA.Q5_K.gguf | Q5_K | 8.6GB |
| LLaMAntino-2-13b-hf-ITA.Q5_K_M.gguf | Q5_K_M | 8.6GB |
| LLaMAntino-2-13b-hf-ITA.Q5_1.gguf | Q5_1 | 9.1GB |
| LLaMAntino-2-13b-hf-ITA.Q6_K.gguf | Q6_K | 9.95GB |
| LLaMAntino-2-13b-hf-ITA.Q8_0.gguf | Q8_0 | 12.88GB |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "swap-uniba/LLaMAntino-2-13b-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}