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
/
SmolLM2-1.7B-Instruct

Text Generation
LiteRT-LM
LiteRT
chat
litertlm
on-device
edge-ai
smollm
smollm2
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • LiteRT-LM

    How to use litert-community/SmolLM2-1.7B-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
    # 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/SmolLM2-1.7B-Instruct \
      --prompt="Write me a poem"
  • LiteRT

    How to use litert-community/SmolLM2-1.7B-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
SmolLM2-1.7B-Instruct
1.73 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Yoursmiling's picture
Yoursmiling
hvt4's picture
hvt4
Add model card and model. (#1)
c0ee765 26 days ago
  • .gitattributes
    1.57 kB
    Add model card and model. (#1) 26 days ago
  • README.md
    2.57 kB
    Add model card and model. (#1) 26 days ago
  • SmolLM2-1_7B-Instruct_dynamic_wi8_afp32.litertlm
    1.73 GB
    xet
    Add model card and model. (#1) 26 days ago