NLP for beginners

Hello everyone,

I want to explore the domain of natural language processing and want to know where I can start.

Can you guys suggest me a possible road map for an absolute beginner to NLP?

I was thinking of starting NLP from chapter 10th of fastbook.

Thanks.

fastai-nlp is a good way to start.

https://www.fast.ai/2019/07/08/fastai-nlp/

I was thinking of starting NLP from chapter 10th of fastbook.

That should be fine as well. You can always revisit Traditional NLP methods.

2 Likes

Be careful with that notebook. The default code uses a batch size of 128, which may not fit into your available VRAM. You might want to halve it to be safe.

Modern NLP uses Deep Learning. I would start with https://course.fast.ai/ to learn the basics of DL (which also covers NLP use cases), and move on to fastai-nlp course later on.

Yeah I am following the same approach. Also I found that Fastbook to be very resourceful.

Hello, while running Lesson 4 notebook on Kaggle I am getting this error when executing the cell

tokz.vocab['_of']

KeyError Traceback (most recent call last)
/tmp/ipykernel_77/2001632069.py in
----> 1 tokz.vocab[‘_of’]

KeyError: ‘_of’

Here’s my notebook: Getting started with NLP for absolute beginners | Kaggle

actually found the answer on Lesson 4 official topic - #360 by mmaunder