File size: 3,456 Bytes
8362fdc
00d3b75
 
 
8362fdc
00d3b75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8362fdc
 
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
 
 
 
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
 
 
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
 
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
 
 
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
 
 
8362fdc
00d3b75
8362fdc
00d3b75
 
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
8362fdc
00d3b75
 
 
 
8362fdc
00d3b75
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
---
language:
- ar
- ary
library_name: transformers
license: apache-2.0
base_model: ilyaslbern7347/whisper-darija-stage1
pipeline_tag: automatic-speech-recognition

tags:
- whisper
- automatic-speech-recognition
- speech-recognition
- darija
- moroccan-arabic
- whisper-finetuned
- generated_from_trainer

metrics:
- wer

model-index:
- name: whisper-darija-vols-stage2
  results:
  - task:
      type: automatic-speech-recognition
      name: Automatic Speech Recognition
    dataset:
      name: Moroccan Darija Flight Queries
      type: custom
    metrics:
    - type: wer
      value: 23.28
      name: Word Error Rate
---

# Whisper Darija Flights Stage 2

This model is a fine-tuned version of **ilyaslbern7347/whisper-darija-stage1** using a custom dataset of Moroccan Darija flight-related speech.

The objective of this model is to improve speech recognition accuracy for Moroccan Darija users searching for flights using natural language.

## Model Description

This model is based on OpenAI Whisper and has been further fine-tuned specifically for Moroccan Darija speech in the travel domain.

The model recognizes spoken requests such as:

- Book a flight
- Search for flights
- Departure city
- Destination city
- Travel date
- Number of passengers
- Flight-related conversational requests

This model is intended to be integrated into intelligent flight booking assistants.

---

# Base Model

- **Base Model:** ilyaslbern7347/whisper-darija-stage1

---

# Intended Uses

This model is suitable for:

- Automatic Speech Recognition (ASR)
- Moroccan Darija transcription
- Voice assistants
- Flight booking assistants
- Conversational AI
- Travel applications

---

# Limitations

This model was fine-tuned only on Moroccan Darija speech related to flight booking.

Performance may decrease for:

- General conversations
- Medical vocabulary
- Legal vocabulary
- Noisy audio
- Strong regional accents not represented in the training data

---

# Dataset

The model was trained on a custom Moroccan Darija speech dataset containing flight-related queries.

The dataset includes recordings covering:

- Departure cities
- Arrival cities
- Dates
- Passenger counts
- Flight reservations
- Flight search requests

---

# Training Procedure

## Hyperparameters

| Parameter | Value |
|-----------|-------|
| Learning Rate | 5e-6 |
| Train Batch Size | 8 |
| Eval Batch Size | 8 |
| Gradient Accumulation | 2 |
| Total Batch Size | 16 |
| Warmup Steps | 40 |
| Max Training Steps | 200 |
| Weight Decay | 0.01 |
| FP16 | True |
| Gradient Checkpointing | True |
| Optimizer | AdamW |
| LR Scheduler | Linear |

---

# Training Results

| Step | Training Loss | Validation Loss | WER |
|------|--------------:|----------------:|-----:|
| 50 | 1.5132 | 0.4115 | 30.17 |
| 100 | 0.1160 | 0.2923 | 25.51 |
| 150 | 0.0102 | **0.2779** | **23.28** |
| 200 | 0.0048 | 0.2775 | 23.46 |

Best checkpoint:

- Validation Loss: **0.2779**
- WER: **23.28**

---

# Evaluation

The model achieved:

- **Word Error Rate (WER): 23.28%**

This represents a significant improvement over the base model for Moroccan Darija flight-related speech recognition.

---

# Example Use Cases

The model can transcribe requests such as:

> "بغيت نحجز رحلة من كازا لباريس."

> "شنو أرخص رحلة لغدا؟"

> "بغيت نمشي لطنجة نهار الجمعة."

---

# Framework Versions

- Transformers
- PyTorch
- Datasets
- Tokenizers

---