Downloads · 30 days
66
68% of all-time downloads
Shrenik2397/Qwen2.5-1.5B-Instruct
Qwen2.5-1.5B-Instruct is a text generation model from Shrenik2397. Use it when you need the model to write or continue text. It is set up for litert-lm. The card lists the license as apache-2.0.
This model provides a few variants of Qwen/Qwen2.5-1.5B-Instruct that are ready for deployment on Android using the LiteRT (fka TFLite) stack, MediaPipe LLM Inference API and
Downloads · 30 days
66
68% of all-time downloads
All-time downloads
97
Public
Repo size
42 GB
Likes
0
Public
Click a slice to open those files.
.task18.7 GB · 44%
From the Hugging Face model README
This model provides a few variants of Qwen/Qwen2.5-1.5B-Instruct that are ready for deployment on Android using the LiteRT (fka TFLite) stack, MediaPipe LLM Inference API and LiteRT-LM.
Disclaimer: The target deployment surface for the LiteRT models is Android/iOS/Web and the stack has been optimized for performance on these targets. Trying out the system in Colab is an easier way to familiarize yourself with the LiteRT stack, with the caveat that the performance (memory and latency) on Colab could be much worse than on a local device.
Download or build the app from GitHub.
Install the app from Google Play.
Follow the instructions in the app.
To build the demo app from source, please follow the instructions from the GitHub repository.
Note that all benchmark stats are from a Samsung S25 Ultra and multiple prefill signatures enabled.
<table border="1"> <tr> <th style="text-align: left">Backend</th> <th style="text-align: left">Quantization scheme</th> <th style="text-align: left">Context length</th> <th style="text-align: left">Prefill (tokens/sec)</th> <th style="text-align: left">Decode (tokens/sec)</th> <th style="text-align: left">Time-to-first-token (sec)</th> <th style="text-align: left">Model size (MB)</th> <th style="text-align: left">Peak RSS Memory (MB)</th> <th style="text-align: left">GPU Memory (RSS in MB)</th> <th></th> </tr> <tr> <td><p style="text-align: left">CPU</p></td> <td><p style="text-align: left">fp32 (baseline)</p></td> <td><p style="text-align: right">1280</p></td> <td><p style="text-align: right">49.50</p></td> <td><p style="text-align: right">10 tk/s</p></td> <td><p style="text-align: right">21.25 s</p></td> <td><p style="text-align: right">6182 MB</p></td> <td><p style="text-align: right">6254 MB</p></td> <td><p style="text-align: right">N/A</p></td> <td><p style="text-align: left"><a style="text-decoration: none" href="https://huggingface.co/litert-community/Qwen2.5-1.5B-Instruct/resolve/main/Qwen2.5-1.5B-Instruct_multi-prefill-seq_f32_ekv1280.task">🔗</a></p></td> </tr> <tr> <td><p style="text-align: left">CPU</p></td> <td><p style="text-align: left">dynamic_int8</p></td> <td><p style="text-align: right">1280</p></td> <td><p style="text-align: right">297.58</p></td> <td><p style="text-align: right">34.25 tk/s</p></td> <td><p style="text-align: right">3.71 s</p></td> <td><p style="text-align: right">1598 MB</p></td> <td><p style="text-align: right">1997 MB</p></td> <td><p style="text-align: right">N/A</p></td> <td><p style="text-align: left"><a style="text-decoration: none" href="https://huggingface.co/litert-community/Qwen2.5-1.5B-Instruct/resolve/main/Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv1280.task">🔗</a></p></td> </tr> <tr> <td><p style="text-align: left">CPU</p></td> <td><p style="text-align: left">dynamic_int8</p></td> <td><p style="text-align: right">4096</p></td> <td><p style="text-align: right">162.72 tk/s</p></td> <td><p style="text-align: right">26.06 tk/s</p></td> <td><p style="text-align: right">6.57 s</p></td> <td><p style="text-align: right">1598 MB</p></td> <td><p style="text-align: right">2216 MB</p></td> <td><p style="text-align: right">N/A</p></td> <td><p style="text-align: left"><a style="text-decoration: none" href="https://huggingface.co/litert-community/Qwen2.5-1.5B-Instruct/resolve/main/Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.task">🔗</a></p></td> </tr> <tr> <td><p style="text-align: left">GPU</p></td> <td><p style="text-align: left">dynamic_int8</p></td> <td><p style="text-align: right">1280</p></td> <td><p style="text-align: right">1667.75 tk/s</p></td> <td><p style="text-align: right">30.88 tk/s</p></td> <td><p style="text-align: right">3.63 s</p></td> <td><p style="text-align: right">1598 MB</p></td> <td><p style="text-align: right">1846 MB</p></td> <td><p style="text-align: right">1505 MB</p></td> <td><p style="text-align: left"><a style="text-decoration: none" href="https://huggingface.co/litert-community/Qwen2.5-1.5B-Instruct/resolve/main/Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv1280.task">🔗</a></p></td> </tr> <tr> <td><p style="text-align: left">GPU</p></td> <td><p style="text-align: left">dynamic_int8</p></td> <td><p style="text-align: right">4096</p></td> <td><p style="text-align: right">933.45 tk/s</p></td> <td><p style="text-align: right">27.30 tk/s</p></td> <td><p style="text-align: right">4.77 s</p></td> <td><p style="text-align: right">1598 MB</p></td> <td><p style="text-align: right">1869 MB</p></td> <td><p style="text-align: right">1505 MB</p></td> <td><p style="text-align: left"><a style="text-decoration: none" href="https://huggingface.co/litert-community/Qwen2.5-1.5B-Instruct/resolve/main/Qwen2.5-1.5B-Instruct_multi-prefill-seq_q8_ekv4096.task">🔗</a></p></td> </tr> </table>