ppc64le/linux/: mistral-common-1.11.5+ppc64le1 metadata and description

Simple index

Mistral-common is a library of common utilities for Mistral AI.

author_email bam4d <[email protected]>
classifiers
  • Environment :: MetaData :: IBM Python Ecosystem
description_content_type text/markdown
license_expression Apache-2.0
provides_extras
  • opencv
  • sentencepiece
  • soundfile
  • soxr
  • audio
  • image
  • guidance
  • hf-hub
  • server
  • all
requires_dist
  • pydantic<3.0,>=2.7; python_version <= "3.13"
  • pydantic<3.0,>=2.12; python_version >= "3.14"
  • jsonschema>=4.21.1
  • typing-extensions>=4.11.0
  • tiktoken>=0.7.0; python_version <= "3.13"
  • tiktoken>=0.12.0; python_version >= "3.14"
  • pillow>=10.3.0
  • requests>=2.0.0
  • numpy<2.4,>=1.25; python_version <= "3.12"
  • numpy>=1.25; python_version > "3.12"
  • pydantic-extra-types[pycountry]>=2.10.5
  • opencv-python-headless>=4.0.0; extra == "opencv"
  • sentencepiece>=0.2.0; extra == "sentencepiece"
  • soundfile>=0.12.1; extra == "soundfile"
  • soxr>=0.5.0; extra == "soxr"
  • mistral_common[soundfile]; extra == "audio"
  • mistral_common[soxr]; extra == "audio"
  • mistral_common[opencv]; extra == "image"
  • llguidance<1.4.0,>=1.3.0; extra == "guidance"
  • jinja2>=3.1.0; extra == "guidance"
  • huggingface-hub>=1.0; extra == "hf-hub"
  • fastapi[standard]>=0.118.3; extra == "server"
  • pydantic-settings>=2.9.1; extra == "server"
  • click>=8.1.0; extra == "server"
  • uvloop>=0.22.1; python_version >= "3.14" and extra == "server"
  • mistral_common[audio,guidance,hf-hub,image,opencv,sentencepiece,server]; extra == "all"
requires_python <3.15,>=3.10.0
File Tox results History
mistral_common-1.11.5+ppc64le1-py3-none-any.whl
Size
6 MB
Type
Python Wheel
Python
3
Mistral AI

Mistral-common

PyPI version Tests Documentation Python version License

What is it?

mistral-common is a set of tools to help you work with Mistral AI models.

We open-source the tokenizers, validation and normalization code that can be used with our models.

This ensures that you can take full advantage of our models for the following features:

We also version our tokenizers to guarantee backward compatibility for the models that we release.

For who ?

This library is for you if you want to:

How to use it ?

You can install the library using pip:

pip install mistral-common

We propose different dependencies to install depending on your needs:

Each dependency is optional and can be installed separately or all together using the following commands:

pip install "mistral-common[image]"
pip install "mistral-common[audio]"
pip install "mistral-common[hf-hub]"
pip install "mistral-common[sentencepiece]"
pip install "mistral-common[server]"
pip install "mistral-common[image,audio,hf-hub,sentencepiece,server]"

For more information, please refer to the documentation.

How to contribute ?

We welcome contributions to this library. All of our features are tested to ensure best usage. But if you encounter a bug, find difficulties in using mistral-common, please open an issue on our GitHub repository.

If you want to contribute to the code, please fork the repository and open a pull request. We will review your changes and merge them if they are relevant to the library.

# Clone the repository
git clone https://github.com/<your_fork_username>/mistral-common.git
cd mistral-common

# Create a virtual environment and install the dependencies
uv venv
source .venv/bin/activate
uv sync --frozen --all-extras --group dev # --group docs if you want to build the documentation

# Install the pre-commit hooks
uv run pre-commit install

License

This library is licensed under the Apache 2.0 License. See the LICENCE file for more information.

You must not use this library or our models in a manner that infringes, misappropriates, or otherwise violates any third party’s rights, including intellectual property rights.

Export Classification Notice

The software hosted on this website consists of publicly available open‑source packages. To the extent U.S. export regulations apply, software that is publicly available as described in 15 C.F.R. §§ 734.7 (for non-encryption software) or 742.15(b) (for encryption software) is not subject to the Export Administration Regulations (EAR). Users are responsible for complying with all applicable export laws and regulations.