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
/
LFM2.5-1.2B-Instruct

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

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

  • Libraries
  • LiteRT-LM

    How to use litert-community/LFM2.5-1.2B-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/LFM2.5-1.2B-Instruct \
      --prompt="Write me a poem"
  • LiteRT

    How to use litert-community/LFM2.5-1.2B-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
LFM2.5-1.2B-Instruct
1.98 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mlboydaisuke's picture
mlboydaisuke
Card: note the litert-lm 0.15 ExecutorMetadata update (weights unchanged)
ef55d51 verified 3 days ago
  • .gitattributes
    1.66 kB
    LFM2.5-1.2B-Instruct LiteRT-LM: int8 (GSM8K 81%, bf16 parity) + int4 (736MB, 1.7x faster decode on-device); CPU backend; conv-state prefill fix baked into export 16 days ago
  • LFM2.5-1.2B-Instruct_int4.litertlm
    736 MB
    xet
    Add ExecutorMetadata section required by litert-lm >= 0.15 (weights unchanged; still runs on 0.14) 3 days ago
  • LFM2.5-1.2B-Instruct_int8.litertlm
    1.25 GB
    xet
    Add ExecutorMetadata section required by litert-lm >= 0.15 (weights unchanged; still runs on 0.14) 3 days ago
  • LICENSE
    10.6 kB
    LFM2.5-1.2B-Instruct LiteRT-LM: int8 (GSM8K 81%, bf16 parity) + int4 (736MB, 1.7x faster decode on-device); CPU backend; conv-state prefill fix baked into export 16 days ago
  • README.md
    5.62 kB
    Card: note the litert-lm 0.15 ExecutorMetadata update (weights unchanged) 3 days ago