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

[Question]: Max token parameter didn't work. #5640

Open
zhaoyang0618 opened this issue Mar 5, 2025 · 1 comment
Open

[Question]: Max token parameter didn't work. #5640

zhaoyang0618 opened this issue Mar 5, 2025 · 1 comment
Labels
question Further information is requested

Comments

@zhaoyang0618
Copy link

Describe your problem

我配置的大模型是qwen2.5系列,使用ollama运行,我给他配置的上下文最大是32768.
然后创建助手,配置模型的时候,最大的token数量设置了128000,可是输出的时候,还是很短,明显没有结束。
还有哪些地方和这个输出长度有关?

Image

@zhaoyang0618 zhaoyang0618 added the question Further information is requested label Mar 5, 2025
@JinHai-CN JinHai-CN changed the title [Question]: 最大tokens数量好像没有起作用 [Question]: Max token parameter didn't work. Mar 5, 2025
@writinwaters
Copy link
Contributor

Hiya, what's your RAGFlow version? From v0.17.0 onwards, the limit on max_token is limited. You can find from chat assistant settings max_token is disabled by default.

KevinHuSh added a commit that referenced this issue Mar 6, 2025
### What problem does this PR solve?

#5646 #5640

### Type of change

- [x] Refactoring
cike8899 added a commit to cike8899/ragflow that referenced this issue Mar 6, 2025
KevinHuSh pushed a commit that referenced this issue Mar 6, 2025
### What problem does this PR solve?

Fix: Remove the max token parameter. #5640 #5646

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
cike8899 added a commit to cike8899/ragflow that referenced this issue Mar 6, 2025
KevinHuSh pushed a commit that referenced this issue Mar 7, 2025
### What problem does this PR solve?

Fix: Remove the document language parameter. #5686

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
TeslaZY pushed a commit to TeslaZY/ragflow that referenced this issue Mar 8, 2025
…low#5728)

### What problem does this PR solve?

Fix: Remove the document language parameter. infiniflow#5686

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
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