llmware-ai / llmware-ai/llmware

Limitations with output tokens that prevent detailed answers

Open
#952 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14.8k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Hello, I had raised this in the discussions but received no answers (link: https://github.com/llmware-ai/llmware/discussions/936#discussion-6966751). How can we ensure that answers aren't truncated baed not he maximum output tokens? Even if the tokens are set at 2000, the answers are truncated when using the bling-phi-3-gguf model (and I assume any other model dependent on llmware's apis). I tried multiple methods to change the maximum output tokens including passing it into the method to get the model as well as in the gguf config. Can someone please help. thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked discussion and reproduce the truncation using the bling-phi-3-gguf model with a 2000-token setting. Trace how llmware's model-loading API and GGUF configuration pass the output-token limit; the issue is done when the configured limit is honored or the supported constraint is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.