Text Classification Using FastAI V2
conda create -n fai_v2 python=3.8
conda activate fai_v2
conda install -c fastai -c pytorch fastai
conda install jupyter
additional steps necessary for fastai2 text (this was nor required earlier but fastai did some changes on their code so we have to do this in order to avoid errors)
pip install transformers
pip install spacy-alignments
- This is for educationbal purpose
- This repo involves end to end pipeline to classify text using fastai V2, I ignored pre and post processing steps.
- I did not bother about accuracy of the mnodels
- I am attaching the link of the data : https://www.kaggle.com/datasets/datatattle/covid-19-nlp-text-classification?resource=download