mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Merge pull request #12999 from rmitsch/docs/gpt-3.5-turbo-instruct
Add `gpt-3.5-turbo-instruct` to list of supported OpenAI models
This commit is contained in:
		
						commit
						829613b959
					
				| 
						 | 
					@ -19,8 +19,8 @@ prototyping** and **prompting**, and turning unstructured responses into
 | 
				
			||||||
An LLM component is implemented through the `LLMWrapper` class. It is accessible
 | 
					An LLM component is implemented through the `LLMWrapper` class. It is accessible
 | 
				
			||||||
through a generic `llm`
 | 
					through a generic `llm`
 | 
				
			||||||
[component factory](https://spacy.io/usage/processing-pipelines#custom-components-factories)
 | 
					[component factory](https://spacy.io/usage/processing-pipelines#custom-components-factories)
 | 
				
			||||||
as well as through task-specific component factories: `llm_ner`, `llm_spancat`, `llm_rel`,
 | 
					as well as through task-specific component factories: `llm_ner`, `llm_spancat`,
 | 
				
			||||||
`llm_textcat`, `llm_sentiment` and `llm_summarization`.
 | 
					`llm_rel`, `llm_textcat`, `llm_sentiment` and `llm_summarization`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### LLMWrapper.\_\_init\_\_ {id="init",tag="method"}
 | 
					### LLMWrapper.\_\_init\_\_ {id="init",tag="method"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -953,11 +953,11 @@ provider's API.
 | 
				
			||||||
Currently, these models are provided as part of the core library:
 | 
					Currently, these models are provided as part of the core library:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Model                         | Provider  | Supported names                                                                                                    | Default name           | Default config                       |
 | 
					| Model                         | Provider  | Supported names                                                                                                    | Default name           | Default config                       |
 | 
				
			||||||
| ----------------------------- | --------- | ---------------------------------------------------------------------------------------- | ---------------------- | ------------------------------------ |
 | 
					| ----------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------ | ---------------------- | ------------------------------------ |
 | 
				
			||||||
| `spacy.GPT-4.v1`              | OpenAI    | `["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]`                                                           | `"gpt-4"`              | `{}`                                 |
 | 
					| `spacy.GPT-4.v1`              | OpenAI    | `["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]`                                                           | `"gpt-4"`              | `{}`                                 |
 | 
				
			||||||
| `spacy.GPT-4.v2`              | OpenAI    | `["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]`                                                           | `"gpt-4"`              | `{temperature=0.0}`                  |
 | 
					| `spacy.GPT-4.v2`              | OpenAI    | `["gpt-4", "gpt-4-0314", "gpt-4-32k", "gpt-4-32k-0314"]`                                                           | `"gpt-4"`              | `{temperature=0.0}`                  |
 | 
				
			||||||
| `spacy.GPT-3-5.v1`            | OpenAI    | `["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-0613-16k"]` | `"gpt-3.5-turbo"`      | `{}`                                 |
 | 
					| `spacy.GPT-3-5.v1`            | OpenAI    | `["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-0613-16k", "gpt-3.5-turbo-instruct"]` | `"gpt-3.5-turbo"`      | `{}`                                 |
 | 
				
			||||||
| `spacy.GPT-3-5.v2`            | OpenAI    | `["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-0613-16k"]` | `"gpt-3.5-turbo"`      | `{temperature=0.0}`                  |
 | 
					| `spacy.GPT-3-5.v2`            | OpenAI    | `["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-0613-16k", "gpt-3.5-turbo-instruct"]` | `"gpt-3.5-turbo"`      | `{temperature=0.0}`                  |
 | 
				
			||||||
| `spacy.Davinci.v1`            | OpenAI    | `["davinci"]`                                                                                                      | `"davinci"`            | `{}`                                 |
 | 
					| `spacy.Davinci.v1`            | OpenAI    | `["davinci"]`                                                                                                      | `"davinci"`            | `{}`                                 |
 | 
				
			||||||
| `spacy.Davinci.v2`            | OpenAI    | `["davinci"]`                                                                                                      | `"davinci"`            | `{temperature=0.0, max_tokens=500}`  |
 | 
					| `spacy.Davinci.v2`            | OpenAI    | `["davinci"]`                                                                                                      | `"davinci"`            | `{temperature=0.0, max_tokens=500}`  |
 | 
				
			||||||
| `spacy.Text-Davinci.v1`       | OpenAI    | `["text-davinci-003", "text-davinci-002"]`                                                                         | `"text-davinci-003"`   | `{}`                                 |
 | 
					| `spacy.Text-Davinci.v1`       | OpenAI    | `["text-davinci-003", "text-davinci-002"]`                                                                         | `"text-davinci-003"`   | `{}`                                 |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user