Downloads · 30 days
15
12% of all-time downloads
ahmedhugging12/Llama-3.2-3B-Psychology-GGUF
Llama-3.2-3B-Psychology-GGUF is a machine learning model from ahmedhugging12. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.2.
This is a GGUF (FP16) version of Llama-3.2-3B fine-tuned for generating psychology quiz questions.
Downloads · 30 days
15
12% of all-time downloads
All-time downloads
121
Public
Repo size
6.4 GB
Likes
0
Public
Click a slice to open those files.
.gguf6.4 GB · 100%
From the Hugging Face model README
This is a GGUF (FP16) version of Llama-3.2-3B fine-tuned for generating psychology quiz questions.
from llama_cpp import Llama
llm = Llama(
model_path="Llama-3.2-3B-Psychology-FP16.gguf",
n_ctx=2048,
n_threads=8
)
# Retrieve context from psychology textbook first
context = "..." # Your RAG context here
prompt = f"""[INST] The following context is from a psychology textbook:
{context}
Based on the context above, generate 1 multiple-choice question about classical conditioning.
[/INST]"""
output = llm(prompt, max_tokens=250, temperature=0.2)
print(output['choices'][0]['text'])