DimasMP3 commited on
Commit
f29a6df
ยท
verified ยท
1 Parent(s): 81908c8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +74 -6
README.md CHANGED
@@ -1,21 +1,89 @@
1
  ---
2
  base_model: unsloth/Qwen2.5-7B-Instruct
3
  tags:
 
 
 
 
4
  - text-generation-inference
5
  - transformers
6
  - unsloth
7
  - qwen2
8
  license: apache-2.0
9
  language:
 
10
  - en
11
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
- # Uploaded finetuned model
 
 
14
 
15
- - **Developed by:** DimasMP3
16
- - **License:** apache-2.0
17
- - **Finetuned from model :** unsloth/Qwen2.5-7B-Instruct
 
 
18
 
19
- This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
 
 
 
 
 
 
20
 
21
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
1
  ---
2
  base_model: unsloth/Qwen2.5-7B-Instruct
3
  tags:
4
+ - education
5
+ - indonesia
6
+ - exam-generator
7
+ - kurikulum-merdeka
8
  - text-generation-inference
9
  - transformers
10
  - unsloth
11
  - qwen2
12
  license: apache-2.0
13
  language:
14
+ - id
15
  - en
16
  ---
17
+ datasets:
18
+ - DimasMP3/Indo-Elementary-School-Exams (custom)
19
+ metrics:
20
+ - eval_loss: 0.6869
21
+ ---
22
+
23
+ # ๐ŸŽ“ Qwen2.5-7B-Indo-Exam-Generator-16bit
24
+
25
+ [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200" align="right"/>](https://github.com/unslothai/unsloth)
26
+
27
+ **Developed by:** [Dimas Maulana Putra (DimasMP3)](https://github.com/DimasMP3)
28
+ **Model Type:** Specialized Fine-Tuned for Indonesian Elementary Education
29
+ **Training Status:** Optimal @ Step 500 (Eval Loss: 0.686)
30
+
31
+ ---
32
+
33
+ ## ๐ŸŒŸ Overview
34
+ **Qwen2.5-Indo-Exam-Generator** adalah model bahasa yang telah di-finetuning secara khusus untuk menjawab tantangan dunia pendidikan di Indonesia. Model ini dilatih menggunakan dataset berkualitas tinggi sebanyak **4.500+ soal sekolah dasar** yang disesuaikan dengan **Kurikulum Merdeka**.
35
+
36
+ Model ini bukan sekadar AI umum; ia dirancang untuk berperan sebagai **Guru Digital** yang mampu menghasilkan soal ujian (pilihan ganda) lengkap dengan kunci jawaban dan pembahasan yang akurat.
37
+
38
+ ### โœจ Key Features
39
+ - ๐Ÿ‡ฎ๐Ÿ‡ฉ **Native Indonesian Support:** Memahami istilah pendidikan lokal (IPAS, HOTS, Kurikulum Merdeka).
40
+ - ๐Ÿ“ **Structured Output:** Konsisten dalam menghasilkan format Soal, Opsi (A-D), Kunci, dan Pembahasan.
41
+ - ๐Ÿง  **RAG Ready:** Dioptimalkan untuk bekerja dengan sistem *Retrieval-Augmented Generation* (pgvector/Drizzle).
42
+ - ๐Ÿš€ **High Precision:** Fine-tuned dalam format 16-bit untuk akurasi logika yang tajam.
43
+
44
+ ---
45
+
46
+ ## ๐Ÿ“Š Training Results (WandB Metrics)
47
+ Training dilakukan dengan pengawasan ketat terhadap *Validation Loss* untuk mencegah halusinasi:
48
+
49
+ | Metric | Value |
50
+ | :--- | :--- |
51
+ | **Best Step** | 500 |
52
+ | **Validation Loss** | **0.6869** |
53
+ | **Training Loss** | 0.3204 |
54
+ | **Epoch** | 2.43 |
55
+
56
+ > **Note:** Berhenti otomatis via *Early Stopping* di Step 650 untuk memastikan bobot terbaik (Step 500) yang tersimpan.
57
+
58
+ ---
59
+
60
+ ## ๐Ÿ› ๏ธ Tech Stack
61
+ Model ini lahir dari perpaduan teknologi mutakhir:
62
+ - **Base Model:** `unsloth/Qwen2.5-7B-Instruct`
63
+ - **Fine-tuning Tool:** [Unsloth](https://github.com/unslothai/unsloth) (2x faster training)
64
+ - **Framework:** Huggingface TRL & Transformers
65
+ - **Optimization:** LoRA (Rank 128)
66
+
67
+ ---
68
+
69
+ ## ๐Ÿ“– Cara Penggunaan (Inference)
70
 
71
+ ```python
72
+ from unsloth import FastLanguageModel
73
+ import torch
74
 
75
+ model, tokenizer = FastLanguageModel.from_pretrained(
76
+ model_name = "DimasMP3/Qwen2.5-7B-Indo-Exam-Generator-16bit",
77
+ max_seq_length = 2048,
78
+ load_in_4bit = True,
79
+ )
80
 
81
+ prompt = """<|im_start|>system
82
+ Anda adalah Guru SD yang ahli. Buatlah soal pilihan ganda berdasarkan konteks materi ini.<|im_end|>
83
+ <|im_start|>user
84
+ Topik: Ekosistem Laut
85
+ Konteks: Terumbu karang adalah tempat tinggal ikan.<|im_end|>
86
+ <|im_start|>assistant
87
+ """
88
 
89
+ # Generate Output...