Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

litert-community
/
OLMo-2-1B-Instruct

Text Generation
LiteRT-LM
LiteRT
litertlm
on-device
edge
olmo2
Model card Files Files and versions
xet
Community

Instructions to use litert-community/OLMo-2-1B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • LiteRT-LM

    How to use litert-community/OLMo-2-1B-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 -U 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/OLMo-2-1B-Instruct \
      --prompt="Write me a poem"
  • LiteRT

    How to use litert-community/OLMo-2-1B-Instruct 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
OLMo-2-1B-Instruct
931 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
mlboydaisuke's picture
mlboydaisuke
Card: definition line (LiteRT, 2026-09)
f9b3581 verified 3 days ago
  • .gitattributes
    1.65 kB
    Upload folder using huggingface_hub 3 months ago
  • OLMo-2-1B-Instruct_q4_block32_ekv4096.litertlm
    931 MB
    xet
    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). 11 days ago
  • README.md
    10.7 kB
    Card: definition line (LiteRT, 2026-09) 3 days ago
  • litertlm_manifest.json
    6.6 kB
    manifest: same-device CPU control rows on the Galaxy S26 for the flagship GPU recommendation (S7 backfill 2026-09-05); the recommendation is rewritten from the measured pair (measured win, kept for prefill, or reversed to cpu) 5 days ago