0Pricing
NLP Academy · درس

كيف تقرأ RNN تسلسلًا

تحمل الحالة المخفية معلومات الماضي

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

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

One Word at a Time

A recurrent neural network reads text like you do, taking one token, then the next, never the whole sentence in one gulp.

The Hidden State

At each step the RNN keeps a small memory called the hidden state, a vector summarizing everything it has read so far.

A Loop Over Tokens

The same cell runs again and again, once per word. That repeated, looping structure is exactly why we call it recurrent.

Memory Carries Forward

Each new word updates the hidden state, so context from earlier in the sentence quietly flows forward to later steps.

The Update Rule

Conceptually the new state mixes the previous state with the current input through learned weights and an activation.

h = tanh(W_h @ h_prev + W_x @ x_t + b)

Sharing Weights

The RNN reuses the same weights at every position. That sharing lets it handle sentences of any length with one compact cell.

Inputs Are Vectors

Each word first becomes a numeric embedding. The RNN never sees letters, only these dense vectors flowing in one by one.

A Tiny Walkthrough

Reading I love this, the state shifts after I, again after love, and the final state reflects the full short phrase.

The Final State

For classification, the hidden state after the last word is often used as a summary of the entire sequence.

Outputs Per Step

You can also read an output at every step, which is handy for tagging each word, like part-of-speech labels.

Why This Helps NLP

Because state carries the past, an RNN can finally notice that not flips the meaning of the word that follows it. 🔁

Quick Check

What does an RNN carry from one token to the next?

Recap

An RNN loops over tokens, updating a hidden state that remembers the past, so order and context finally influence its output. 🎯

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

هل درس «كيف تقرأ RNN تسلسلًا» مجاني؟

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

ماذا ستتعلم في «كيف تقرأ RNN تسلسلًا»؟

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

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

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

كم من الوقت يستغرق درس «كيف تقرأ RNN تسلسلًا»؟

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

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

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

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

  1. لماذا يهم ترتيب الكلمات في اللغة
  2. كيف تقرأ RNN تسلسلًا
  3. إنشاء نموذج نصي باستخدام RNN
  4. مشكلة تلاشي التدرّج
← العودة إلى NLP Academy