LLM_VISION_IMAGE_USE_BASE64=1
是否会导致tokens的大量消耗?
#6731
SAnBlog
started this conversation in
General | 讨论
Replies: 1 comment 3 replies
-
上传图片的会走专门的图片token计算逻辑,和base64上传/url上传没有区别 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前Gemini使用OneApi中专无法上传图片,看到可以采用LLM_VISION_IMAGE_USE_BASE64的解决方案,确实解决了问题,但是有个疑问,既然是将图片转成base64,图片的大小转base64后的长度接近,那岂不是2M的一张图片会消耗大量的tokens?
有些模型上下文长度不足1M的能否上传2M的大小?
Beta Was this translation helpful? Give feedback.
All reactions