OpenBMB / OpenBMB/CPM-Bee

带<mask>的<ans>格式的输出不一致?

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.4k
Forks
176
PR merge metrics
No merged PRs in 30d

Description

当使用这种格式'ans': {‘<mask_0’:''}时,答案是鸟

[{'document': '老鼠凶狠地指着猫说:我现在和蝙蝠结婚了!将来我们的孩子生活在空中!再也不怕你了!猫哈哈大笑,指了指树上的<mask_0>说:看见没,这是俺媳妇!',
'<ans>': {‘<mask_0’:'鸟'}}]

当使用这种格式ans: "" 时,答案是猫头鹰

[{'document': '老鼠凶狠地指着猫说:我现在和蝙蝠结婚了!将来我们的孩子生活在空中!再也不怕你了!猫哈哈大笑,指了指树上的<mask_0>说:看见没,这是俺媳妇!',
'<ans>': '猫头鹰'}]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file, entry point, or test. Start by reproducing both answer formats in the relevant data or inference path and compare how the <mask_0> answer is parsed; done means the two equivalent formats produce consistent output with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.