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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

litert-community
/
Phi-4-mini-instruct

Text Generation
LiteRT-LM
LiteRT
chat
Model card Files Files and versions
xet
Community

Instructions to use litert-community/Phi-4-mini-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • LiteRT-LM

    How to use litert-community/Phi-4-mini-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 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/Phi-4-mini-instruct \
      model.litertlm \
      --prompt="Write me a poem"
  • Notebooks
  • Google Colab
  • Kaggle
Phi-4-mini-instruct
27.4 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 16 commits
marissaw's picture
marissaw
Add "library_name: litert-lm" tag to the README.md
8cd368b verified 9 months ago
  • .gitattributes
    1.85 kB
    Add files using upload-large-folder tool 10 months ago
  • Phi-4-mini-instruct_multi-prefill-seq_q8_ekv1280.task
    3.94 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • Phi-4-mini-instruct_multi-prefill-seq_q8_ekv1280.tflite
    3.94 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.litertlm
    3.91 GB
    xet
    Add files using upload-large-folder tool 10 months ago
  • Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.task
    3.91 GB
    xet
    Add files using upload-large-folder tool 10 months ago
  • Phi-4-mini-instruct_seq128_q8_ekv1280.tflite
    3.87 GB
    xet
    Add files using upload-large-folder tool about 1 year ago
  • README.md
    3.8 kB
    Add "library_name: litert-lm" tag to the README.md 9 months ago
  • notebook.ipynb
    2.36 kB
    Add files using upload-large-folder tool 10 months ago
  • phi4_litert.ipynb
    11.3 kB
    Upload phi4_litert.ipynb over 1 year ago
  • phi4_q8_ekv1280.task
    3.94 GB
    xet
    Upload phi4_q8_ekv1280.task over 1 year ago
  • phi4_q8_ekv1280.tflite
    3.87 GB
    xet
    Adding Phi4 model files over 1 year ago
  • tokenizer.model
    3.6 MB
    xet
    Add files using upload-large-folder tool about 1 year ago