Downloads · 30 days
0
nvidia/Phi-3.5-mini-Instruct-ONNX-INT4
Phi-3.5-mini-Instruct-ONNX-INT4 is a machine learning model from nvidia. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as other.
The NVIDIA Phi-3.5-mini-Instruct ONNX INT4 model is the quantized version of the Microsoft Phi-3.5-mini-Instruct model which has 3.8B parameters and is a dense decoder-only Transformer model using the same tokenizer a…
Downloads · 30 days
0
Access
Public
Updated Nov 15, 2024
Repo size
2.3 GB
Likes
2
Public
Click a slice to open those files.
.onnx_data2.3 GB · 100%
From the Hugging Face model README
The NVIDIA Phi-3.5-mini-Instruct ONNX INT4 model is the quantized version of the Microsoft Phi-3.5-mini-Instruct model which has 3.8B parameters and is a dense decoder-only Transformer model using the same tokenizer as Phi-3 Mini. It supports 128K context length, therefore the model is capable of several long context tasks including long document/meeting summarization, long document QA, long document information retrieval. For more information, please check here. The NVIDIA Phi-3.5-mini-Instruct ONNX INT4 model is quantized with TensorRT Model Optimizer.
This model is ready for commercial and research use case.
Steps followed to generate this quantized model:
This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party’s requirements for this application and use case; see link to the Non-NVIDIA Phi3.5-Mini-Instruct Model Card.
GOVERNING TERMS: Use of this model is governed by the NVIDIA Open Model License Agreement (found at https://developer.download.nvidia.com/licenses/nvidia-open-model-license-agreement-june-2024.pdf). ADDITIONAL INFORMATION: Gemma Terms of Use (found at https://ai.google.dev/gemma/terms).
Phi3.5-mini-Instruct Model Card
Phi-3.5-mini has 3.8B parameters and is a dense decoder-only Transformer model using the same tokenizer as Phi-3 Mini.
Architecture Type: Transformer <br>
Network Architecture: Phi3 <br>
Input
Input Type: Text. It is best suited for prompts using chat format.
Input Format: String
Input Parameters: Sequence (1D)
Other Properties Related to Input: Supports Arabic, Chinese, Czech, Danish, Dutch, English, Finnish, French, German, Hebrew, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Thai, Turkish, Ukrainian
Output
Output Type: Text
Output Format: String
Output Parameters: Sequence (1D)
Supported Hardware Microarchitecture Compatibility : Nvidia Ampere and newer GPUs. 6GB or higher VRAM GPUs are recommended. Higher VRAM may be required for larger context length use cases.
Supported Operating System(s): Windows
Refer to Phi3.5-mini-Instruct Model Card for the details.
Link: https://huggingface.co/datasets/abisee/cnn_dailymail
Data Collection Method by dataset: Automated
Labeling Method by dataset: [Unknown]
Link: https://people.eecs.berkeley.edu/~hendrycks/data.tar
Data Collection Method by dataset - Unknown
Labeling Method by dataset - Not Applicable
MMLU (5# shots):
With GenAI ORT->DML backend, we got below mentioned accuracy numbers on a desktop RTX 4090 GPU system.
"overall_accuracy": 65.51
Test configuration:
GPU: RTX 4090, RTX 3090.
Windows 11: 23H2
NVIDIA Graphics driver: R565 or higher
Inference Backend: Onnxruntime-GenAI-DirectML
We used GenAI ORT->DML backend for inference. The instructions to use this backend are given in readme.txt file available under Files section.
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report security vulnerabilities or NVIDIA AI Concerns here.