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-2.6B

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

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

    How to use litert-community/LFM2-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-2.6B
4.25 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mlboydaisuke's picture
mlboydaisuke
README: the opening workload-time table, init and peak columns in the phone tables, shorter prose; the same measurements
8e6c817 verified about 8 hours ago
  • .gitattributes
    1.64 kB
    LFM2-2.6B: int8 and int4 .litertlm bundles and the measured model card about 12 hours ago
  • LFM2-2.6B_int4.litertlm
    1.53 GB
    xet
    LFM2-2.6B: int8 and int4 .litertlm bundles and the measured model card about 12 hours ago
  • LFM2-2.6B_int8.litertlm
    2.72 GB
    xet
    LFM2-2.6B: int8 and int4 .litertlm bundles and the measured model card about 12 hours ago
  • README.md
    11.4 kB
    README: the opening workload-time table, init and peak columns in the phone tables, shorter prose; the same measurements about 8 hours ago
  • litertlm_manifest.json
    21.6 kB
    litertlm_manifest.json: measured rows and bundle identity about 12 hours ago