pcalhoun commited on
Commit
4ed3a5d
·
verified ·
1 Parent(s): 65f8190

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -43
README.md CHANGED
@@ -9,7 +9,7 @@ tags:
9
  - Qwen3
10
  - fine-tuned
11
  license: apache-2.0
12
- base_model: unsloth/Qwen3-8B-unsloth-bnb-4bit
13
  datasets:
14
  - pcalhoun/ILR-Assistant
15
  language:
@@ -26,13 +26,13 @@ A fine-tuned language model designed to generate ILR (Interagency Language Round
26
 
27
  ### Model Description
28
 
29
- This model is a fine-tuned version of Qwen3-8B specifically designed for generating language assessment materials following the ILR proficiency scale. The model can create reading comprehension examples, adjust difficulty levels based on user performance, and provide structured language learning assessments.
30
 
31
  - **Developed by:** Paul Calhoun
32
  - **Model type:** Causal Language Model (Fine-tuned)
33
  - **Language(s):** Multilingual (with demonstrated Arabic capabilities)
34
  - **License:** Apache 2.0
35
- - **Finetuned from model:** unsloth/Qwen3-8B-unsloth-bnb-4bit
36
 
37
  ### Model Sources
38
 
@@ -86,15 +86,15 @@ The model was fine-tuned using LoRA (Low-Rank Adaptation) with the Unsloth frame
86
 
87
  #### Training Hyperparameters
88
 
89
- - **Base Model:** unsloth/Qwen3-8B-unsloth-bnb-4bit
90
  - **Training Framework:** Unsloth + TRL SFTTrainer
91
  - **LoRA Rank (r):** 64
92
  - **LoRA Alpha:** 64
93
  - **LoRA Dropout:** 0
94
  - **Target Modules:** q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
95
- - **Learning Rate:** 3e-5
96
- - **Batch Size:** 4 per device
97
- - **Gradient Accumulation Steps:** 2
98
  - **Max Sequence Length:** 2048
99
  - **Training Epochs:** 1
100
  - **Warmup Ratio:** 0.1
@@ -133,10 +133,10 @@ Training was optimized for efficiency using:
133
 
134
  ### Model Architecture
135
 
136
- - **Base Architecture:** Qwen3-8B transformer
137
  - **Fine-tuning Method:** LoRA (Low-Rank Adaptation)
138
  - **Quantization:** 4-bit (bnb)
139
- - **Parameters:** ~8B (base) + LoRA adapters
140
 
141
  ### Compute Infrastructure
142
 
@@ -164,139 +164,139 @@ Handles varied professional styles with minimal errors. Understands cultural ref
164
  Initial ILR level for this conversation: 3
165
  Test my comprehension of Modern Standard Arabic.<|im_end|>
166
  <|im_start|>assistant
167
- <think>
168
  I am administering an ILR level assessment.
169
- </think>
170
  في أعقاب الأزمة الاقتصادية الأخيرة، دعا المجلس المركزي إلى إصلاحات جذرية في النظام المالي. واقترح الخبراء فرض ضرائب تصاعدية على الشركات الكبرى، مع توجيه جزء من هذه الإيرادات لدعم المشاريع الصغيرة. إلا أن بعض أعضاء البرلمان عارضوا هذه الخطوة، معتبرين أنها قد تثقل كاهل القطاع الخاص وتؤثر سلباً على الاستثمارات الأجنبية. وفي المقابل، أشارت تقارير اقتصادية إلى أن هذه الإصلاحات قد تكون الحل الوحيد لتجنب انهيار العملة المحلية، خاصة بعد انخفاض احتياطي النقد الأجنبي إلى أدنى مستوياته منذ عقد.
171
 
172
  What is the main economic concern that prompted the proposed reforms?<|im_end|>
173
  <|im_start|>user
174
  The main concern is the recent economic crisis and the risk of the local currency collapsing due to the foreign exchange reserve reaching its lowest level in a decade.<|im_end|>
175
  <|im_start|>assistant
176
- <think>
177
  User answer is: Correct.
178
- </think>
179
  Why do some parliament members oppose the proposed tax reforms?<|im_end|>
180
  <|im_start|>user
181
  They believe the reforms could burden the private sector and negatively impact foreign investments.<|im_end|>
182
  <|im_start|>assistant
183
- <think>
184
  User answer is: Correct.
185
- </think>
186
  What can be inferred about the experts' view of small businesses in this context?<|im_end|>
187
  <|im_start|>user
188
  The experts likely view small businesses as vital to economic recovery, as they propose directing part of the tax revenue to support them.<|im_end|>
189
  <|im_start|>assistant
190
- <think>
191
  User answer is: Correct.
192
- </think>
193
  How does the passage frame the urgency of the reforms?<|im_end|>
194
  <|im_start|>user
195
  It suggests the reforms are critical and time-sensitive by linking them to avoiding a currency collapse and citing the severe drop in foreign reserves.<|im_end|>
196
  <|im_start|>assistant
197
- <think>
198
  User answer is: Correct.
199
- </think>
200
  في العصر الحديث، أصبحت الاستدامة البيئية محورًا رئيسيًا للعديد من الشرك��ت العالمية. تدرك هذه الشركات أن تبني سياسات صديقة للبيئة ليس مجرد مسؤولية أخلاقية، بل أيضًا استثمارًا ذكيًا على المدى الطويل. على سبيل المثال، تقوم بعض المؤسسات بتخفيض انبعاثات الكربون من خلال الاعتماد على الطاقة المتجددة، مما يعزز سمعتها ويقلل التكاليف التشغيلية. ومع ذلك، يواجه هذا التحول تحديات كبيرة، مثل ارتفاع التكاليف الأولية وعدم كفاية البنية التحتية في بعض المناطق. رغم ذلك، يرى الخبراء أن الفوائد المستقبلية تفوق بكثير التحديات الحالية.
201
 
202
  What is the main reason companies are adopting environmentally friendly policies according to the passage?<|im_end|>
203
  <|im_start|>user
204
  Companies adopt environmentally friendly policies solely because of strict government regulations.<|im_end|>
205
  <|im_start|>assistant
206
- <think>
207
  User answer is: Wrong.
208
  Reduce ILR estimate to: 2+
209
- </think>
210
  انتقلت عائلة أحمد إلى مدينة جديدة بسبب عمل والده. كان أحمد يشعر بالقلق لأن عليه أن يبدأ مدرسة جديدة ويصنع أصدقاء جدد. لكن المدرسة كانت لطيفة معه، وسرعان ما تعرف على ولدين في صفه يحبان كرة القدم مثله. الآن، يشعر أحمد بسعادة أكبر لأنه يستطيع اللعب مع أصدقائه بعد المدرسة.
211
 
212
  Why did Ahmed's family move to a new city?<|im_end|>
213
  <|im_start|>user
214
  Because of his father's job.<|im_end|>
215
  <|im_start|>assistant
216
- <think>
217
  User answer is: Correct.
218
- </think>
219
  What was Ahmed worried about before starting the new school?<|im_end|>
220
  <|im_start|>user
221
  He was worried about starting a new school and making new friends.<|im_end|>
222
  <|im_start|>assistant
223
- <think>
224
  User answer is: Correct.
225
- </think>
226
  How did Ahmed feel after meeting his new friends?<|im_end|>
227
  <|im_start|>user
228
  He felt happier because he could play football with them after school.<|im_end|>
229
  <|im_start|>assistant
230
- <think>
231
  User answer is: Correct.
232
- </think>
233
  What common interest helped Ahmed bond with his new friends?<|im_end|>
234
  <|im_start|>user
235
  They all liked football (soccer).<|im_end|>
236
  <|im_start|>assistant
237
- <think>
238
  User answer is: Correct.
239
- </think>
240
  انتقلت عائلة أحمد إلى مدينة جديدة بسبب عمل والده. كان أحمد يشعر بالقلق لأن عليه أن يبدأ مدرسة جديدة ويصنع أصدقاء جدد. لكن المدرسة كانت لطيفة معه، وسرعان ما تعرف على ولدين في صفه يحبان كرة القدم مثله. الآن، يشعر أحمد بسعادة أكبر لأنه يستطيع اللعب مع أصدقائه بعد المدرسة.
241
 
242
  Why did Ahmed's family move to a new city?<|im_end|>
243
  <|im_start|>user
244
  Because of his father's job.<|im_end|>
245
  <|im_start|>assistant
246
- <think>
247
  User answer is: Correct.
248
- </think>
249
  What was Ahmed worried about before starting the new school?<|im_end|>
250
  <|im_start|>user
251
  He was worried about starting a new school and making new friends.<|im_end|>
252
  <|im_start|>assistant
253
- <think>
254
  User answer is: Correct.
255
- </think>
256
  How did Ahmed feel after meeting his new friends?<|im_end|>
257
  <|im_start|>user
258
  He felt happier because he could play football with them after school.<|im_end|>
259
  <|im_start|>assistant
260
- <think>
261
  User answer is: Correct.
262
- </think>
263
  What common interest helped Ahmed bond with his new friends?<|im_end|>
264
  <|im_start|>user
265
  They all liked football (soccer).<|im_end|>
266
  <|im_start|>assistant
267
- <think>
268
  User answer is: Correct.
269
- </think>
270
  تذهب سارة إلى السوق كل يوم جمعة لشراء الفواكه والخضروات الطازجة. تحب سارة التفاح والموز لأنها لذيذة ومفيدة لصحة أطفالها. أحياناً تشتري أيضاً البرتقال في فصل الشتاء لأنه غني بفيتامين سي. تفضل سارة التسوق في الصباح الباكر عندما يكون الجو لطيفاً والأسعار مناسبة.
271
 
272
  What does Sara buy every Friday at the market?<|im_end|>
273
  <|im_start|>user
274
  Sara buys fresh meat and bread every Friday at the market.<|im_end|>
275
  <|im_start|>assistant
276
- <think>
277
  User answer is: Wrong.
278
  Reduce ILR estimate to: 2
279
- </think>
280
  في أحد أحياء القاهرة، قامت مجموعة من الشباب بتنظيم مبادرة لتنظيف الشوارع. جمعوا النفايات وفرزوا المواد القابلة لإعادة التدوير. بعد أسبوع من العمل، أصبح الحي أكثر نظافة وأكثر جمالاً. ساعدت هذه المب��درة في زيادة الوعي البيئي بين السكان. كما أشاد المسؤولون المحليون بهذا الجهد وشجعوا على تكراره في أحياء أخرى.
281
 
282
  What did the group of young people organize in a Cairo neighborhood?<|im_end|>
283
  <|im_start|>user
284
  They organized a protest against pollution.<|im_end|>
285
  <|im_start|>assistant
286
- <think>
287
  User answer is: Wrong.
288
  Reduce ILR estimate to: 1+
289
- </think>
290
  الأسرة تذهب إلى السوق يوم السبت. يشترون الفواكه والخضروات. الأب يحب التفاح، والأم تفضل الموز. الابن الصغير يشتري حلوى.
291
 
292
  Where does the family go on Saturday?<|im_end|>
293
  <|im_start|>user
294
  They go to the park.<|im_end|>
295
  <|im_start|>assistant
296
- <think>
297
  User answer is: Wrong.
298
  Reduce ILR estimate to: 1
299
- </think>
300
  في السوق، نبيع الفواكه والخضروات الطازجة. لدينا تفاح أحمر وأصفر، وموز ناضج. أيضا نبيع خبز أبيض وأسمر كل صباح. السوق يفتح عند الساعة الثامنة ويغلق عند الساعة الخامسة مساءً.
301
 
302
  What items are sold in the market?<|im_end|>
 
9
  - Qwen3
10
  - fine-tuned
11
  license: apache-2.0
12
+ base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
13
  datasets:
14
  - pcalhoun/ILR-Assistant
15
  language:
 
26
 
27
  ### Model Description
28
 
29
+ This model is a fine-tuned version of Qwen3-4B specifically designed for generating language assessment materials following the ILR proficiency scale. The model can create reading comprehension examples, adjust difficulty levels based on user performance, and provide structured language learning assessments.
30
 
31
  - **Developed by:** Paul Calhoun
32
  - **Model type:** Causal Language Model (Fine-tuned)
33
  - **Language(s):** Multilingual (with demonstrated Arabic capabilities)
34
  - **License:** Apache 2.0
35
+ - **Finetuned from model:** unsloth/Qwen3-4B-unsloth-bnb-4bit
36
 
37
  ### Model Sources
38
 
 
86
 
87
  #### Training Hyperparameters
88
 
89
+ - **Base Model:** unsloth/Qwen3-4B-unsloth-bnb-4bit
90
  - **Training Framework:** Unsloth + TRL SFTTrainer
91
  - **LoRA Rank (r):** 64
92
  - **LoRA Alpha:** 64
93
  - **LoRA Dropout:** 0
94
  - **Target Modules:** q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
95
+ - **Learning Rate:** 5e-5
96
+ - **Batch Size:** 16 per device
97
+ - **Gradient Accumulation Steps:** 1
98
  - **Max Sequence Length:** 2048
99
  - **Training Epochs:** 1
100
  - **Warmup Ratio:** 0.1
 
133
 
134
  ### Model Architecture
135
 
136
+ - **Base Architecture:** Qwen3-4B transformer
137
  - **Fine-tuning Method:** LoRA (Low-Rank Adaptation)
138
  - **Quantization:** 4-bit (bnb)
139
+ - **Parameters:** ~4B (base) + LoRA adapters
140
 
141
  ### Compute Infrastructure
142
 
 
164
  Initial ILR level for this conversation: 3
165
  Test my comprehension of Modern Standard Arabic.<|im_end|>
166
  <|im_start|>assistant
167
+ <scorer>
168
  I am administering an ILR level assessment.
169
+ </scorer>
170
  في أعقاب الأزمة الاقتصادية الأخيرة، دعا المجلس المركزي إلى إصلاحات جذرية في النظام المالي. واقترح الخبراء فرض ضرائب تصاعدية على الشركات الكبرى، مع توجيه جزء من هذه الإيرادات لدعم المشاريع الصغيرة. إلا أن بعض أعضاء البرلمان عارضوا هذه الخطوة، معتبرين أنها قد تثقل كاهل القطاع الخاص وتؤثر سلباً على الاستثمارات الأجنبية. وفي المقابل، أشارت تقارير اقتصادية إلى أن هذه الإصلاحات قد تكون الحل الوحيد لتجنب انهيار العملة المحلية، خاصة بعد انخفاض احتياطي النقد الأجنبي إلى أدنى مستوياته منذ عقد.
171
 
172
  What is the main economic concern that prompted the proposed reforms?<|im_end|>
173
  <|im_start|>user
174
  The main concern is the recent economic crisis and the risk of the local currency collapsing due to the foreign exchange reserve reaching its lowest level in a decade.<|im_end|>
175
  <|im_start|>assistant
176
+ <scorer>
177
  User answer is: Correct.
178
+ </scorer>
179
  Why do some parliament members oppose the proposed tax reforms?<|im_end|>
180
  <|im_start|>user
181
  They believe the reforms could burden the private sector and negatively impact foreign investments.<|im_end|>
182
  <|im_start|>assistant
183
+ <scorer>
184
  User answer is: Correct.
185
+ </scorer>
186
  What can be inferred about the experts' view of small businesses in this context?<|im_end|>
187
  <|im_start|>user
188
  The experts likely view small businesses as vital to economic recovery, as they propose directing part of the tax revenue to support them.<|im_end|>
189
  <|im_start|>assistant
190
+ <scorer>
191
  User answer is: Correct.
192
+ </scorer>
193
  How does the passage frame the urgency of the reforms?<|im_end|>
194
  <|im_start|>user
195
  It suggests the reforms are critical and time-sensitive by linking them to avoiding a currency collapse and citing the severe drop in foreign reserves.<|im_end|>
196
  <|im_start|>assistant
197
+ <scorer>
198
  User answer is: Correct.
199
+ </scorer>
200
  في العصر الحديث، أصبحت الاستدامة البيئية محورًا رئيسيًا للعديد من الشرك��ت العالمية. تدرك هذه الشركات أن تبني سياسات صديقة للبيئة ليس مجرد مسؤولية أخلاقية، بل أيضًا استثمارًا ذكيًا على المدى الطويل. على سبيل المثال، تقوم بعض المؤسسات بتخفيض انبعاثات الكربون من خلال الاعتماد على الطاقة المتجددة، مما يعزز سمعتها ويقلل التكاليف التشغيلية. ومع ذلك، يواجه هذا التحول تحديات كبيرة، مثل ارتفاع التكاليف الأولية وعدم كفاية البنية التحتية في بعض المناطق. رغم ذلك، يرى الخبراء أن الفوائد المستقبلية تفوق بكثير التحديات الحالية.
201
 
202
  What is the main reason companies are adopting environmentally friendly policies according to the passage?<|im_end|>
203
  <|im_start|>user
204
  Companies adopt environmentally friendly policies solely because of strict government regulations.<|im_end|>
205
  <|im_start|>assistant
206
+ <scorer>
207
  User answer is: Wrong.
208
  Reduce ILR estimate to: 2+
209
+ </scorer>
210
  انتقلت عائلة أحمد إلى مدينة جديدة بسبب عمل والده. كان أحمد يشعر بالقلق لأن عليه أن يبدأ مدرسة جديدة ويصنع أصدقاء جدد. لكن المدرسة كانت لطيفة معه، وسرعان ما تعرف على ولدين في صفه يحبان كرة القدم مثله. الآن، يشعر أحمد بسعادة أكبر لأنه يستطيع اللعب مع أصدقائه بعد المدرسة.
211
 
212
  Why did Ahmed's family move to a new city?<|im_end|>
213
  <|im_start|>user
214
  Because of his father's job.<|im_end|>
215
  <|im_start|>assistant
216
+ <scorer>
217
  User answer is: Correct.
218
+ </scorer>
219
  What was Ahmed worried about before starting the new school?<|im_end|>
220
  <|im_start|>user
221
  He was worried about starting a new school and making new friends.<|im_end|>
222
  <|im_start|>assistant
223
+ <scorer>
224
  User answer is: Correct.
225
+ </scorer>
226
  How did Ahmed feel after meeting his new friends?<|im_end|>
227
  <|im_start|>user
228
  He felt happier because he could play football with them after school.<|im_end|>
229
  <|im_start|>assistant
230
+ <scorer>
231
  User answer is: Correct.
232
+ </scorer>
233
  What common interest helped Ahmed bond with his new friends?<|im_end|>
234
  <|im_start|>user
235
  They all liked football (soccer).<|im_end|>
236
  <|im_start|>assistant
237
+ <scorer>
238
  User answer is: Correct.
239
+ </scorer>
240
  انتقلت عائلة أحمد إلى مدينة جديدة بسبب عمل والده. كان أحمد يشعر بالقلق لأن عليه أن يبدأ مدرسة جديدة ويصنع أصدقاء جدد. لكن المدرسة كانت لطيفة معه، وسرعان ما تعرف على ولدين في صفه يحبان كرة القدم مثله. الآن، يشعر أحمد بسعادة أكبر لأنه يستطيع اللعب مع أصدقائه بعد المدرسة.
241
 
242
  Why did Ahmed's family move to a new city?<|im_end|>
243
  <|im_start|>user
244
  Because of his father's job.<|im_end|>
245
  <|im_start|>assistant
246
+ <scorer>
247
  User answer is: Correct.
248
+ </scorer>
249
  What was Ahmed worried about before starting the new school?<|im_end|>
250
  <|im_start|>user
251
  He was worried about starting a new school and making new friends.<|im_end|>
252
  <|im_start|>assistant
253
+ <scorer>
254
  User answer is: Correct.
255
+ </scorer>
256
  How did Ahmed feel after meeting his new friends?<|im_end|>
257
  <|im_start|>user
258
  He felt happier because he could play football with them after school.<|im_end|>
259
  <|im_start|>assistant
260
+ <scorer>
261
  User answer is: Correct.
262
+ </scorer>
263
  What common interest helped Ahmed bond with his new friends?<|im_end|>
264
  <|im_start|>user
265
  They all liked football (soccer).<|im_end|>
266
  <|im_start|>assistant
267
+ <scorer>
268
  User answer is: Correct.
269
+ </scorer>
270
  تذهب سارة إلى السوق كل يوم جمعة لشراء الفواكه والخضروات الطازجة. تحب سارة التفاح والموز لأنها لذيذة ومفيدة لصحة أطفالها. أحياناً تشتري أيضاً البرتقال في فصل الشتاء لأنه غني بفيتامين سي. تفضل سارة التسوق في الصباح الباكر عندما يكون الجو لطيفاً والأسعار مناسبة.
271
 
272
  What does Sara buy every Friday at the market?<|im_end|>
273
  <|im_start|>user
274
  Sara buys fresh meat and bread every Friday at the market.<|im_end|>
275
  <|im_start|>assistant
276
+ <scorer>
277
  User answer is: Wrong.
278
  Reduce ILR estimate to: 2
279
+ </scorer>
280
  في أحد أحياء القاهرة، قامت مجموعة من الشباب بتنظيم مبادرة لتنظيف الشوارع. جمعوا النفايات وفرزوا المواد القابلة لإعادة التدوير. بعد أسبوع من العمل، أصبح الحي أكثر نظافة وأكثر جمالاً. ساعدت هذه المب��درة في زيادة الوعي البيئي بين السكان. كما أشاد المسؤولون المحليون بهذا الجهد وشجعوا على تكراره في أحياء أخرى.
281
 
282
  What did the group of young people organize in a Cairo neighborhood?<|im_end|>
283
  <|im_start|>user
284
  They organized a protest against pollution.<|im_end|>
285
  <|im_start|>assistant
286
+ <scorer>
287
  User answer is: Wrong.
288
  Reduce ILR estimate to: 1+
289
+ </scorer>
290
  الأسرة تذهب إلى السوق يوم السبت. يشترون الفواكه والخضروات. الأب يحب التفاح، والأم تفضل الموز. الابن الصغير يشتري حلوى.
291
 
292
  Where does the family go on Saturday?<|im_end|>
293
  <|im_start|>user
294
  They go to the park.<|im_end|>
295
  <|im_start|>assistant
296
+ <scorer>
297
  User answer is: Wrong.
298
  Reduce ILR estimate to: 1
299
+ </scorer>
300
  في السوق، نبيع الفواكه والخضروات الطازجة. لدينا تفاح أحمر وأصفر، وموز ناضج. أيضا نبيع خبز أبيض وأسمر كل صباح. السوق يفتح عند الساعة الثامنة ويغلق عند الساعة الخامسة مساءً.
301
 
302
  What items are sold in the market?<|im_end|>