You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**CLI fine-tuning**: Use the uploaded validation file ID when creating a fine-tuning job from local files, instead of passing the local validation file path through to OpenAI. ([#2397](https://github.com/567-labs/instructor/pull/2397))
14
+
-**v2 core**: Prepare list and primitive response models before provider handler dispatch, fixing `list[Model]` and scalar response-model crashes such as `AttributeError: type object 'list' has no attribute 'model_json_schema'`. ([#2374](https://github.com/567-labs/instructor/issues/2374))
-**v2 multimodal**: Accept raw bytes in `Image.autodetect()` for JPEG, PNG, GIF, and WebP, while raising clear errors for unsupported image inputs. ([#2344](https://github.com/567-labs/instructor/issues/2344))
17
+
-**Docs**: Refresh stale OpenAI and Ollama model strings in documentation examples. ([#2395](https://github.com/567-labs/instructor/issues/2395))
@@ -478,14 +478,14 @@ instructor jobs create-from-file generated.jsonl
478
478
Once the job is complete, all we need to do is to then change the annotation in the function call to `distil_summarization` in our original file above to start using our new model.
1. Don't forget to replace this with your new model id. OpenAI identifies fine tuned models with an id of
488
-
ft:gpt-3.5-turbo-0613:personal::<id> under their Fine-tuning tab on their dashboard
488
+
ft:gpt-5.4-mini:personal::<id> under their Fine-tuning tab on their dashboard
489
489
490
490
With that, you've now got your own fine-tuned model ready to go and serve data in production. We've seen how Instructor can make your life easier, from fine-tuning to distillation.
Copy file name to clipboardExpand all lines: docs/blog/posts/citations.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ class Statements(BaseModel):
122
122
"content": f"Does the following citation exist in the following context?\n\nCitation: {self.substring_quote}\n\nContext: {context}",
123
123
}
124
124
],
125
-
model="gpt-3.5-turbo",
125
+
model="gpt-5.4-mini",
126
126
)
127
127
128
128
if resp.is_valid:
@@ -228,7 +228,7 @@ class AnswerWithCitaton(BaseModel):
228
228
"content": f"Does the following answers match the question and the context?\n\nQuestion: {self.question}\n\nAnswer: {self.answer}\n\nContext: {context}",
automatically serialize the content back into the `Pydantic`` model that we're looking for.
165
165
166
166
2. Don't forget to replace this with your new model id. OpenAI identifies fine tuned models with an id
167
-
of `ft:gpt-3.5-turbo-0613:personal::<id>` under their **Fine-tuning** tab on their dashboard
167
+
of `ft:gpt-5.4-mini:personal::<id>` under their **Fine-tuning** tab on their dashboard
168
168
169
169
With this, you can swap the function implementation, making it backward compatible. You can even imagine using the different models for different tasks or validating and running evals by using the original function and comparing it to the distillation.
{"role": "user", "content": f"Generate a {count} synthetic users"},
@@ -100,7 +100,7 @@ By incorporating names of celebrities as examples, we have shifted towards gener
100
100
101
101
## Leveraging Complex Example
102
102
103
-
To effectively generate synthetic examples with more nuance, lets upgrade to the "gpt-4-turbo-preview" model, use model level examples rather than attribute level examples:
103
+
To effectively generate synthetic examples with more nuance, lets upgrade to the "gpt-5.4-mini" model, use model level examples rather than attribute level examples:
0 commit comments