Qwen2-7B-Instruct: State-of-the-art large language model useful on a variety of language understanding and generation tasks
The Qwen2-7B-Instruct is a state-of-the-art multilingual language model with 7.07 billion parameters, excelling in language understanding, generation, coding, and mathematics.
This is based on the implementation of Qwen2-7B-Instruct found here. This repository contains scripts for optimized on-device export suitable to run on Qualcomm® devices. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.
Use our lightweight command-line interface to inspect and download Qwen2-7B-Instruct:
pip install qai_hub_models_cli # (the CLI is also available with the qai-hub-models package)
# Inspect the model and list the available download options
qai-hub-models info Qwen2-7B-Instruct
# Print performance and accuracy metrics
qai-hub-models perf Qwen2-7B-Instruct
qai-hub-models numerics Qwen2-7B-Instruct
# Download a ready-to-deploy asset
qai-hub-models fetch Qwen2-7B-Instruct --runtime qnn_context_binary --precision w4a16See the CLI README for the full list of commands and filters.
Please follow the LLM on-device deployment tutorial.
- The license for the original implementation of Qwen2-7B-Instruct can be found here.
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
This model may not be used for or in connection with any of the following applications:
- Accessing essential private and public services and benefits;
- Administration of justice and democratic processes;
- Assessing or recognizing the emotional state of a person;
- Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
- Education and vocational training;
- Employment and workers management;
- Exploitation of the vulnerabilities of persons resulting in harmful behavior;
- General purpose social scoring;
- Law enforcement;
- Management and operation of critical infrastructure;
- Migration, asylum and border control management;
- Predictive policing;
- Real-time remote biometric identification in public spaces;
- Recommender systems of social media platforms;
- Scraping of facial images (from the internet or otherwise); and/or
- Subliminal manipulation