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
Copy file name to clipboardExpand all lines: docs/capabilities/batch.md
+39-6Lines changed: 39 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,9 @@ Here's an example of how to structure a batch request:
22
22
23
23
Save your batch into a .jsonl file. Once saved, you can upload your batch input file to ensure it is correctly referenced when initiating batch processes:
Copy file name to clipboardExpand all lines: docs/capabilities/code-generation.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ This guide will walk you through how to use Codestral fill-in-the-middle endpoin
38
38
With this feature, users can define the starting point of the code using a `prompt`, and the ending point of the code using an optional `suffix` and an optional `stop`. The Codestral model will then generate the code that fits in between, making it ideal for tasks that require a specific piece of code to be generated. Below are three examples:
Copy file name to clipboardExpand all lines: docs/capabilities/document.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ The Document OCR (Optical Character Recognition) processor, powered by our lates
22
22
The OCR processor returns both the extracted text content and metadata about the document structure, making it easy to work with the recognized content programmatically.
Copy file name to clipboardExpand all lines: docs/capabilities/finetuning.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ Once you have the data file with the right format,
171
171
you can upload the data file to the Mistral Client,
172
172
making them available for use in fine-tuning jobs.
173
173
174
-
<Tabs>
174
+
<TabsgroupId="code">
175
175
<TabItemvalue="python"label="python"default>
176
176
177
177
```python
@@ -246,7 +246,7 @@ The next step is to create a fine-tuning job.
246
246
-`auto_start=True`: Your job will be launched immediately after validation.
247
247
-`auto_start=False` (default): You can manually start the training after validation by sending a POST request to `/fine_tuning/jobs/<uuid>/start`.
248
248
249
-
<Tabs>
249
+
<TabsgroupId="code">
250
250
<TabItemvalue="python"label="python"default>
251
251
252
252
```python
@@ -318,7 +318,7 @@ You can also list jobs, retrieve a job, or cancel a job.
318
318
You can filter and view a list of jobs using various parameters such as
319
319
`page`, `page_size`, `model`, `created_after`, `created_by_me`, `status`, `wandb_project`, `wandb_name`, and `suffix`. Check out our [API specs](https://docs.mistral.ai/api/#tag/fine-tuning) for details.
320
320
321
-
<Tabs>
321
+
<TabsgroupId="code">
322
322
<TabItemvalue="python"label="python"default>
323
323
324
324
```python
@@ -378,7 +378,7 @@ curl -X POST https://api.mistral.ai/v1/fine_tuning/jobs/<jobid>/cancel \
378
378
## Use a fine-tuned model
379
379
When a fine-tuned job is finished, you will be able to see the fine-tuned model name via `retrieved_jobs.fine_tuned_model`. Then you can use our `chat` endpoint to chat with the fine-tuned model:
0 commit comments