Merged
Conversation
stevhliu
reviewed
Jul 17, 2025
docs/source/en/model_doc/mistral3.md
Outdated
| </div> | ||
| </div> | ||
|
|
||
| # Mistral3 |
There was a problem hiding this comment.
Suggested change
| # Mistral3 | |
| # Mistral 3 |
docs/source/en/model_doc/mistral3.md
Outdated
| </hfoptions> | ||
|
|
||
| This example demonstrates how to perform inference on a single image with the Mistral3 models using chat templates. | ||
| ## Notes |
There was a problem hiding this comment.
Lets format the ## Notes section like this (make sure to close the code blocks):
## Notes
- Mistral 3 supports text-only generation.
```py
code example
- Mistral 3 accepts batched image and text inputs.
```py
code example
- Mistral 3 also supported batched image and text inputs with a different number of images for each text. The example below quantizes the model with bitsandbytes.
```py
code example
docs/source/en/model_doc/mistral3.md
Outdated
|
|
||
| [[autodoc]] Mistral3ForConditionalGeneration | ||
| - forward | ||
| ## Resources |
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
stevhliu
reviewed
Jul 18, 2025
stevhliu
left a comment
There was a problem hiding this comment.
Thanks, just a few more minor changes!
Remember to open your PR against the main Transformers branch!
docs/source/en/model_doc/mistral3.md
Outdated
| [Mistral 3](https://mistral.ai/news/mistral-small-3) is a latency optimized model with a lot fewer layers to reduce the time per forward pass. This model adds vision understanding and supports long context lengths of up to 128K tokens without compromising performance. | ||
| You can find the original Mistral 3 checkpoints under the [Mistral AI](https://huggingface.co/mistralai/models?search=mistral-small-3) organization. | ||
|
|
||
| This model was contributed by [cyrilvallez](https://huggingface.co/cyrilvallez) and [yonigozlan](https://huggingface.co/yonigozlan). |
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates
Mistral3model card as per huggingface#36979Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@stevhliu Please check the PR and see if it's alright 😄
The examples need to be ran to be double checked, if that's still ok. I will try to manage to run them for possible next contributions.