Downloads · 30 days
217
12% of all-time downloads
microsoft/mistral-7b-instruct-v0.2-ONNX
mistral-7b-instruct-v0.2-ONNX is a text generation model from microsoft. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository hosts the optimized versions of Mistral-7B-Instruct-v0.2 to accelerate inference with ONNX Runtime.
Downloads · 30 days
217
12% of all-time downloads
All-time downloads
1.7K
Public
Repo size
32.7 GB
Likes
10
Trending 4
Click a slice to open those files.
.data32.7 GB · 100%
From the Hugging Face model README
This repository hosts the optimized versions of Mistral-7B-Instruct-v0.2 to accelerate inference with ONNX Runtime.
The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.2.
Optimized Mistral models are published here in ONNX format to run with ONNX Runtime on CPU and GPU across devices, including server platforms and Windows, Linux, and Mac desktops, with the precision best suited to each of these targets.
DirectML support lets developers bring hardware acceleration to Windows devices at scale across AMD, Intel, and NVIDIA GPUs. Along with DirectML, ONNX Runtime provides cross platform support for Mistral across a range of devices for CPU and GPU.
To easily get started with Mistral, you can use Olive, our easy-to-use, hardware-aware model optimization tool. See here for instructions on how to run it with Mistral.
Here are some of the optimized configurations we have added:
The models are tested on:
Minimum Configuration Required:
AWQ works by identifying the top 1% most salient weights that are most important for maintaining accuracy and quantizing the remaining 99% of weights. This leads to less accuracy loss from quantization compared to many other quantization techniques. For more on AWQ, see here.
sschoenmeyer, sunghcho, kvaishnavi