Instructions to use litert-community/SmolLM2-360M-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/SmolLM2-360M-Instruct with LiteRT-LM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Add README and model file
#1
by hvt4 - opened
- .gitattributes +1 -0
- README.md +29 -0
- SmolLM2_360M_instruct.litertlm +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.litertlm filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
library_name: litert-lm
|
| 6 |
+
tags:
|
| 7 |
+
- chat
|
| 8 |
+
- litert-lm
|
| 9 |
+
- smollm
|
| 10 |
+
- on-device
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
# litert-community/SmolLM2-360M-Instruct
|
| 14 |
+
|
| 15 |
+
This model provides a variant of
|
| 16 |
+
[HuggingFaceTB/SmolLM2-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct) that is ready for
|
| 17 |
+
deployment on Android using the
|
| 18 |
+
[LiteRT-LM](https://github.com/google-ai-edge/LiteRT-LM).
|
| 19 |
+
|
| 20 |
+
## Use the model
|
| 21 |
+
|
| 22 |
+
### Android
|
| 23 |
+
|
| 24 |
+
#### Edge Gallery App
|
| 25 |
+
* Download or build the [app](https://github.com/google-ai-edge/gallery?tab=readme-ov-file#-get-started-in-minutes) from GitHub.
|
| 26 |
+
|
| 27 |
+
* Install the [app](https://play.google.com/store/apps/details?id=com.google.ai.edge.gallery&pli=1) from Google Play.
|
| 28 |
+
|
| 29 |
+
* Follow the instructions in the app.
|
| 30 |
+
|
| 31 |
+
To build the demo app from source, please follow the [instructions](https://github.com/google-ai-edge/gallery/blob/main/README.md)
|
| 32 |
+
from the GitHub repository.
|
SmolLM2_360M_instruct.litertlm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e2834da211b439751af968ed650febdde5a8cb8d88bc6c1a3059f049caa5c2e
|
| 3 |
+
size 373719040
|