请问HN:使用聊天界面的自然语言处理
我使用OpenAI API进行命名实体识别(NER)任务以及基于方面的情感分析,效果相当不错。最近,有人问我是否可以通过在聊天界面上传文本来让ChatGPT进行同样的分析。我尝试了一下,发现与我从API获得的结果相比,效果相当差。原因在于ChatGPT只是编写Python代码,并使用现成的自然语言处理模块来执行这个任务。
你有什么建议可以解决这个问题吗?我希望ChatGPT生成文本,而不是Python代码,并执行那段代码。
查看原文
I use OpenAI API for doing NER tasks and also aspect-based sentiment analysis. It works pretty well. Recently, someone asked me whether ChatGPT can do the same analysis by uploading the text in the chat UI. I tried it and found the results pretty weak compared to what I get from the API. The reason for this is that ChatGPT just writes Python code and uses off the shelf NLP modules to conduct this task.<p>Any ideas for getting around this issue? I want ChatGPT to generate the text not the Python code and execute that code.