Downloads · 30 days
9
10% of all-time downloads
khysam2022/RAG-DSE-PAST-PAPER-2012-ICT
RAG-DSE-PAST-PAPER-2012-ICT is a question answering model from khysam2022. Use it when the input is a question plus a passage. The card lists the license as cc-by-4.0.
Gemma 3 4B model fine-tuned for answering questions about DSE ICT 2012 past paper using RAG
Downloads · 30 days
9
10% of all-time downloads
All-time downloads
86
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 52%
From the Hugging Face model README
Gemma 3 4B model fine-tuned for answering questions about DSE ICT 2012 past paper using RAG
This model is based on Gemma 3 4B and has been optimized for answering questions about PDF documents using Retrieval Augmented Generation (RAG).
You can use this model with the Transformers library:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("khysam2022/RAG-DSE-PAST-PAPER-2012-ICT")
model = AutoModelForCausalLM.from_pretrained("khysam2022/RAG-DSE-PAST-PAPER-2012-ICT")
# Example usage with RAG
prompt = "What is the main topic of this document?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
This model was adapted from Google's Gemma 3 4B model and fine-tuned for PDF question-answering.
This model inherits the limitations and biases of the base Gemma 3 model.