Deep Learning Academy · درس

معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا

أهم معامل قابل للضبط

الدرس 3 من 413 خطوة

معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا درس مجاني في Deep Learning Academy على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Deep Learning Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Deep Learning Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

The Size of Your Step

The gradient tells you which way to go, but how far? The learning rate is the multiplier that sets how big each downhill step is.

w = w - lr * grad

A Single Powerful Knob

The learning rate is often the single most important setting in training. Get it wrong and even a perfect model will fail to learn.

lr = 0.01

Too Small: Crawling

A tiny learning rate takes tip-toe steps. Loss drops, but so slowly that training drags on for ages or stalls before reaching the valley. 🐢

Too Big: Overshooting

A huge learning rate leaps so far it jumps past the valley and lands higher up the other side. Loss bounces around or shoots off to infinity.

The Divergence Warning Sign

If loss climbs or turns into NaN after a few steps, your learning rate is almost always too big. That is the clearest signal to turn it down.

Just Right: Smooth Descent

A good learning rate makes loss fall steadily and quickly without wild swings. The curve glides down and levels off near the bottom.

Sensible Starting Values

People rarely guess blindly. A common starting learning rate is around 0.001 to 0.01, then you adjust based on how the loss curve behaves.

lr = 1e-3

Watch the Loss Curve

Plotting loss over time is your best guide. A diverging curve says go smaller; a flat, barely-moving curve says you can go a bit larger.

It Interacts with Batch Size

The right learning rate depends on other choices like batch size and optimizer. Change one and you may need to retune the rate.

Schedules Change It Over Time

You can even shrink the learning rate as training goes on: take big strides early, then small careful steps near the bottom for a clean finish.

Tuning Is Normal

There is no universal best value, so trying a few learning rates and comparing curves is a normal, expected part of training a model.

Quick Check

What happens with too large a learning rate?

Recap

The learning rate sets step size: too small crawls, too big overshoots and diverges, and just right glides smoothly down. Watch the loss curve and tune it. 🎯

البدء مجانًا

تعلم Python مع معلم ذكاء اصطناعي — مجانًا

اكتب وقم بتشغيل أكوادك الفعلية في المتصفح، واحصل على مساعدة فورية من معلم ذكاء اصطناعي متاح 24/7، واستمر من حيث توقفت على الويب أو في التطبيق.

الدورات
30
الدروس
120

الأسئلة الشائعة

هل درس «معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا» مجاني؟

نعم — نص درس «معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Deep Learning Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Deep Learning Academy 4 دروس في المجموع.

ماذا ستتعلم في «معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا»؟

أهم معامل قابل للضبط تتمرن على Deep Learning Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Deep Learning Academy؟

لا تُشترط خبرة سابقة. Deep Learning Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.

كم من الوقت يستغرق درس «معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Deep Learning Academy هذا؟

نعم. كل درس في Deep Learning Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. الخسارة كسطح نهبط عليه
  2. تشير التدرجات إلى الأعلى — لذا تحرّك في الاتجاه المعاكس
  3. معدل التعلّم: كبير جدًا، صغير جدًا، أو مناسب تمامًا
  4. تصغير دالة يدويًا باستخدام Python
← العودة إلى Deep Learning Academy