Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minicpm-V2.6提取图片中的文本信息怎么输出置信度呢 #686

Open
zxy1029 opened this issue Dec 5, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@zxy1029
Copy link

zxy1029 commented Dec 5, 2024

起始日期 | Start Date

No response

实现PR | Implementation PR

No response

相关Issues | Reference Issues

No response

摘要 | Summary

minicpm-V2.6提取图片中的文本信息怎么输出置信度呢

基本示例 | Basic Example

minicpm-V2.6提取图片中的文本信息怎么输出置信度呢

缺陷 | Drawbacks

minicpm-V2.6提取图片中的文本信息怎么输出置信度呢

未解决问题 | Unresolved questions

No response

@zxy1029 zxy1029 added the question Further information is requested label Dec 5, 2024
@LDLINGLINGLING
Copy link
Collaborator

您好,其实由于大语言模型输出的是逐个token输出,可以理解为每个token有个概率,但是如果直接将这些概率累乘可能导致文本越长,概率越小这显然也是不对的。
总的来说生成式任务比较难以计算生成结果的概率,如果实在需要可以使用困惑度进行一个简单的替代

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants