Model description
base_model: mistralai/Mistral-7B-Instruct-v0.3
language:
- en
- id
tags:
- lora
- peft
- question-generation
- education
- kurikulum-merdeka
license: apache-2.0
🇮🇩 Mistral-7B MerdekAI Question Generator (LoRA Adapter)
This is a LoRA adapter fine-tuned from the Mistral-7B-Instruct-v0.3 model, specifically designed to generate English Question-Answer Pairs (QAPs) aligned with the Kurikulum Merdeka for Phase E and Phase F.
The model is trained and adapted for Indonesian senior high school (SMA) students following the Kurikulum Merdeka standards.
📌 Model Details
- Developer: Ardhika Krishna Wijaya (Institut Teknologi Sepuluh Nopember / ITS Surabaya)
- Model Type: Causal Language Model (LoRA Adapter)
- Base Model: `mistralai/Mistral-7B-Instruct-v0.3`
- Language: English (with Indonesian educational context)
- Task: Automatic Question Generation (AQG)
🎯 Intended Use
This model serves as the core inference engine for a mobile application designed to help high school teachers automatically generate reading comprehension exercises, including:
- Cloze Tests (fill-in-the-blank questions)
- Multiple Choice Questions (MCQs), including plausible distractors
🚀 How to Use
Since this is a LoRA adapter (PEFT), it must be loaded together with its base model. Below is an example using the `transformers` and `peft` libraries:
```python
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
1. Load Base Model
base_model_id = "mistralai/Mistral-7B-Instruct-v0.3"
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
load_in_4bit=True
)
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
2. Load Adapter
adapter_id = "ardhikakrsh/mistral-merdeka-curriculum-sma"
model = PeftModel.from_pretrained(base_model, adapter_id)
print("Model is ready for question generation!")
Download model
Download them in the Files & versions tab.