-
Notifications
You must be signed in to change notification settings - Fork 58
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
OpenAI api seems to not be working #47
Comments
okay, seems like this happens when temperature is 0. after removing that param I'm seeing text being generated, but it contains some weird tokens. Any idea what's up with that
|
You may change your prompt into "A profression that involves going to space is an", i.e., without the space at the end. With/without a space at the end is totally different thing for the model. |
openai_api_base = "http://0.0.0.0:65530/api/oai" 0.0.0.0 means any local ip |
the response told you ==> "finish_reason": "length" payload = {
|
It's not an issue with connecting to the api. The output contains weird tokens |
@cryscan I'll give that a shot next time I'm messing around with rwkv. From what I remember though, it'd happen even if i only put the word "Hello" as the prompt. |
I'm trying to run this script, but I keep getting nonsense output from the openai api
This is the response I get.
The weird thing is, i'm able to use the chat page in the UI just fine.
The text was updated successfully, but these errors were encountered: