TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to run NER in batch with ChatGPT?

1 点作者 bguberfain大约 2 年前
Named entity recognition (NER) is usually the basis of transforming unstructured data (text) into structured data (say, in JSON format). The current best approach for NER in ChatGPT is few-shot-learning, where we give a few examples and asks for it to solve ONE instance of the task. The problem with this approach is the cost. We need to use a lot of tokens from examples in order to predict a single instance. I&#x27;m trying to overcome this issue by giving more than one instance for prediction. Something like this:<p>``` &lt;instruction&gt; &lt;1 - example&gt; &lt;2 - example&gt; &lt;3 - new instance&gt; &lt;4 - new instance&gt;<p>&lt;answer for 1&gt; &lt;answer for 2&gt; ```<p>Wishing the generator to predict answers for instances 3 and 4.<p>From my experience, results are worst than predicting a single instance.<p>Does anyone have better results in this task?<p>Thanks!

暂无评论

暂无评论