Instructions to use litert-community/Qwen2-1.5B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/Qwen2-1.5B-Instruct with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli litert-lm run \ --from-huggingface-repo=litert-community/Qwen2-1.5B-Instruct \ model.litertlm \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
Qwen2-1.5B-Instruct LiteRT-LM Model
This repository contains LiteRT-LM variants of Qwen/Qwen2-1.5B-Instruct optimized for on-device text generation.
Available Artifact
| File | Quantization Recipe | Context | Size |
|---|---|---|---|
Qwen2_1.5B_Instruct.litertlm |
dynamic_wi8_afp32 | - | 1.8 GB |
Integration
Ready to integrate this into your product? Get started in the LiteRT-LM documentation.
- Downloads last month
- -
Model tree for litert-community/Qwen2-1.5B-Instruct
Base model
Qwen/Qwen2-1.5B-Instruct