Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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
    # 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=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
934 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 25 commits
mlboydaisuke's picture
mlboydaisuke
Point the REPRODUCE.md link at its entry under the entry's current heading
423cfd8 verified 9 days ago
  • .gitattributes
    1.65 kB
    Upload folder using huggingface_hub 5 months ago
  • MEASUREMENTS.md
    11.2 kB
    Update the model card and manifest notes: sentences corrected to the measurement records, a note on the earlier file's section 9 days ago
  • OLMo-2-1B-Instruct_q4_block32_ekv4096.litertlm
    934 MB
    xet
    Prefill/decode graph in the GPU composite form, plus a 1,024-token prefill (weights unchanged); card, MEASUREMENTS.md and manifest updated 11 days ago
  • README.md
    18 kB
    Point the REPRODUCE.md link at its entry under the entry's current heading 9 days ago
  • litertlm_manifest.json
    12.2 kB
    Update the model card and manifest notes: sentences corrected to the measurement records, a note on the earlier file's section 9 days ago