Downloads · 30 days
16
1% of all-time downloads
RichardErkhov/reddest-panda_-_AutoMAD-small-gguf
reddest-panda_-_AutoMAD-small-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
16
1% of all-time downloads
All-time downloads
2K
Public
Repo size
7.3 GB
Likes
0
Public
Click a slice to open those files.
.gguf8.5 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
AutoMAD-small - GGUF
| Name | Quant method | Size |
|---|---|---|
| AutoMAD-small.Q2_K.gguf | Q2_K | 0.32GB |
| AutoMAD-small.IQ3_XS.gguf | IQ3_XS | 0.32GB |
| AutoMAD-small.IQ3_S.gguf | IQ3_S | 0.32GB |
| AutoMAD-small.Q3_K_S.gguf | Q3_K_S | 0.32GB |
| AutoMAD-small.IQ3_M.gguf | IQ3_M | 0.32GB |
| AutoMAD-small.Q3_K.gguf | Q3_K | 0.33GB |
| AutoMAD-small.Q3_K_M.gguf | Q3_K_M | 0.33GB |
| AutoMAD-small.Q3_K_L.gguf | Q3_K_L | 0.34GB |
| AutoMAD-small.IQ4_XS.gguf | IQ4_XS | 0.33GB |
| AutoMAD-small.Q4_0.gguf | Q4_0 | 0.33GB |
| AutoMAD-small.IQ4_NL.gguf | IQ4_NL | 0.33GB |
| AutoMAD-small.Q4_K_S.gguf | Q4_K_S | 0.36GB |
| AutoMAD-small.Q4_K.gguf | Q4_K | 0.37GB |
| AutoMAD-small.Q4_K_M.gguf | Q4_K_M | 0.37GB |
| AutoMAD-small.Q4_1.gguf | Q4_1 | 0.35GB |
| AutoMAD-small.Q5_0.gguf | Q5_0 | 0.37GB |
| AutoMAD-small.Q5_K_S.gguf | Q5_K_S | 0.38GB |
| AutoMAD-small.Q5_K.gguf | Q5_K | 0.39GB |
| AutoMAD-small.Q5_K_M.gguf | Q5_K_M | 0.39GB |
| AutoMAD-small.Q5_1.gguf | Q5_1 | 0.39GB |
| AutoMAD-small.Q6_K.gguf | Q6_K | 0.47GB |
| AutoMAD-small.Q8_0.gguf | Q8_0 | 0.49GB |
base_model: Qwen/Qwen2-0.5B-Instruct datasets:
This model was trained using AutoTrain. For more information, please visit AutoTrain.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_path = "reddest-panda/AutoMAD-small"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(
model_path,
device_map="auto",
torch_dtype='auto'
).eval()
# Prompt content: "hi"
messages = [
{"role": "user", "content": "hi"}
]
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
output_ids = model.generate(input_ids.to('cuda'))
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)
# Model response: "Hello! How can I assist you today?"
print(response)