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

Bug fix for server crash if first token is the stop word and asking for logprobs #7038

Merged
merged 1 commit into from
May 4, 2024

Commits on May 1, 2024

  1. If first token generated from the server is the stop word the server …

    …will crash
    
    This will reproduce the issue in llama13b
    {
    'prompt': 'Q: hello world \nA: ',
     'stop': ['\n'],
     'temperature': 0.0,
     'n_predict': 10,
     'cache_prompt': True,
     'n_probs': 10
    }
    maor-ps committed May 1, 2024
    Configuration menu
    Copy the full SHA
    534db8e View commit details
    Browse the repository at this point in the history