Anaconda Version: conda 4.12.0 Python Version: Python 3.9.7
- nltk
- pandas
- numpy
- matplotlib
- pickle
- re
- scikit learn
- transformers
- seqeval[gpu]
- sentencepiece
- torch
Make sure you have the following packages installed in your system in order to run the project
https://drive.google.com/file/d/1AqZMqkAGUK7P-X_jXB9OddDJStTTUHE2/view?usp=sharing
- Upload the given notebook in Google Colab, choose 'GPU' in resources, and Run all the cells.
- It will take 10-15 minutes for the model to train and give results on the training, validation and test sets
- The notebook can be accessed directly at https://colab.research.google.com/drive/1JIghxsUBGTXe8bmg2kuEIS2n4pmE3wtH?usp=sharing
- References:
- https://www.freecodecamp.org/news/getting-started-with-ner-models-using-huggingface/
- https://colab.research.google.com/github/NielsRogge/Transformers-Tutorials/blob/master/BERT Custom_Named_Entity_Recognition_with_BERT_only_first_wordpiece.ipynb
- https://skimai.com/how-to-fine-tune-bert-for-named-entity-recognition-ner/
Please be patient while running the codes. This assignment involved a lot of cpu/gpu/tpu intensive processing. Thank you.