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

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

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

  • Libraries
  • LiteRT-LM

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

    How to use litert-community/LFM2.5-2.6B 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-2.6B
4.54 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 34 commits
mlboydaisuke's picture
mlboydaisuke
Engine-per-conversation note: add the fix status (LiteRT-LM main e1f86b05, no release yet)
d471a46 verified about 4 hours ago
  • .gitattributes
    1.64 kB
    LFM2.5-2.6B int8 + int4-b32 .litertlm (litert-lm >= 0.14/0.15), GSM8K 88/83 vs bf16 92 3 months ago
  • LFM2.5-2.6B_int4.litertlm
    1.67 GB
    xet
    Re-pack LFM2.5-2.6B_int4.litertlm: llm_model_type lfm2 and tool rendering in the chat template (metadata only; tool calls parse and tool results reach the model on litert-lm 0.18.0) 25 days ago
  • LFM2.5-2.6B_int8.litertlm
    2.87 GB
    xet
    Weights moved to TFLiteWeights sections at the end of the file, the convolution filters kept in the graph (Android GPU needs LiteRT-LM 0.19.0 or later) 8 days ago
  • LICENSE
    10.6 kB
    LFM2.5-2.6B int8 + int4-b32 .litertlm (litert-lm >= 0.14/0.15), GSM8K 88/83 vs bf16 92 3 months ago
  • README.md
    16.7 kB
    Engine-per-conversation note: add the fix status (LiteRT-LM main e1f86b05, no release yet) about 4 hours ago
  • litertlm_manifest.json
    14.5 kB
    litertlm_manifest.json: the externalized file's sha256, size and sections; min runtime 0.19.0 and the Android GPU known issue (LiteRT-LM#3986) 8 days ago