L2_NLP_pipeline_pytorch 韩忠涛 In this exercise, you are expected to construct a training pipeline based on pytorch and train on the glue-sst2, a sentiment analysis task. We have provided the dataset in data/. You are expected to complete three python files as follows. main.py Some nece...
pytorch-transformers==1.1.0 allennlp==0.9.0 Instructions: Before excuting the following commands, replace glove.840B.300d.txt(http://nlp.stanford.edu/data/wordvecs/glove.840B.300d.zip), bert-base-uncased.tar.gz(https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased.tar.gz...