Instructions to use mlboydaisuke/OLMo-2-1B-Instruct-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use mlboydaisuke/OLMo-2-1B-Instruct-LiteRT 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 -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=mlboydaisuke/OLMo-2-1B-Instruct-LiteRT \ --prompt="Write me a poem"
- LiteRT
How to use mlboydaisuke/OLMo-2-1B-Instruct-LiteRT with LiteRT:
# 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
Commit History
-
Card: base_model_relation: quantized (so the conversion lists under the base model's Quantizations, not Finetunes)
Verified signaturef7e834c
-
Card: note the tokenizer-section fix (weights unchanged)
Verified signature73ba241 -
Replace the embedded tokenizer.json with the upstream one (weights, graph and metadata unchanged). The previous copy carried the GPT-2 default pre-tokenizer instead of the model's own regex, so digits and punctuation before newlines split differently from the upstream tokenizer on every turn; prompts now tokenize identically (see the card note).
Verified signature0bd93f5
-
Link the card back to its collection and the request box
Verified signature870192b
-
Document Gallery 1.0.16 direct Hugging Face import + desktop LiteRT-LM CLI (serve/run)
Verified signature09ea7f9
-
Upload model.litertlm with huggingface_hub
Verified signature7d5fd86 -
Upload README.md with huggingface_hub
Verified signature35b86dd -
initial commit
Verified signature85bd479