We know that ChatGPT has the data being trained in 2021, so ChatGPT cannot get the point of the news after 2021. So, we use News API to get the data around now and feed to ChatGPT, then ChatGPT can make comments on news happened recently.
Python: 3.8.13, pytorch: 1.12.1, pytorch-crf: 0.7.2
python3 main.pyInfo: You should get an openai APIKEY, a news APIKEY, and Hanlp APIKEY(optional) first and fill them to the '***' part in the code.
Because we use the recent news to 'train' ChatGPT, so ChatGPT knows better about recent news.
1.Named Entity Recognition for Chinese Social Media with Jointly Trained Embeddings
2.He H, Choi J D. The stem cell hypothesis: Dilemma behind multi-task learning with transformer encoders[J]. arXiv preprint arXiv:2109.06939, 2021.

