Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| Llama-3.2-Nemotron-3B.Q2_K.gguf | Q2_K | 1.27GB |
| Llama-3.2-Nemotron-3B.Q3_K_S.gguf | Q3_K_S | 1.44GB |
| Llama-3.2-Nemotron-3B.Q3_K.gguf | Q3_K | 1.57GB |
| Llama-3.2-Nemotron-3B.Q3_K_M.gguf | Q3_K_M | 1.57GB |
| Llama-3.2-Nemotron-3B.Q3_K_L.gguf | Q3_K_L | 1.69GB |
| Llama-3.2-Nemotron-3B.IQ4_XS.gguf | IQ4_XS | 1.71GB |
| Llama-3.2-Nemotron-3B.Q4_0.gguf | Q4_0 | 1.79GB |
| Llama-3.2-Nemotron-3B.IQ4_NL.gguf | IQ4_NL | 1.79GB |
| Llama-3.2-Nemotron-3B.Q4_K_S.gguf | Q4_K_S | 1.8GB |
| Llama-3.2-Nemotron-3B.Q4_K.gguf | Q4_K | 1.88GB |
| Llama-3.2-Nemotron-3B.Q4_K_M.gguf | Q4_K_M | 1.88GB |
| Llama-3.2-Nemotron-3B.Q4_1.gguf | Q4_1 | 1.95GB |
| Llama-3.2-Nemotron-3B.Q5_0.gguf | Q5_0 | 2.11GB |
| Llama-3.2-Nemotron-3B.Q5_K_S.gguf | Q5_K_S | 2.11GB |
| Llama-3.2-Nemotron-3B.Q5_K.gguf | Q5_K | 2.16GB |
| Llama-3.2-Nemotron-3B.Q5_K_M.gguf | Q5_K_M | 2.16GB |
| Llama-3.2-Nemotron-3B.Q5_1.gguf | Q5_1 | 2.28GB |
| Llama-3.2-Nemotron-3B.Q6_K.gguf | Q6_K | 2.46GB |
| Llama-3.2-Nemotron-3B.Q8_0.gguf | Q8_0 | 3.19GB |
1!pip install -qU transformers accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "itsnebulalol/Llama-3.2-Nemotron-3B"
8messages = [{"role": "user", "content": "How many r in strawberry?"}]
9
10tokenizer = AutoTokenizer.from_pretrained(model)
11prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
12pipeline = transformers.pipeline(
13 "text-generation",
14 model=model,
15 torch_dtype=torch.float16,
16 device_map="auto",
17)
18
19outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
20print(outputs[0]["generated_text"])