CompiwerAI commited on
Commit
dda7542
·
verified ·
1 Parent(s): e746b3f

Release Mtrini-27B-Tellus GGUF models

Browse files
.gitattributes CHANGED
@@ -34,3 +34,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ Mtrini-27B-Tellus-F16-FINAL.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Mtrini-27B-Tellus-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Mtrini-27B-Tellus-IQ2_XS.imatrix filter=lfs diff=lfs merge=lfs -text
Mtrini-27B-Tellus-F16-FINAL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc07b0c18d1415d2328008fcb88e4946991e93393e2a6c74aa0ec781df91dd9b
3
+ size 53808282112
Mtrini-27B-Tellus-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98e256c55c90f1f89ea846be1881b3e60be517667017ec2b9382a62eb0adc736
3
+ size 9090591520
Mtrini-27B-Tellus-IQ2_XS.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0676b166f743b3c49085f969c0cb8d74bd3d7fdfca5b1fb43217570de8c91a13
3
+ size 13642688
README.md CHANGED
@@ -1,62 +1,175 @@
1
  ---
2
- base_model: Qwen/Qwen3.8-27B
3
- library_name: peft
4
- model_name: mtrini-27b-tellus-adapter
5
- tags:
6
- - base_model:adapter:Qwen/Qwen3.8-27B
7
- - lora
8
- - sft
9
- - transformers
10
- - trl
11
- licence: license
12
  pipeline_tag: text-generation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
- # Model Card for mtrini-27b-tellus-adapter
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
- This model is a fine-tuned version of [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B).
18
- It has been trained using [TRL](https://github.com/huggingface/trl).
19
 
20
- ## Quick start
21
 
22
- ```python
23
- from transformers import pipeline
24
 
25
- question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
- generator = pipeline("text-generation", model="None", device_map="auto")
27
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
- print(output["generated_text"])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ```
30
 
31
- ## Training procedure
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
-
34
 
 
35
 
 
36
 
37
- This model was trained with SFT.
38
 
39
- ### Framework versions
40
 
41
- - PEFT 0.21.0
42
- - TRL: 1.14.0
43
- - Transformers: 5.17.0
44
- - Pytorch: 2.11.0
45
- - Datasets: 5.0.1
46
- - Tokenizers: 0.23.2
47
 
48
- ## Citations
49
 
 
50
 
 
51
 
52
- Cite TRL as:
53
-
54
- ```bibtex
55
- @software{vonwerra2020trl,
56
- title = {{TRL: Transformers Reinforcement Learning}},
57
- author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
58
- license = {Apache-2.0},
59
- url = {https://github.com/huggingface/trl},
60
- year = {2020}
61
- }
62
- ```
 
1
  ---
2
+ library_name: gguf
3
+ license: apache-2.0
 
 
 
 
 
 
 
 
4
  pipeline_tag: text-generation
5
+ tags:
6
+ - gguf
7
+ - qwen
8
+ - qwen3
9
+ - qwen3.5
10
+ - coding
11
+ - mathematics
12
+ - reasoning
13
+ - darija
14
+ - moroccan-arabic
15
+ - arabic
16
+ - multilingual
17
+ - compiwerai
18
+ - mtrini
19
+ - iq2_xs
20
  ---
21
 
22
+ # Mtrini-27B-Tellus
23
+
24
+ **Mtrini-27B-Tellus** is an open model developed by **CompiwerAI**.
25
+
26
+ Mtrini is designed for coding, mathematical reasoning, general reasoning, Arabic, Moroccan Arabic and Moroccan Darija.
27
+
28
+ ## Model
29
+
30
+ - **Model:** Mtrini-27B-Tellus
31
+ - **Organization:** CompiwerAI
32
+ - **Base:** Qwen3.8-27B
33
+ - **Parameters:** approximately 27B
34
+ - **Architecture:** Qwen3.5-compatible GGUF metadata
35
+ - **Training context:** 4096 tokens
36
+ - **Training steps:** 700
37
+ - **Effective batch size:** 16
38
+ - **LoRA rank:** 32
39
+ - **LoRA alpha:** 64
40
+ - **LoRA dropout:** 0.05
41
+ - **Learning rate:** 0.00015
42
+ - **Compute dtype:** BF16
43
+ - **QLoRA quantization:** 4-bit NF4
44
+
45
+ ## Training data
46
+
47
+ | Dataset | Share | Examples |
48
+ |---|---:|---:|
49
+ | OpenCodeInstruct | 35% | 3,920 |
50
+ | Magicoder | 10% | 1,120 |
51
+ | OpenR1-Math | 25% | 2,800 |
52
+ | Moroccan Darija | 20% | 2,240 |
53
+ | Aya Arabic / Moroccan Arabic | 10% | 1,120 |
54
+ | **Total** | **100%** | **11,200** |
55
+
56
+ ## Training result
57
+
58
+ - Global step: 700
59
+ - Final reported loss: 0.4302458722250802
60
+ - Runtime: approximately 3.15 hours
61
+ - Epoch: 1
62
+ - GPU: NVIDIA RTX PRO 6000 Blackwell Server Edition
63
+
64
+ ## Quantized model
65
+
66
+ ### Mtrini-27B-Tellus-IQ2_XS.gguf
67
+
68
+ Recommended for practical local inference.
69
+
70
+ - Size: approximately 8.47 GiB
71
+ - Quantization: IQ2_XS
72
+ - Bits per weight: 2.3125 bpw
73
+ - Tensor count: 851
74
+ - GGUF architecture: qwen35
75
+ - Block count: 64
76
+
77
+ The IQ2_XS quantization was generated using an importance matrix calculated from a dedicated calibration corpus.
78
+
79
+ ## F16 model
80
+
81
+ ### Mtrini-27B-Tellus-F16-FINAL.gguf
82
+
83
+ - Size: approximately 50.11 GiB
84
+ - Format: F16 GGUF
85
 
86
+ This version is intended for systems with sufficient memory.
 
87
 
88
+ ## Importance matrix
89
 
90
+ File:
 
91
 
92
+ `Mtrini-27B-Tellus-IQ2_XS.imatrix`
93
+
94
+ Generation settings:
95
+
96
+ - Calibration context: 512
97
+ - Threads: 20
98
+ - Calibration chunks: 32
99
+ - Calibration PPL: approximately 2.4629
100
+
101
+ ## Calibration data
102
+
103
+ File:
104
+
105
+ `mtrini-calibration-large.txt`
106
+
107
+ This corpus was used during importance-matrix generation.
108
+
109
+ ## GGUF metadata
110
+
111
+ - GGUF magic: valid
112
+ - Tensor count: 851
113
+ - Architecture: qwen35
114
+ - Block count: 64
115
+ - Embedding size: 5120
116
+ - FFN size: 17408
117
+ - Attention heads: 24
118
+ - KV heads: 4
119
+
120
+ ## llama.cpp
121
+
122
+ Example:
123
+
124
+ ```bash
125
+ llama-cli \
126
+ -m Mtrini-27B-Tellus-IQ2_XS.gguf \
127
+ -ngl 99 \
128
+ -c 4096 \
129
+ -p "What is 27 multiplied by 8?"
130
  ```
131
 
132
+ ## Basic verification
133
+
134
+ Prompt:
135
+
136
+ > What is 27 multiplied by 8? Answer with only the number.
137
+
138
+ Observed CPU test output:
139
+
140
+ **216**
141
+
142
+ ## Intended uses
143
+
144
+ - Code generation
145
+ - Code debugging
146
+ - Mathematical reasoning
147
+ - General reasoning
148
+ - Moroccan Darija
149
+ - Arabic
150
+ - Multilingual text
151
+ - Local inference
152
+ - GGUF-compatible inference
153
 
154
+ ## Limitations
155
 
156
+ Mtrini-27B-Tellus can generate incorrect information, incorrect code, hallucinations, or unreliable reasoning.
157
 
158
+ Generated code and important factual outputs should be validated.
159
 
160
+ The IQ2_XS version makes a substantial size/quality tradeoff in exchange for a much smaller model footprint.
161
 
162
+ ## Files
163
 
164
+ - `Mtrini-27B-Tellus-IQ2_XS.gguf`
165
+ - `Mtrini-27B-Tellus-IQ2_XS.imatrix`
166
+ - `Mtrini-27B-Tellus-F16-FINAL.gguf`
167
+ - `mtrini-calibration-large.txt`
168
+ - `README.md`
 
169
 
170
+ ## Credits
171
 
172
+ **CompiwerAI**
173
 
174
+ **Building AI For Everyone.**
175
 
 
 
 
 
 
 
 
 
 
 
 
mtrini-calibration-large.txt ADDED
@@ -0,0 +1,2070 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [Calibration sample 0-0]
2
+ Write a Python function that determines whether a string is a palindrome.
3
+ The function should ignore spaces, punctuation, and capitalization.
4
+ Explain the algorithm and its time complexity.
5
+
6
+
7
+ [Calibration sample 0-1]
8
+ Implement binary search in Python for a sorted list of integers.
9
+ Return the index of the target or -1 when it is not present.
10
+ Explain why binary search runs in logarithmic time.
11
+
12
+
13
+ [Calibration sample 0-2]
14
+ Write a Python function that counts the frequency of every word
15
+ in a text. Normalize capitalization and ignore punctuation.
16
+ Return the words ordered from most frequent to least frequent.
17
+
18
+
19
+ [Calibration sample 0-3]
20
+ Given a list of integers, find the maximum subarray sum using
21
+ Kadane's algorithm. Explain why the algorithm works and give its
22
+ time and space complexity.
23
+
24
+
25
+ [Calibration sample 0-4]
26
+ Implement a stack using two queues. Explain each operation and
27
+ the tradeoff between the possible implementations.
28
+
29
+
30
+ [Calibration sample 0-5]
31
+ Write a function that checks whether two strings are anagrams.
32
+ The solution should run in O(n) time using a frequency dictionary.
33
+
34
+
35
+ [Calibration sample 0-6]
36
+ Explain the difference between a process and a thread in an
37
+ operating system. Give an example where multithreading is useful.
38
+
39
+
40
+ [Calibration sample 0-7]
41
+ Write a recursive function to calculate the factorial of an integer.
42
+ Handle zero correctly and explain the base case.
43
+
44
+
45
+ [Calibration sample 0-8]
46
+ Explain what an API is and show a small Python example of sending
47
+ a JSON request to an HTTP endpoint.
48
+
49
+
50
+ [Calibration sample 0-9]
51
+ Design a simple REST API for a chat application. Describe endpoints
52
+ for creating conversations, sending messages, and retrieving history.
53
+
54
+
55
+ [Calibration sample 0-10]
56
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
57
+
58
+
59
+ [Calibration sample 0-11]
60
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
61
+ Calculate its area and perimeter.
62
+
63
+
64
+ [Calibration sample 0-12]
65
+ If a train travels 240 kilometers in 3 hours, calculate its average
66
+ speed in kilometers per hour.
67
+
68
+
69
+ [Calibration sample 0-13]
70
+ A number is multiplied by 4 and then increased by 9 to produce 37.
71
+ Find the original number.
72
+
73
+
74
+ [Calibration sample 0-14]
75
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
76
+ of randomly selecting a blue ball? Explain your reasoning.
77
+
78
+
79
+ [Calibration sample 0-15]
80
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
81
+ Calculate the discount and the final price.
82
+
83
+
84
+ [Calibration sample 0-16]
85
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
86
+
87
+
88
+ [Calibration sample 0-17]
89
+ Explain why the square root of 2 is irrational using a proof by contradiction.
90
+
91
+
92
+ [Calibration sample 0-18]
93
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
94
+ the next three terms.
95
+
96
+
97
+ [Calibration sample 0-19]
98
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
99
+ Calculate its area and explain the formula.
100
+
101
+
102
+ [Calibration sample 0-20]
103
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
104
+ Determine how many chickens and cows there are. Explain the reasoning.
105
+
106
+
107
+ [Calibration sample 0-21]
108
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
109
+ You may take one fruit from one box. Explain how to correctly relabel
110
+ all three boxes.
111
+
112
+
113
+ [Calibration sample 0-22]
114
+ A clock shows 3:15. What is the smaller angle between the hour hand
115
+ and minute hand? Explain carefully.
116
+
117
+
118
+ [Calibration sample 0-23]
119
+ You have eight identical-looking balls and one is heavier.
120
+ Using a balance scale only twice, explain how to find the heavier ball.
121
+
122
+
123
+ [Calibration sample 0-24]
124
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
125
+ calculate the next five values.
126
+
127
+
128
+ [Calibration sample 0-25]
129
+ Explain artificial intelligence to a ten-year-old using a simple
130
+ real-world analogy. Avoid technical jargon where possible.
131
+
132
+
133
+ [Calibration sample 0-26]
134
+ Explain the difference between machine learning and traditional
135
+ programming using a clear example.
136
+
137
+
138
+ [Calibration sample 0-27]
139
+ What is a neural network? Explain neurons, weights, training,
140
+ and inference in simple but technically accurate language.
141
+
142
+
143
+ [Calibration sample 0-28]
144
+ Explain why training data quality can matter as much as training
145
+ data quantity when building a language model.
146
+
147
+
148
+ [Calibration sample 0-29]
149
+ Describe the difference between an open-source model and an
150
+ open-weight model. Explain why the distinction matters.
151
+
152
+
153
+ [Calibration sample 0-30]
154
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
155
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
156
+
157
+
158
+ [Calibration sample 0-31]
159
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
160
+ يوضح كيف يتعلم النموذج من البيانات.
161
+
162
+
163
+ [Calibration sample 0-32]
164
+ حل المع��دلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
165
+
166
+
167
+ [Calibration sample 0-33]
168
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
169
+ توليد النصوص بعد التدريب.
170
+
171
+
172
+ [Calibration sample 0-34]
173
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
174
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
175
+
176
+
177
+ [Calibration sample 0-35]
178
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
179
+ اليومية ديالنا فالمغرب.
180
+
181
+
182
+ [Calibration sample 0-36]
183
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
184
+ وبمثال واضح.
185
+
186
+
187
+ [Calibration sample 0-37]
188
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
189
+
190
+
191
+ [Calibration sample 0-38]
192
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
193
+
194
+
195
+ [Calibration sample 0-39]
196
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
197
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
198
+
199
+
200
+ [Calibration sample 0-40]
201
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
202
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
203
+
204
+
205
+ [Calibration sample 0-41]
206
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
207
+
208
+
209
+ [Calibration sample 0-42]
210
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
211
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
212
+
213
+
214
+ [Calibration sample 0-43]
215
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
216
+ موديلات الذكاء الاصطناعي؟
217
+
218
+
219
+ [Calibration sample 0-44]
220
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
221
+ ديال machine learning.
222
+
223
+
224
+ [Calibration sample 0-45]
225
+ Large language models are neural networks trained to predict tokens.
226
+ During training, the model processes sequences of text and adjusts its
227
+ parameters so that its predictions become closer to the expected next
228
+ tokens. Modern transformer architectures use attention mechanisms to
229
+ connect information across different positions in a sequence. During
230
+ inference, the trained parameters remain fixed while the model generates
231
+ new tokens step by step.
232
+
233
+
234
+ [Calibration sample 0-46]
235
+ Quantization reduces the numerical precision used to represent model
236
+ weights. A model stored in BF16 may require substantially more memory
237
+ than the same model represented with four-bit or two-bit quantization.
238
+ Lower-bit quantization can make large models easier to deploy, although
239
+ aggressive quantization can reduce accuracy and may require techniques
240
+ such as importance matrices to preserve the most important information.
241
+
242
+
243
+ [Calibration sample 0-47]
244
+ Software engineering requires careful handling of errors, interfaces,
245
+ dependencies, testing, and maintainability. A program that works for one
246
+ input is not necessarily robust. Good implementations consider edge
247
+ cases, validate assumptions, use clear abstractions, and provide useful
248
+ error messages when something goes wrong.
249
+
250
+
251
+ [Calibration sample 0-48]
252
+ When evaluating an AI model, it is useful to measure different
253
+ capabilities separately. Coding benchmarks can test program synthesis,
254
+ mathematical datasets can test symbolic and numerical reasoning, and
255
+ language evaluations can measure instruction following and multilingual
256
+ performance. A single benchmark score does not completely describe the
257
+ capabilities of a model.
258
+
259
+
260
+ [Calibration sample 1-0]
261
+ Write a Python function that determines whether a string is a palindrome.
262
+ The function should ignore spaces, punctuation, and capitalization.
263
+ Explain the algorithm and its time complexity.
264
+
265
+
266
+ [Calibration sample 1-1]
267
+ Implement binary search in Python for a sorted list of integers.
268
+ Return the index of the target or -1 when it is not present.
269
+ Explain why binary search runs in logarithmic time.
270
+
271
+
272
+ [Calibration sample 1-2]
273
+ Write a Python function that counts the frequency of every word
274
+ in a text. Normalize capitalization and ignore punctuation.
275
+ Return the words ordered from most frequent to least frequent.
276
+
277
+
278
+ [Calibration sample 1-3]
279
+ Given a list of integers, find the maximum subarray sum using
280
+ Kadane's algorithm. Explain why the algorithm works and give its
281
+ time and space complexity.
282
+
283
+
284
+ [Calibration sample 1-4]
285
+ Implement a stack using two queues. Explain each operation and
286
+ the tradeoff between the possible implementations.
287
+
288
+
289
+ [Calibration sample 1-5]
290
+ Write a function that checks whether two strings are anagrams.
291
+ The solution should run in O(n) time using a frequency dictionary.
292
+
293
+
294
+ [Calibration sample 1-6]
295
+ Explain the difference between a process and a thread in an
296
+ operating system. Give an example where multithreading is useful.
297
+
298
+
299
+ [Calibration sample 1-7]
300
+ Write a recursive function to calculate the factorial of an integer.
301
+ Handle zero correctly and explain the base case.
302
+
303
+
304
+ [Calibration sample 1-8]
305
+ Explain what an API is and show a small Python example of sending
306
+ a JSON request to an HTTP endpoint.
307
+
308
+
309
+ [Calibration sample 1-9]
310
+ Design a simple REST API for a chat application. Describe endpoints
311
+ for creating conversations, sending messages, and retrieving history.
312
+
313
+
314
+ [Calibration sample 1-10]
315
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
316
+
317
+
318
+ [Calibration sample 1-11]
319
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
320
+ Calculate its area and perimeter.
321
+
322
+
323
+ [Calibration sample 1-12]
324
+ If a train travels 240 kilometers in 3 hours, calculate its average
325
+ speed in kilometers per hour.
326
+
327
+
328
+ [Calibration sample 1-13]
329
+ A number is multiplied by 4 and then increased by 9 to produce 37.
330
+ Find the original number.
331
+
332
+
333
+ [Calibration sample 1-14]
334
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
335
+ of randomly selecting a blue ball? Explain your reasoning.
336
+
337
+
338
+ [Calibration sample 1-15]
339
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
340
+ Calculate the discount and the final price.
341
+
342
+
343
+ [Calibration sample 1-16]
344
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
345
+
346
+
347
+ [Calibration sample 1-17]
348
+ Explain why the square root of 2 is irrational using a proof by contradiction.
349
+
350
+
351
+ [Calibration sample 1-18]
352
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
353
+ the next three terms.
354
+
355
+
356
+ [Calibration sample 1-19]
357
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
358
+ Calculate its area and explain the formula.
359
+
360
+
361
+ [Calibration sample 1-20]
362
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
363
+ Determine how many chickens and cows there are. Explain the reasoning.
364
+
365
+
366
+ [Calibration sample 1-21]
367
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
368
+ You may take one fruit from one box. Explain how to correctly relabel
369
+ all three boxes.
370
+
371
+
372
+ [Calibration sample 1-22]
373
+ A clock shows 3:15. What is the smaller angle between the hour hand
374
+ and minute hand? Explain carefully.
375
+
376
+
377
+ [Calibration sample 1-23]
378
+ You have eight identical-looking balls and one is heavier.
379
+ Using a balance scale only twice, explain how to find the heavier ball.
380
+
381
+
382
+ [Calibration sample 1-24]
383
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
384
+ calculate the next five values.
385
+
386
+
387
+ [Calibration sample 1-25]
388
+ Explain artificial intelligence to a ten-year-old using a simple
389
+ real-world analogy. Avoid technical jargon where possible.
390
+
391
+
392
+ [Calibration sample 1-26]
393
+ Explain the difference between machine learning and traditional
394
+ programming using a clear example.
395
+
396
+
397
+ [Calibration sample 1-27]
398
+ What is a neural network? Explain neurons, weights, training,
399
+ and inference in simple but technically accurate language.
400
+
401
+
402
+ [Calibration sample 1-28]
403
+ Explain why training data quality can matter as much as training
404
+ data quantity when building a language model.
405
+
406
+
407
+ [Calibration sample 1-29]
408
+ Describe the difference between an open-source model and an
409
+ open-weight model. Explain why the distinction matters.
410
+
411
+
412
+ [Calibration sample 1-30]
413
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
414
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
415
+
416
+
417
+ [Calibration sample 1-31]
418
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
419
+ يوضح كيف يتعلم النموذج من البيانات.
420
+
421
+
422
+ [Calibration sample 1-32]
423
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
424
+
425
+
426
+ [Calibration sample 1-33]
427
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
428
+ توليد النصوص بعد التدريب.
429
+
430
+
431
+ [Calibration sample 1-34]
432
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
433
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
434
+
435
+
436
+ [Calibration sample 1-35]
437
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
438
+ اليومية ديالنا فالمغرب.
439
+
440
+
441
+ [Calibration sample 1-36]
442
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
443
+ وبمثال واضح.
444
+
445
+
446
+ [Calibration sample 1-37]
447
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
448
+
449
+
450
+ [Calibration sample 1-38]
451
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
452
+
453
+
454
+ [Calibration sample 1-39]
455
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
456
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
457
+
458
+
459
+ [Calibration sample 1-40]
460
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
461
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
462
+
463
+
464
+ [Calibration sample 1-41]
465
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
466
+
467
+
468
+ [Calibration sample 1-42]
469
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
470
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
471
+
472
+
473
+ [Calibration sample 1-43]
474
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
475
+ موديلات الذكاء الاصطناعي؟
476
+
477
+
478
+ [Calibration sample 1-44]
479
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
480
+ ديال machine learning.
481
+
482
+
483
+ [Calibration sample 1-45]
484
+ Large language models are neural networks trained to predict tokens.
485
+ During training, the model processes sequences of text and adjusts its
486
+ parameters so that its predictions become closer to the expected next
487
+ tokens. Modern transformer architectures use attention mechanisms to
488
+ connect information across different positions in a sequence. During
489
+ inference, the trained parameters remain fixed while the model generates
490
+ new tokens step by step.
491
+
492
+
493
+ [Calibration sample 1-46]
494
+ Quantization reduces the numerical precision used to represent model
495
+ weights. A model stored in BF16 may require substantially more memory
496
+ than the same model represented with four-bit or two-bit quantization.
497
+ Lower-bit quantization can make large models easier to deploy, although
498
+ aggressive quantization can reduce accuracy and may require techniques
499
+ such as importance matrices to preserve the most important information.
500
+
501
+
502
+ [Calibration sample 1-47]
503
+ Software engineering requires careful handling of errors, interfaces,
504
+ dependencies, testing, and maintainability. A program that works for one
505
+ input is not necessarily robust. Good implementations consider edge
506
+ cases, validate assumptions, use clear abstractions, and provide useful
507
+ error messages when something goes wrong.
508
+
509
+
510
+ [Calibration sample 1-48]
511
+ When evaluating an AI model, it is useful to measure different
512
+ capabilities separately. Coding benchmarks can test program synthesis,
513
+ mathematical datasets can test symbolic and numerical reasoning, and
514
+ language evaluations can measure instruction following and multilingual
515
+ performance. A single benchmark score does not completely describe the
516
+ capabilities of a model.
517
+
518
+
519
+ [Calibration sample 2-0]
520
+ Write a Python function that determines whether a string is a palindrome.
521
+ The function should ignore spaces, punctuation, and capitalization.
522
+ Explain the algorithm and its time complexity.
523
+
524
+
525
+ [Calibration sample 2-1]
526
+ Implement binary search in Python for a sorted list of integers.
527
+ Return the index of the target or -1 when it is not present.
528
+ Explain why binary search runs in logarithmic time.
529
+
530
+
531
+ [Calibration sample 2-2]
532
+ Write a Python function that counts the frequency of every word
533
+ in a text. Normalize capitalization and ignore punctuation.
534
+ Return the words ordered from most frequent to least frequent.
535
+
536
+
537
+ [Calibration sample 2-3]
538
+ Given a list of integers, find the maximum subarray sum using
539
+ Kadane's algorithm. Explain why the algorithm works and give its
540
+ time and space complexity.
541
+
542
+
543
+ [Calibration sample 2-4]
544
+ Implement a stack using two queues. Explain each operation and
545
+ the tradeoff between the possible implementations.
546
+
547
+
548
+ [Calibration sample 2-5]
549
+ Write a function that checks whether two strings are anagrams.
550
+ The solution should run in O(n) time using a frequency dictionary.
551
+
552
+
553
+ [Calibration sample 2-6]
554
+ Explain the difference between a process and a thread in an
555
+ operating system. Give an example where multithreading is useful.
556
+
557
+
558
+ [Calibration sample 2-7]
559
+ Write a recursive function to calculate the factorial of an integer.
560
+ Handle zero correctly and explain the base case.
561
+
562
+
563
+ [Calibration sample 2-8]
564
+ Explain what an API is and show a small Python example of sending
565
+ a JSON request to an HTTP endpoint.
566
+
567
+
568
+ [Calibration sample 2-9]
569
+ Design a simple REST API for a chat application. Describe endpoints
570
+ for creating conversations, sending messages, and retrieving history.
571
+
572
+
573
+ [Calibration sample 2-10]
574
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
575
+
576
+
577
+ [Calibration sample 2-11]
578
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
579
+ Calculate its area and perimeter.
580
+
581
+
582
+ [Calibration sample 2-12]
583
+ If a train travels 240 kilometers in 3 hours, calculate its average
584
+ speed in kilometers per hour.
585
+
586
+
587
+ [Calibration sample 2-13]
588
+ A number is multiplied by 4 and then increased by 9 to produce 37.
589
+ Find the original number.
590
+
591
+
592
+ [Calibration sample 2-14]
593
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
594
+ of randomly selecting a blue ball? Explain your reasoning.
595
+
596
+
597
+ [Calibration sample 2-15]
598
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
599
+ Calculate the discount and the final price.
600
+
601
+
602
+ [Calibration sample 2-16]
603
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
604
+
605
+
606
+ [Calibration sample 2-17]
607
+ Explain why the square root of 2 is irrational using a proof by contradiction.
608
+
609
+
610
+ [Calibration sample 2-18]
611
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
612
+ the next three terms.
613
+
614
+
615
+ [Calibration sample 2-19]
616
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
617
+ Calculate its area and explain the formula.
618
+
619
+
620
+ [Calibration sample 2-20]
621
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
622
+ Determine how many chickens and cows there are. Explain the reasoning.
623
+
624
+
625
+ [Calibration sample 2-21]
626
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
627
+ You may take one fruit from one box. Explain how to correctly relabel
628
+ all three boxes.
629
+
630
+
631
+ [Calibration sample 2-22]
632
+ A clock shows 3:15. What is the smaller angle between the hour hand
633
+ and minute hand? Explain carefully.
634
+
635
+
636
+ [Calibration sample 2-23]
637
+ You have eight identical-looking balls and one is heavier.
638
+ Using a balance scale only twice, explain how to find the heavier ball.
639
+
640
+
641
+ [Calibration sample 2-24]
642
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
643
+ calculate the next five values.
644
+
645
+
646
+ [Calibration sample 2-25]
647
+ Explain artificial intelligence to a ten-year-old using a simple
648
+ real-world analogy. Avoid technical jargon where possible.
649
+
650
+
651
+ [Calibration sample 2-26]
652
+ Explain the difference between machine learning and traditional
653
+ programming using a clear example.
654
+
655
+
656
+ [Calibration sample 2-27]
657
+ What is a neural network? Explain neurons, weights, training,
658
+ and inference in simple but technically accurate language.
659
+
660
+
661
+ [Calibration sample 2-28]
662
+ Explain why training data quality can matter as much as training
663
+ data quantity when building a language model.
664
+
665
+
666
+ [Calibration sample 2-29]
667
+ Describe the difference between an open-source model and an
668
+ open-weight model. Explain why the distinction matters.
669
+
670
+
671
+ [Calibration sample 2-30]
672
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
673
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
674
+
675
+
676
+ [Calibration sample 2-31]
677
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
678
+ يوضح كيف يتعلم النموذج من البيانات.
679
+
680
+
681
+ [Calibration sample 2-32]
682
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
683
+
684
+
685
+ [Calibration sample 2-33]
686
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
687
+ توليد النصوص بعد التدريب.
688
+
689
+
690
+ [Calibration sample 2-34]
691
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
692
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
693
+
694
+
695
+ [Calibration sample 2-35]
696
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
697
+ اليومية ديالنا فالمغرب.
698
+
699
+
700
+ [Calibration sample 2-36]
701
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
702
+ وبمثال واضح.
703
+
704
+
705
+ [Calibration sample 2-37]
706
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
707
+
708
+
709
+ [Calibration sample 2-38]
710
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
711
+
712
+
713
+ [Calibration sample 2-39]
714
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
715
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
716
+
717
+
718
+ [Calibration sample 2-40]
719
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
720
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
721
+
722
+
723
+ [Calibration sample 2-41]
724
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
725
+
726
+
727
+ [Calibration sample 2-42]
728
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
729
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
730
+
731
+
732
+ [Calibration sample 2-43]
733
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
734
+ موديلات الذكاء الاصطناعي؟
735
+
736
+
737
+ [Calibration sample 2-44]
738
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
739
+ ديال machine learning.
740
+
741
+
742
+ [Calibration sample 2-45]
743
+ Large language models are neural networks trained to predict tokens.
744
+ During training, the model processes sequences of text and adjusts its
745
+ parameters so that its predictions become closer to the expected next
746
+ tokens. Modern transformer architectures use attention mechanisms to
747
+ connect information across different positions in a sequence. During
748
+ inference, the trained parameters remain fixed while the model generates
749
+ new tokens step by step.
750
+
751
+
752
+ [Calibration sample 2-46]
753
+ Quantization reduces the numerical precision used to represent model
754
+ weights. A model stored in BF16 may require substantially more memory
755
+ than the same model represented with four-bit or two-bit quantization.
756
+ Lower-bit quantization can make large models easier to deploy, although
757
+ aggressive quantization can reduce accuracy and may require techniques
758
+ such as importance matrices to preserve the most important information.
759
+
760
+
761
+ [Calibration sample 2-47]
762
+ Software engineering requires careful handling of errors, interfaces,
763
+ dependencies, testing, and maintainability. A program that works for one
764
+ input is not necessarily robust. Good implementations consider edge
765
+ cases, validate assumptions, use clear abstractions, and provide useful
766
+ error messages when something goes wrong.
767
+
768
+
769
+ [Calibration sample 2-48]
770
+ When evaluating an AI model, it is useful to measure different
771
+ capabilities separately. Coding benchmarks can test program synthesis,
772
+ mathematical datasets can test symbolic and numerical reasoning, and
773
+ language evaluations can measure instruction following and multilingual
774
+ performance. A single benchmark score does not completely describe the
775
+ capabilities of a model.
776
+
777
+
778
+ [Calibration sample 3-0]
779
+ Write a Python function that determines whether a string is a palindrome.
780
+ The function should ignore spaces, punctuation, and capitalization.
781
+ Explain the algorithm and its time complexity.
782
+
783
+
784
+ [Calibration sample 3-1]
785
+ Implement binary search in Python for a sorted list of integers.
786
+ Return the index of the target or -1 when it is not present.
787
+ Explain why binary search runs in logarithmic time.
788
+
789
+
790
+ [Calibration sample 3-2]
791
+ Write a Python function that counts the frequency of every word
792
+ in a text. Normalize capitalization and ignore punctuation.
793
+ Return the words ordered from most frequent to least frequent.
794
+
795
+
796
+ [Calibration sample 3-3]
797
+ Given a list of integers, find the maximum subarray sum using
798
+ Kadane's algorithm. Explain why the algorithm works and give its
799
+ time and space complexity.
800
+
801
+
802
+ [Calibration sample 3-4]
803
+ Implement a stack using two queues. Explain each operation and
804
+ the tradeoff between the possible implementations.
805
+
806
+
807
+ [Calibration sample 3-5]
808
+ Write a function that checks whether two strings are anagrams.
809
+ The solution should run in O(n) time using a frequency dictionary.
810
+
811
+
812
+ [Calibration sample 3-6]
813
+ Explain the difference between a process and a thread in an
814
+ operating system. Give an example where multithreading is useful.
815
+
816
+
817
+ [Calibration sample 3-7]
818
+ Write a recursive function to calculate the factorial of an integer.
819
+ Handle zero correctly and explain the base case.
820
+
821
+
822
+ [Calibration sample 3-8]
823
+ Explain what an API is and show a small Python example of sending
824
+ a JSON request to an HTTP endpoint.
825
+
826
+
827
+ [Calibration sample 3-9]
828
+ Design a simple REST API for a chat application. Describe endpoints
829
+ for creating conversations, sending messages, and retrieving history.
830
+
831
+
832
+ [Calibration sample 3-10]
833
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
834
+
835
+
836
+ [Calibration sample 3-11]
837
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
838
+ Calculate its area and perimeter.
839
+
840
+
841
+ [Calibration sample 3-12]
842
+ If a train travels 240 kilometers in 3 hours, calculate its average
843
+ speed in kilometers per hour.
844
+
845
+
846
+ [Calibration sample 3-13]
847
+ A number is multiplied by 4 and then increased by 9 to produce 37.
848
+ Find the original number.
849
+
850
+
851
+ [Calibration sample 3-14]
852
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
853
+ of randomly selecting a blue ball? Explain your reasoning.
854
+
855
+
856
+ [Calibration sample 3-15]
857
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
858
+ Calculate the discount and the final price.
859
+
860
+
861
+ [Calibration sample 3-16]
862
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
863
+
864
+
865
+ [Calibration sample 3-17]
866
+ Explain why the square root of 2 is irrational using a proof by contradiction.
867
+
868
+
869
+ [Calibration sample 3-18]
870
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
871
+ the next three terms.
872
+
873
+
874
+ [Calibration sample 3-19]
875
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
876
+ Calculate its area and explain the formula.
877
+
878
+
879
+ [Calibration sample 3-20]
880
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
881
+ Determine how many chickens and cows there are. Explain the reasoning.
882
+
883
+
884
+ [Calibration sample 3-21]
885
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
886
+ You may take one fruit from one box. Explain how to correctly relabel
887
+ all three boxes.
888
+
889
+
890
+ [Calibration sample 3-22]
891
+ A clock shows 3:15. What is the smaller angle between the hour hand
892
+ and minute hand? Explain carefully.
893
+
894
+
895
+ [Calibration sample 3-23]
896
+ You have eight identical-looking balls and one is heavier.
897
+ Using a balance scale only twice, explain how to find the heavier ball.
898
+
899
+
900
+ [Calibration sample 3-24]
901
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
902
+ calculate the next five values.
903
+
904
+
905
+ [Calibration sample 3-25]
906
+ Explain artificial intelligence to a ten-year-old using a simple
907
+ real-world analogy. Avoid technical jargon where possible.
908
+
909
+
910
+ [Calibration sample 3-26]
911
+ Explain the difference between machine learning and traditional
912
+ programming using a clear example.
913
+
914
+
915
+ [Calibration sample 3-27]
916
+ What is a neural network? Explain neurons, weights, training,
917
+ and inference in simple but technically accurate language.
918
+
919
+
920
+ [Calibration sample 3-28]
921
+ Explain why training data quality can matter as much as training
922
+ data quantity when building a language model.
923
+
924
+
925
+ [Calibration sample 3-29]
926
+ Describe the difference between an open-source model and an
927
+ open-weight model. Explain why the distinction matters.
928
+
929
+
930
+ [Calibration sample 3-30]
931
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
932
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
933
+
934
+
935
+ [Calibration sample 3-31]
936
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
937
+ يوضح كيف يتعلم النموذج من البيانات.
938
+
939
+
940
+ [Calibration sample 3-32]
941
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
942
+
943
+
944
+ [Calibration sample 3-33]
945
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
946
+ توليد النصوص بعد التدريب.
947
+
948
+
949
+ [Calibration sample 3-34]
950
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
951
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
952
+
953
+
954
+ [Calibration sample 3-35]
955
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
956
+ اليومية ديالنا فالمغرب.
957
+
958
+
959
+ [Calibration sample 3-36]
960
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
961
+ وبمثال واضح.
962
+
963
+
964
+ [Calibration sample 3-37]
965
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
966
+
967
+
968
+ [Calibration sample 3-38]
969
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
970
+
971
+
972
+ [Calibration sample 3-39]
973
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
974
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
975
+
976
+
977
+ [Calibration sample 3-40]
978
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
979
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
980
+
981
+
982
+ [Calibration sample 3-41]
983
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
984
+
985
+
986
+ [Calibration sample 3-42]
987
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
988
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
989
+
990
+
991
+ [Calibration sample 3-43]
992
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
993
+ موديلات الذكاء الاصطناعي؟
994
+
995
+
996
+ [Calibration sample 3-44]
997
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
998
+ ديال machine learning.
999
+
1000
+
1001
+ [Calibration sample 3-45]
1002
+ Large language models are neural networks trained to predict tokens.
1003
+ During training, the model processes sequences of text and adjusts its
1004
+ parameters so that its predictions become closer to the expected next
1005
+ tokens. Modern transformer architectures use attention mechanisms to
1006
+ connect information across different positions in a sequence. During
1007
+ inference, the trained parameters remain fixed while the model generates
1008
+ new tokens step by step.
1009
+
1010
+
1011
+ [Calibration sample 3-46]
1012
+ Quantization reduces the numerical precision used to represent model
1013
+ weights. A model stored in BF16 may require substantially more memory
1014
+ than the same model represented with four-bit or two-bit quantization.
1015
+ Lower-bit quantization can make large models easier to deploy, although
1016
+ aggressive quantization can reduce accuracy and may require techniques
1017
+ such as importance matrices to preserve the most important information.
1018
+
1019
+
1020
+ [Calibration sample 3-47]
1021
+ Software engineering requires careful handling of errors, interfaces,
1022
+ dependencies, testing, and maintainability. A program that works for one
1023
+ input is not necessarily robust. Good implementations consider edge
1024
+ cases, validate assumptions, use clear abstractions, and provide useful
1025
+ error messages when something goes wrong.
1026
+
1027
+
1028
+ [Calibration sample 3-48]
1029
+ When evaluating an AI model, it is useful to measure different
1030
+ capabilities separately. Coding benchmarks can test program synthesis,
1031
+ mathematical datasets can test symbolic and numerical reasoning, and
1032
+ language evaluations can measure instruction following and multilingual
1033
+ performance. A single benchmark score does not completely describe the
1034
+ capabilities of a model.
1035
+
1036
+
1037
+ [Calibration sample 4-0]
1038
+ Write a Python function that determines whether a string is a palindrome.
1039
+ The function should ignore spaces, punctuation, and capitalization.
1040
+ Explain the algorithm and its time complexity.
1041
+
1042
+
1043
+ [Calibration sample 4-1]
1044
+ Implement binary search in Python for a sorted list of integers.
1045
+ Return the index of the target or -1 when it is not present.
1046
+ Explain why binary search runs in logarithmic time.
1047
+
1048
+
1049
+ [Calibration sample 4-2]
1050
+ Write a Python function that counts the frequency of every word
1051
+ in a text. Normalize capitalization and ignore punctuation.
1052
+ Return the words ordered from most frequent to least frequent.
1053
+
1054
+
1055
+ [Calibration sample 4-3]
1056
+ Given a list of integers, find the maximum subarray sum using
1057
+ Kadane's algorithm. Explain why the algorithm works and give its
1058
+ time and space complexity.
1059
+
1060
+
1061
+ [Calibration sample 4-4]
1062
+ Implement a stack using two queues. Explain each operation and
1063
+ the tradeoff between the possible implementations.
1064
+
1065
+
1066
+ [Calibration sample 4-5]
1067
+ Write a function that checks whether two strings are anagrams.
1068
+ The solution should run in O(n) time using a frequency dictionary.
1069
+
1070
+
1071
+ [Calibration sample 4-6]
1072
+ Explain the difference between a process and a thread in an
1073
+ operating system. Give an example where multithreading is useful.
1074
+
1075
+
1076
+ [Calibration sample 4-7]
1077
+ Write a recursive function to calculate the factorial of an integer.
1078
+ Handle zero correctly and explain the base case.
1079
+
1080
+
1081
+ [Calibration sample 4-8]
1082
+ Explain what an API is and show a small Python example of sending
1083
+ a JSON request to an HTTP endpoint.
1084
+
1085
+
1086
+ [Calibration sample 4-9]
1087
+ Design a simple REST API for a chat application. Describe endpoints
1088
+ for creating conversations, sending messages, and retrieving history.
1089
+
1090
+
1091
+ [Calibration sample 4-10]
1092
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
1093
+
1094
+
1095
+ [Calibration sample 4-11]
1096
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
1097
+ Calculate its area and perimeter.
1098
+
1099
+
1100
+ [Calibration sample 4-12]
1101
+ If a train travels 240 kilometers in 3 hours, calculate its average
1102
+ speed in kilometers per hour.
1103
+
1104
+
1105
+ [Calibration sample 4-13]
1106
+ A number is multiplied by 4 and then increased by 9 to produce 37.
1107
+ Find the original number.
1108
+
1109
+
1110
+ [Calibration sample 4-14]
1111
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
1112
+ of randomly selecting a blue ball? Explain your reasoning.
1113
+
1114
+
1115
+ [Calibration sample 4-15]
1116
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
1117
+ Calculate the discount and the final price.
1118
+
1119
+
1120
+ [Calibration sample 4-16]
1121
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
1122
+
1123
+
1124
+ [Calibration sample 4-17]
1125
+ Explain why the square root of 2 is irrational using a proof by contradiction.
1126
+
1127
+
1128
+ [Calibration sample 4-18]
1129
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
1130
+ the next three terms.
1131
+
1132
+
1133
+ [Calibration sample 4-19]
1134
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
1135
+ Calculate its area and explain the formula.
1136
+
1137
+
1138
+ [Calibration sample 4-20]
1139
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
1140
+ Determine how many chickens and cows there are. Explain the reasoning.
1141
+
1142
+
1143
+ [Calibration sample 4-21]
1144
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
1145
+ You may take one fruit from one box. Explain how to correctly relabel
1146
+ all three boxes.
1147
+
1148
+
1149
+ [Calibration sample 4-22]
1150
+ A clock shows 3:15. What is the smaller angle between the hour hand
1151
+ and minute hand? Explain carefully.
1152
+
1153
+
1154
+ [Calibration sample 4-23]
1155
+ You have eight identical-looking balls and one is heavier.
1156
+ Using a balance scale only twice, explain how to find the heavier ball.
1157
+
1158
+
1159
+ [Calibration sample 4-24]
1160
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
1161
+ calculate the next five values.
1162
+
1163
+
1164
+ [Calibration sample 4-25]
1165
+ Explain artificial intelligence to a ten-year-old using a simple
1166
+ real-world analogy. Avoid technical jargon where possible.
1167
+
1168
+
1169
+ [Calibration sample 4-26]
1170
+ Explain the difference between machine learning and traditional
1171
+ programming using a clear example.
1172
+
1173
+
1174
+ [Calibration sample 4-27]
1175
+ What is a neural network? Explain neurons, weights, training,
1176
+ and inference in simple but technically accurate language.
1177
+
1178
+
1179
+ [Calibration sample 4-28]
1180
+ Explain why training data quality can matter as much as training
1181
+ data quantity when building a language model.
1182
+
1183
+
1184
+ [Calibration sample 4-29]
1185
+ Describe the difference between an open-source model and an
1186
+ open-weight model. Explain why the distinction matters.
1187
+
1188
+
1189
+ [Calibration sample 4-30]
1190
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
1191
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
1192
+
1193
+
1194
+ [Calibration sample 4-31]
1195
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
1196
+ يوضح كيف يتعلم النموذج من البيانات.
1197
+
1198
+
1199
+ [Calibration sample 4-32]
1200
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
1201
+
1202
+
1203
+ [Calibration sample 4-33]
1204
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
1205
+ توليد النصوص بعد التدريب.
1206
+
1207
+
1208
+ [Calibration sample 4-34]
1209
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
1210
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
1211
+
1212
+
1213
+ [Calibration sample 4-35]
1214
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
1215
+ اليومية ديالنا فالمغرب.
1216
+
1217
+
1218
+ [Calibration sample 4-36]
1219
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
1220
+ وبمثال واضح.
1221
+
1222
+
1223
+ [Calibration sample 4-37]
1224
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
1225
+
1226
+
1227
+ [Calibration sample 4-38]
1228
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
1229
+
1230
+
1231
+ [Calibration sample 4-39]
1232
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
1233
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
1234
+
1235
+
1236
+ [Calibration sample 4-40]
1237
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
1238
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
1239
+
1240
+
1241
+ [Calibration sample 4-41]
1242
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
1243
+
1244
+
1245
+ [Calibration sample 4-42]
1246
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
1247
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
1248
+
1249
+
1250
+ [Calibration sample 4-43]
1251
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
1252
+ موديلات الذكاء الاصطناعي؟
1253
+
1254
+
1255
+ [Calibration sample 4-44]
1256
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
1257
+ ديال machine learning.
1258
+
1259
+
1260
+ [Calibration sample 4-45]
1261
+ Large language models are neural networks trained to predict tokens.
1262
+ During training, the model processes sequences of text and adjusts its
1263
+ parameters so that its predictions become closer to the expected next
1264
+ tokens. Modern transformer architectures use attention mechanisms to
1265
+ connect information across different positions in a sequence. During
1266
+ inference, the trained parameters remain fixed while the model generates
1267
+ new tokens step by step.
1268
+
1269
+
1270
+ [Calibration sample 4-46]
1271
+ Quantization reduces the numerical precision used to represent model
1272
+ weights. A model stored in BF16 may require substantially more memory
1273
+ than the same model represented with four-bit or two-bit quantization.
1274
+ Lower-bit quantization can make large models easier to deploy, although
1275
+ aggressive quantization can reduce accuracy and may require techniques
1276
+ such as importance matrices to preserve the most important information.
1277
+
1278
+
1279
+ [Calibration sample 4-47]
1280
+ Software engineering requires careful handling of errors, interfaces,
1281
+ dependencies, testing, and maintainability. A program that works for one
1282
+ input is not necessarily robust. Good implementations consider edge
1283
+ cases, validate assumptions, use clear abstractions, and provide useful
1284
+ error messages when something goes wrong.
1285
+
1286
+
1287
+ [Calibration sample 4-48]
1288
+ When evaluating an AI model, it is useful to measure different
1289
+ capabilities separately. Coding benchmarks can test program synthesis,
1290
+ mathematical datasets can test symbolic and numerical reasoning, and
1291
+ language evaluations can measure instruction following and multilingual
1292
+ performance. A single benchmark score does not completely describe the
1293
+ capabilities of a model.
1294
+
1295
+
1296
+ [Calibration sample 5-0]
1297
+ Write a Python function that determines whether a string is a palindrome.
1298
+ The function should ignore spaces, punctuation, and capitalization.
1299
+ Explain the algorithm and its time complexity.
1300
+
1301
+
1302
+ [Calibration sample 5-1]
1303
+ Implement binary search in Python for a sorted list of integers.
1304
+ Return the index of the target or -1 when it is not present.
1305
+ Explain why binary search runs in logarithmic time.
1306
+
1307
+
1308
+ [Calibration sample 5-2]
1309
+ Write a Python function that counts the frequency of every word
1310
+ in a text. Normalize capitalization and ignore punctuation.
1311
+ Return the words ordered from most frequent to least frequent.
1312
+
1313
+
1314
+ [Calibration sample 5-3]
1315
+ Given a list of integers, find the maximum subarray sum using
1316
+ Kadane's algorithm. Explain why the algorithm works and give its
1317
+ time and space complexity.
1318
+
1319
+
1320
+ [Calibration sample 5-4]
1321
+ Implement a stack using two queues. Explain each operation and
1322
+ the tradeoff between the possible implementations.
1323
+
1324
+
1325
+ [Calibration sample 5-5]
1326
+ Write a function that checks whether two strings are anagrams.
1327
+ The solution should run in O(n) time using a frequency dictionary.
1328
+
1329
+
1330
+ [Calibration sample 5-6]
1331
+ Explain the difference between a process and a thread in an
1332
+ operating system. Give an example where multithreading is useful.
1333
+
1334
+
1335
+ [Calibration sample 5-7]
1336
+ Write a recursive function to calculate the factorial of an integer.
1337
+ Handle zero correctly and explain the base case.
1338
+
1339
+
1340
+ [Calibration sample 5-8]
1341
+ Explain what an API is and show a small Python example of sending
1342
+ a JSON request to an HTTP endpoint.
1343
+
1344
+
1345
+ [Calibration sample 5-9]
1346
+ Design a simple REST API for a chat application. Describe endpoints
1347
+ for creating conversations, sending messages, and retrieving history.
1348
+
1349
+
1350
+ [Calibration sample 5-10]
1351
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
1352
+
1353
+
1354
+ [Calibration sample 5-11]
1355
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
1356
+ Calculate its area and perimeter.
1357
+
1358
+
1359
+ [Calibration sample 5-12]
1360
+ If a train travels 240 kilometers in 3 hours, calculate its average
1361
+ speed in kilometers per hour.
1362
+
1363
+
1364
+ [Calibration sample 5-13]
1365
+ A number is multiplied by 4 and then increased by 9 to produce 37.
1366
+ Find the original number.
1367
+
1368
+
1369
+ [Calibration sample 5-14]
1370
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
1371
+ of randomly selecting a blue ball? Explain your reasoning.
1372
+
1373
+
1374
+ [Calibration sample 5-15]
1375
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
1376
+ Calculate the discount and the final price.
1377
+
1378
+
1379
+ [Calibration sample 5-16]
1380
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
1381
+
1382
+
1383
+ [Calibration sample 5-17]
1384
+ Explain why the square root of 2 is irrational using a proof by contradiction.
1385
+
1386
+
1387
+ [Calibration sample 5-18]
1388
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
1389
+ the next three terms.
1390
+
1391
+
1392
+ [Calibration sample 5-19]
1393
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
1394
+ Calculate its area and explain the formula.
1395
+
1396
+
1397
+ [Calibration sample 5-20]
1398
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
1399
+ Determine how many chickens and cows there are. Explain the reasoning.
1400
+
1401
+
1402
+ [Calibration sample 5-21]
1403
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
1404
+ You may take one fruit from one box. Explain how to correctly relabel
1405
+ all three boxes.
1406
+
1407
+
1408
+ [Calibration sample 5-22]
1409
+ A clock shows 3:15. What is the smaller angle between the hour hand
1410
+ and minute hand? Explain carefully.
1411
+
1412
+
1413
+ [Calibration sample 5-23]
1414
+ You have eight identical-looking balls and one is heavier.
1415
+ Using a balance scale only twice, explain how to find the heavier ball.
1416
+
1417
+
1418
+ [Calibration sample 5-24]
1419
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
1420
+ calculate the next five values.
1421
+
1422
+
1423
+ [Calibration sample 5-25]
1424
+ Explain artificial intelligence to a ten-year-old using a simple
1425
+ real-world analogy. Avoid technical jargon where possible.
1426
+
1427
+
1428
+ [Calibration sample 5-26]
1429
+ Explain the difference between machine learning and traditional
1430
+ programming using a clear example.
1431
+
1432
+
1433
+ [Calibration sample 5-27]
1434
+ What is a neural network? Explain neurons, weights, training,
1435
+ and inference in simple but technically accurate language.
1436
+
1437
+
1438
+ [Calibration sample 5-28]
1439
+ Explain why training data quality can matter as much as training
1440
+ data quantity when building a language model.
1441
+
1442
+
1443
+ [Calibration sample 5-29]
1444
+ Describe the difference between an open-source model and an
1445
+ open-weight model. Explain why the distinction matters.
1446
+
1447
+
1448
+ [Calibration sample 5-30]
1449
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
1450
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
1451
+
1452
+
1453
+ [Calibration sample 5-31]
1454
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
1455
+ يوضح كيف يتعلم النموذج من البيانات.
1456
+
1457
+
1458
+ [Calibration sample 5-32]
1459
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
1460
+
1461
+
1462
+ [Calibration sample 5-33]
1463
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
1464
+ توليد النصوص بعد التدريب.
1465
+
1466
+
1467
+ [Calibration sample 5-34]
1468
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
1469
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
1470
+
1471
+
1472
+ [Calibration sample 5-35]
1473
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
1474
+ اليومية ديالنا فالمغرب.
1475
+
1476
+
1477
+ [Calibration sample 5-36]
1478
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
1479
+ وبمثال واضح.
1480
+
1481
+
1482
+ [Calibration sample 5-37]
1483
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
1484
+
1485
+
1486
+ [Calibration sample 5-38]
1487
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
1488
+
1489
+
1490
+ [Calibration sample 5-39]
1491
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
1492
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
1493
+
1494
+
1495
+ [Calibration sample 5-40]
1496
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
1497
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
1498
+
1499
+
1500
+ [Calibration sample 5-41]
1501
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
1502
+
1503
+
1504
+ [Calibration sample 5-42]
1505
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
1506
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
1507
+
1508
+
1509
+ [Calibration sample 5-43]
1510
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
1511
+ موديلات الذكاء الاصطناعي؟
1512
+
1513
+
1514
+ [Calibration sample 5-44]
1515
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
1516
+ ديال machine learning.
1517
+
1518
+
1519
+ [Calibration sample 5-45]
1520
+ Large language models are neural networks trained to predict tokens.
1521
+ During training, the model processes sequences of text and adjusts its
1522
+ parameters so that its predictions become closer to the expected next
1523
+ tokens. Modern transformer architectures use attention mechanisms to
1524
+ connect information across different positions in a sequence. During
1525
+ inference, the trained parameters remain fixed while the model generates
1526
+ new tokens step by step.
1527
+
1528
+
1529
+ [Calibration sample 5-46]
1530
+ Quantization reduces the numerical precision used to represent model
1531
+ weights. A model stored in BF16 may require substantially more memory
1532
+ than the same model represented with four-bit or two-bit quantization.
1533
+ Lower-bit quantization can make large models easier to deploy, although
1534
+ aggressive quantization can reduce accuracy and may require techniques
1535
+ such as importance matrices to preserve the most important information.
1536
+
1537
+
1538
+ [Calibration sample 5-47]
1539
+ Software engineering requires careful handling of errors, interfaces,
1540
+ dependencies, testing, and maintainability. A program that works for one
1541
+ input is not necessarily robust. Good implementations consider edge
1542
+ cases, validate assumptions, use clear abstractions, and provide useful
1543
+ error messages when something goes wrong.
1544
+
1545
+
1546
+ [Calibration sample 5-48]
1547
+ When evaluating an AI model, it is useful to measure different
1548
+ capabilities separately. Coding benchmarks can test program synthesis,
1549
+ mathematical datasets can test symbolic and numerical reasoning, and
1550
+ language evaluations can measure instruction following and multilingual
1551
+ performance. A single benchmark score does not completely describe the
1552
+ capabilities of a model.
1553
+
1554
+
1555
+ [Calibration sample 6-0]
1556
+ Write a Python function that determines whether a string is a palindrome.
1557
+ The function should ignore spaces, punctuation, and capitalization.
1558
+ Explain the algorithm and its time complexity.
1559
+
1560
+
1561
+ [Calibration sample 6-1]
1562
+ Implement binary search in Python for a sorted list of integers.
1563
+ Return the index of the target or -1 when it is not present.
1564
+ Explain why binary search runs in logarithmic time.
1565
+
1566
+
1567
+ [Calibration sample 6-2]
1568
+ Write a Python function that counts the frequency of every word
1569
+ in a text. Normalize capitalization and ignore punctuation.
1570
+ Return the words ordered from most frequent to least frequent.
1571
+
1572
+
1573
+ [Calibration sample 6-3]
1574
+ Given a list of integers, find the maximum subarray sum using
1575
+ Kadane's algorithm. Explain why the algorithm works and give its
1576
+ time and space complexity.
1577
+
1578
+
1579
+ [Calibration sample 6-4]
1580
+ Implement a stack using two queues. Explain each operation and
1581
+ the tradeoff between the possible implementations.
1582
+
1583
+
1584
+ [Calibration sample 6-5]
1585
+ Write a function that checks whether two strings are anagrams.
1586
+ The solution should run in O(n) time using a frequency dictionary.
1587
+
1588
+
1589
+ [Calibration sample 6-6]
1590
+ Explain the difference between a process and a thread in an
1591
+ operating system. Give an example where multithreading is useful.
1592
+
1593
+
1594
+ [Calibration sample 6-7]
1595
+ Write a recursive function to calculate the factorial of an integer.
1596
+ Handle zero correctly and explain the base case.
1597
+
1598
+
1599
+ [Calibration sample 6-8]
1600
+ Explain what an API is and show a small Python example of sending
1601
+ a JSON request to an HTTP endpoint.
1602
+
1603
+
1604
+ [Calibration sample 6-9]
1605
+ Design a simple REST API for a chat application. Describe endpoints
1606
+ for creating conversations, sending messages, and retrieving history.
1607
+
1608
+
1609
+ [Calibration sample 6-10]
1610
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
1611
+
1612
+
1613
+ [Calibration sample 6-11]
1614
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
1615
+ Calculate its area and perimeter.
1616
+
1617
+
1618
+ [Calibration sample 6-12]
1619
+ If a train travels 240 kilometers in 3 hours, calculate its average
1620
+ speed in kilometers per hour.
1621
+
1622
+
1623
+ [Calibration sample 6-13]
1624
+ A number is multiplied by 4 and then increased by 9 to produce 37.
1625
+ Find the original number.
1626
+
1627
+
1628
+ [Calibration sample 6-14]
1629
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
1630
+ of randomly selecting a blue ball? Explain your reasoning.
1631
+
1632
+
1633
+ [Calibration sample 6-15]
1634
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
1635
+ Calculate the discount and the final price.
1636
+
1637
+
1638
+ [Calibration sample 6-16]
1639
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
1640
+
1641
+
1642
+ [Calibration sample 6-17]
1643
+ Explain why the square root of 2 is irrational using a proof by contradiction.
1644
+
1645
+
1646
+ [Calibration sample 6-18]
1647
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
1648
+ the next three terms.
1649
+
1650
+
1651
+ [Calibration sample 6-19]
1652
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
1653
+ Calculate its area and explain the formula.
1654
+
1655
+
1656
+ [Calibration sample 6-20]
1657
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
1658
+ Determine how many chickens and cows there are. Explain the reasoning.
1659
+
1660
+
1661
+ [Calibration sample 6-21]
1662
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
1663
+ You may take one fruit from one box. Explain how to correctly relabel
1664
+ all three boxes.
1665
+
1666
+
1667
+ [Calibration sample 6-22]
1668
+ A clock shows 3:15. What is the smaller angle between the hour hand
1669
+ and minute hand? Explain carefully.
1670
+
1671
+
1672
+ [Calibration sample 6-23]
1673
+ You have eight identical-looking balls and one is heavier.
1674
+ Using a balance scale only twice, explain how to find the heavier ball.
1675
+
1676
+
1677
+ [Calibration sample 6-24]
1678
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
1679
+ calculate the next five values.
1680
+
1681
+
1682
+ [Calibration sample 6-25]
1683
+ Explain artificial intelligence to a ten-year-old using a simple
1684
+ real-world analogy. Avoid technical jargon where possible.
1685
+
1686
+
1687
+ [Calibration sample 6-26]
1688
+ Explain the difference between machine learning and traditional
1689
+ programming using a clear example.
1690
+
1691
+
1692
+ [Calibration sample 6-27]
1693
+ What is a neural network? Explain neurons, weights, training,
1694
+ and inference in simple but technically accurate language.
1695
+
1696
+
1697
+ [Calibration sample 6-28]
1698
+ Explain why training data quality can matter as much as training
1699
+ data quantity when building a language model.
1700
+
1701
+
1702
+ [Calibration sample 6-29]
1703
+ Describe the difference between an open-source model and an
1704
+ open-weight model. Explain why the distinction matters.
1705
+
1706
+
1707
+ [Calibration sample 6-30]
1708
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
1709
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
1710
+
1711
+
1712
+ [Calibration sample 6-31]
1713
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
1714
+ يوضح كيف يتعلم النموذج من البيانات.
1715
+
1716
+
1717
+ [Calibration sample 6-32]
1718
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
1719
+
1720
+
1721
+ [Calibration sample 6-33]
1722
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
1723
+ توليد النصوص بعد التدريب.
1724
+
1725
+
1726
+ [Calibration sample 6-34]
1727
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
1728
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
1729
+
1730
+
1731
+ [Calibration sample 6-35]
1732
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
1733
+ اليومية ديالنا فالمغرب.
1734
+
1735
+
1736
+ [Calibration sample 6-36]
1737
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
1738
+ وبمثال واضح.
1739
+
1740
+
1741
+ [Calibration sample 6-37]
1742
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
1743
+
1744
+
1745
+ [Calibration sample 6-38]
1746
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
1747
+
1748
+
1749
+ [Calibration sample 6-39]
1750
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
1751
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
1752
+
1753
+
1754
+ [Calibration sample 6-40]
1755
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
1756
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
1757
+
1758
+
1759
+ [Calibration sample 6-41]
1760
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
1761
+
1762
+
1763
+ [Calibration sample 6-42]
1764
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
1765
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
1766
+
1767
+
1768
+ [Calibration sample 6-43]
1769
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
1770
+ موديلات الذكاء الاصطناعي؟
1771
+
1772
+
1773
+ [Calibration sample 6-44]
1774
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
1775
+ ديال machine learning.
1776
+
1777
+
1778
+ [Calibration sample 6-45]
1779
+ Large language models are neural networks trained to predict tokens.
1780
+ During training, the model processes sequences of text and adjusts its
1781
+ parameters so that its predictions become closer to the expected next
1782
+ tokens. Modern transformer architectures use attention mechanisms to
1783
+ connect information across different positions in a sequence. During
1784
+ inference, the trained parameters remain fixed while the model generates
1785
+ new tokens step by step.
1786
+
1787
+
1788
+ [Calibration sample 6-46]
1789
+ Quantization reduces the numerical precision used to represent model
1790
+ weights. A model stored in BF16 may require substantially more memory
1791
+ than the same model represented with four-bit or two-bit quantization.
1792
+ Lower-bit quantization can make large models easier to deploy, although
1793
+ aggressive quantization can reduce accuracy and may require techniques
1794
+ such as importance matrices to preserve the most important information.
1795
+
1796
+
1797
+ [Calibration sample 6-47]
1798
+ Software engineering requires careful handling of errors, interfaces,
1799
+ dependencies, testing, and maintainability. A program that works for one
1800
+ input is not necessarily robust. Good implementations consider edge
1801
+ cases, validate assumptions, use clear abstractions, and provide useful
1802
+ error messages when something goes wrong.
1803
+
1804
+
1805
+ [Calibration sample 6-48]
1806
+ When evaluating an AI model, it is useful to measure different
1807
+ capabilities separately. Coding benchmarks can test program synthesis,
1808
+ mathematical datasets can test symbolic and numerical reasoning, and
1809
+ language evaluations can measure instruction following and multilingual
1810
+ performance. A single benchmark score does not completely describe the
1811
+ capabilities of a model.
1812
+
1813
+
1814
+ [Calibration sample 7-0]
1815
+ Write a Python function that determines whether a string is a palindrome.
1816
+ The function should ignore spaces, punctuation, and capitalization.
1817
+ Explain the algorithm and its time complexity.
1818
+
1819
+
1820
+ [Calibration sample 7-1]
1821
+ Implement binary search in Python for a sorted list of integers.
1822
+ Return the index of the target or -1 when it is not present.
1823
+ Explain why binary search runs in logarithmic time.
1824
+
1825
+
1826
+ [Calibration sample 7-2]
1827
+ Write a Python function that counts the frequency of every word
1828
+ in a text. Normalize capitalization and ignore punctuation.
1829
+ Return the words ordered from most frequent to least frequent.
1830
+
1831
+
1832
+ [Calibration sample 7-3]
1833
+ Given a list of integers, find the maximum subarray sum using
1834
+ Kadane's algorithm. Explain why the algorithm works and give its
1835
+ time and space complexity.
1836
+
1837
+
1838
+ [Calibration sample 7-4]
1839
+ Implement a stack using two queues. Explain each operation and
1840
+ the tradeoff between the possible implementations.
1841
+
1842
+
1843
+ [Calibration sample 7-5]
1844
+ Write a function that checks whether two strings are anagrams.
1845
+ The solution should run in O(n) time using a frequency dictionary.
1846
+
1847
+
1848
+ [Calibration sample 7-6]
1849
+ Explain the difference between a process and a thread in an
1850
+ operating system. Give an example where multithreading is useful.
1851
+
1852
+
1853
+ [Calibration sample 7-7]
1854
+ Write a recursive function to calculate the factorial of an integer.
1855
+ Handle zero correctly and explain the base case.
1856
+
1857
+
1858
+ [Calibration sample 7-8]
1859
+ Explain what an API is and show a small Python example of sending
1860
+ a JSON request to an HTTP endpoint.
1861
+
1862
+
1863
+ [Calibration sample 7-9]
1864
+ Design a simple REST API for a chat application. Describe endpoints
1865
+ for creating conversations, sending messages, and retrieving history.
1866
+
1867
+
1868
+ [Calibration sample 7-10]
1869
+ Solve the equation 3x + 7 = 31. Show every algebraic step.
1870
+
1871
+
1872
+ [Calibration sample 7-11]
1873
+ A rectangle has a length of 12 centimeters and a width of 7 centimeters.
1874
+ Calculate its area and perimeter.
1875
+
1876
+
1877
+ [Calibration sample 7-12]
1878
+ If a train travels 240 kilometers in 3 hours, calculate its average
1879
+ speed in kilometers per hour.
1880
+
1881
+
1882
+ [Calibration sample 7-13]
1883
+ A number is multiplied by 4 and then increased by 9 to produce 37.
1884
+ Find the original number.
1885
+
1886
+
1887
+ [Calibration sample 7-14]
1888
+ There are 5 red balls and 3 blue balls in a bag. What is the probability
1889
+ of randomly selecting a blue ball? Explain your reasoning.
1890
+
1891
+
1892
+ [Calibration sample 7-15]
1893
+ A shop gives a 20 percent discount on a product priced at 250 dirhams.
1894
+ Calculate the discount and the final price.
1895
+
1896
+
1897
+ [Calibration sample 7-16]
1898
+ If x + y = 18 and x - y = 6, solve for x and y using a system of equations.
1899
+
1900
+
1901
+ [Calibration sample 7-17]
1902
+ Explain why the square root of 2 is irrational using a proof by contradiction.
1903
+
1904
+
1905
+ [Calibration sample 7-18]
1906
+ A sequence begins 2, 4, 8, 16, 32. Describe the pattern and calculate
1907
+ the next three terms.
1908
+
1909
+
1910
+ [Calibration sample 7-19]
1911
+ A triangle has a base of 10 centimeters and a height of 8 centimeters.
1912
+ Calculate its area and explain the formula.
1913
+
1914
+
1915
+ [Calibration sample 7-20]
1916
+ A farmer has chickens and cows. There are 20 animals and 56 legs.
1917
+ Determine how many chickens and cows there are. Explain the reasoning.
1918
+
1919
+
1920
+ [Calibration sample 7-21]
1921
+ Three boxes are labeled apples, oranges, and mixed. Every label is wrong.
1922
+ You may take one fruit from one box. Explain how to correctly relabel
1923
+ all three boxes.
1924
+
1925
+
1926
+ [Calibration sample 7-22]
1927
+ A clock shows 3:15. What is the smaller angle between the hour hand
1928
+ and minute hand? Explain carefully.
1929
+
1930
+
1931
+ [Calibration sample 7-23]
1932
+ You have eight identical-looking balls and one is heavier.
1933
+ Using a balance scale only twice, explain how to find the heavier ball.
1934
+
1935
+
1936
+ [Calibration sample 7-24]
1937
+ A sequence contains 1, 1, 2, 3, 5, 8, 13. Identify the rule and
1938
+ calculate the next five values.
1939
+
1940
+
1941
+ [Calibration sample 7-25]
1942
+ Explain artificial intelligence to a ten-year-old using a simple
1943
+ real-world analogy. Avoid technical jargon where possible.
1944
+
1945
+
1946
+ [Calibration sample 7-26]
1947
+ Explain the difference between machine learning and traditional
1948
+ programming using a clear example.
1949
+
1950
+
1951
+ [Calibration sample 7-27]
1952
+ What is a neural network? Explain neurons, weights, training,
1953
+ and inference in simple but technically accurate language.
1954
+
1955
+
1956
+ [Calibration sample 7-28]
1957
+ Explain why training data quality can matter as much as training
1958
+ data quantity when building a language model.
1959
+
1960
+
1961
+ [Calibration sample 7-29]
1962
+ Describe the difference between an open-source model and an
1963
+ open-weight model. Explain why the distinction matters.
1964
+
1965
+
1966
+ [Calibration sample 7-30]
1967
+ اشرح مفهوم الذكاء الاصطناعي بطريقة بسيطة لطفل صغير، مع إعطاء أمثلة
1968
+ من الحياة اليومية وكيف يمكن للحاسوب أن يتعلم من البيانات.
1969
+
1970
+
1971
+ [Calibration sample 7-31]
1972
+ اشرح الفرق بين البرمجة التقليدية وتعلم الآلة، وقدم مثالا بسيطا
1973
+ يوضح كيف يتعلم النموذج من البيانات.
1974
+
1975
+
1976
+ [Calibration sample 7-32]
1977
+ حل المعادلة 3س + 7 = 31 واشرح جميع الخطوات بطريقة واضحة.
1978
+
1979
+
1980
+ [Calibration sample 7-33]
1981
+ ما هو النموذج اللغوي الكبير؟ اشرح كيف يتم تدريبه وكيف يستطيع
1982
+ توليد النصوص بعد التدريب.
1983
+
1984
+
1985
+ [Calibration sample 7-34]
1986
+ اشرح أهمية البيانات الجيدة عند تدريب نماذج الذكاء الاصطناعي
1987
+ ولماذا لا تعني كمية البيانات الكبيرة دائما جودة أفضل.
1988
+
1989
+
1990
+ [Calibration sample 7-35]
1991
+ شرح ليا شنو هو الذكاء الاصطناعي بطريقة بسيطة وبأمثلة من الحياة
1992
+ اليومية ديالنا فالمغرب.
1993
+
1994
+
1995
+ [Calibration sample 7-36]
1996
+ شنو الفرق بين البرمجة العادية وتعلم الآلة؟ شرحها ليا بطريقة سهلة
1997
+ وبمثال واضح.
1998
+
1999
+
2000
+ [Calibration sample 7-37]
2001
+ إلى كان عندنا 3x + 7 = 31، شحال كتساوي x؟ وشرح ليا المراحل وحدة بوحدة.
2002
+
2003
+
2004
+ [Calibration sample 7-38]
2005
+ شرح ليا شنو هو الموديل ديال اللغة الكبير وكيفاش كيتعلم من الداتا.
2006
+
2007
+
2008
+ [Calibration sample 7-39]
2009
+ علاش الداتا النظيفة والمزيانة مهمة فالتدريب ديال موديلات الذكاء
2010
+ الاصطناعي؟ وعلاش ماشي ديما الكمية الكبيرة هي الأفضل؟
2011
+
2012
+
2013
+ [Calibration sample 7-40]
2014
+ بغيت نبني تطبيق صغير بالبايثون كيجاوب على أسئلة المستخدمين.
2015
+ شنو هي المكونات اللي خاصني وكيفاش نقدر ننظم المشروع؟
2016
+
2017
+
2018
+ [Calibration sample 7-41]
2019
+ شرح ليا شنو هو API وكيفاش نقدر نستعملو فمشروع ديالي بالبايثون.
2020
+
2021
+
2022
+ [Calibration sample 7-42]
2023
+ عندي لائحة ديال الأرقام وبغيت نلقى أكبر مجموع ديال عناصر متتابعة
2024
+ فيها. شرح ليا كيفاش نخدم بخوارزمية Kadane.
2025
+
2026
+
2027
+ [Calibration sample 7-43]
2028
+ شنو الفرق بين CPU و GPU؟ وعلاش الـGPU مهم بزاف فالتدريب ديال
2029
+ موديلات الذكاء الاصطناعي؟
2030
+
2031
+
2032
+ [Calibration sample 7-44]
2033
+ شرح ليا علاش خاصنا نديرو validation للبيانات قبل ما ندربو موديل
2034
+ ديال machine learning.
2035
+
2036
+
2037
+ [Calibration sample 7-45]
2038
+ Large language models are neural networks trained to predict tokens.
2039
+ During training, the model processes sequences of text and adjusts its
2040
+ parameters so that its predictions become closer to the expected next
2041
+ tokens. Modern transformer architectures use attention mechanisms to
2042
+ connect information across different positions in a sequence. During
2043
+ inference, the trained parameters remain fixed while the model generates
2044
+ new tokens step by step.
2045
+
2046
+
2047
+ [Calibration sample 7-46]
2048
+ Quantization reduces the numerical precision used to represent model
2049
+ weights. A model stored in BF16 may require substantially more memory
2050
+ than the same model represented with four-bit or two-bit quantization.
2051
+ Lower-bit quantization can make large models easier to deploy, although
2052
+ aggressive quantization can reduce accuracy and may require techniques
2053
+ such as importance matrices to preserve the most important information.
2054
+
2055
+
2056
+ [Calibration sample 7-47]
2057
+ Software engineering requires careful handling of errors, interfaces,
2058
+ dependencies, testing, and maintainability. A program that works for one
2059
+ input is not necessarily robust. Good implementations consider edge
2060
+ cases, validate assumptions, use clear abstractions, and provide useful
2061
+ error messages when something goes wrong.
2062
+
2063
+
2064
+ [Calibration sample 7-48]
2065
+ When evaluating an AI model, it is useful to measure different
2066
+ capabilities separately. Coding benchmarks can test program synthesis,
2067
+ mathematical datasets can test symbolic and numerical reasoning, and
2068
+ language evaluations can measure instruction following and multilingual
2069
+ performance. A single benchmark score does not completely describe the
2070
+ capabilities of a model.