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
/
FastContext-1.0-4B-SFT

Text Generation
LiteRT-LM
LiteRT
litertlm
on-device
edge
qwen3
agent
tool-calling
Model card Files Files and versions
xet
Community

Instructions to use litert-community/FastContext-1.0-4B-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • LiteRT-LM

    How to use litert-community/FastContext-1.0-4B-SFT 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/FastContext-1.0-4B-SFT \
      --prompt="Write me a poem"
  • LiteRT

    How to use litert-community/FastContext-1.0-4B-SFT 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
FastContext-1.0-4B-SFT
5.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 28 commits
mlboydaisuke's picture
mlboydaisuke
Point the REPRODUCE.md link at its entry under the entry's current heading; say the CPU spread note was measured on a 1B model; remove advice to reboot the phone that no run backs
8548b9a verified 9 days ago
  • .gitattributes
    1.63 kB
    Upload model_block128.litertlm with huggingface_hub 5 months ago
  • MEASUREMENTS.md
    33.3 kB
    Update the model card and manifest notes: a run command and a "When it does not work" list at the top, benchmark prompt description corrected, Raspberry Pi peak memory in MiB 9 days ago
  • README.md
    35.6 kB
    Point the REPRODUCE.md link at its entry under the entry's current heading; say the CPU spread note was measured on a 1B model; remove advice to reboot the phone that no run backs 9 days ago
  • litertlm_manifest.json
    26.8 kB
    Update the model card and manifest notes: a run command and a "When it does not work" list at the top, benchmark prompt description corrected, Raspberry Pi peak memory in MiB 9 days ago
  • model.litertlm
    2.67 GB
    xet
    model.litertlm and model_block128.litertlm: prefill/decode graph in the GPU composite form (weights unchanged); card, MEASUREMENTS.md and manifest updated 10 days ago
  • model_block128.litertlm
    2.48 GB
    xet
    model.litertlm and model_block128.litertlm: prefill/decode graph in the GPU composite form (weights unchanged); card, MEASUREMENTS.md and manifest updated 10 days ago