fix: gpt-3.5-turbo-instruct context size to 8192 (#1196)
This commit is contained in:
parent
ae3f1ac0a9
commit
435f804c6f
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ MODEL_MAX_TOKENS = {
|
||||||
'gpt-4': 8192,
|
'gpt-4': 8192,
|
||||||
'gpt-4-32k': 32768,
|
'gpt-4-32k': 32768,
|
||||||
'gpt-3.5-turbo': 4096,
|
'gpt-3.5-turbo': 4096,
|
||||||
'gpt-3.5-turbo-instruct': 4096,
|
'gpt-3.5-turbo-instruct': 8192,
|
||||||
'gpt-3.5-turbo-16k': 16384,
|
'gpt-3.5-turbo-16k': 16384,
|
||||||
'text-davinci-003': 4097,
|
'text-davinci-003': 4097,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ class OpenAIProvider(BaseModelProvider):
|
||||||
'gpt-4': 8192,
|
'gpt-4': 8192,
|
||||||
'gpt-4-32k': 32768,
|
'gpt-4-32k': 32768,
|
||||||
'gpt-3.5-turbo': 4096,
|
'gpt-3.5-turbo': 4096,
|
||||||
'gpt-3.5-turbo-instruct': 4096,
|
'gpt-3.5-turbo-instruct': 8192,
|
||||||
'gpt-3.5-turbo-16k': 16384,
|
'gpt-3.5-turbo-16k': 16384,
|
||||||
'text-davinci-003': 4097,
|
'text-davinci-003': 4097,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue