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

dwir
/
SmolLM-1.7B-Instruct

Transformers
Safetensors
GGUF
llama
unsloth
text-generation-inference
conversational
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use dwir/SmolLM-1.7B-Instruct with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("dwir/SmolLM-1.7B-Instruct", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use dwir/SmolLM-1.7B-Instruct with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf dwir/SmolLM-1.7B-Instruct:Q4_K_M
    Use Docker
    docker model run hf.co/dwir/SmolLM-1.7B-Instruct:Q4_K_M
  • LM Studio
  • Jan
  • Ollama

    How to use dwir/SmolLM-1.7B-Instruct with Ollama:

    ollama run hf.co/dwir/SmolLM-1.7B-Instruct:Q4_K_M
  • Unsloth Studio

    How to use dwir/SmolLM-1.7B-Instruct with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for dwir/SmolLM-1.7B-Instruct to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for dwir/SmolLM-1.7B-Instruct to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for dwir/SmolLM-1.7B-Instruct to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use dwir/SmolLM-1.7B-Instruct with Docker Model Runner:

    docker model run hf.co/dwir/SmolLM-1.7B-Instruct:Q4_K_M
  • Lemonade

    How to use dwir/SmolLM-1.7B-Instruct with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull dwir/SmolLM-1.7B-Instruct:Q4_K_M
    Run and chat with the model
    lemonade run user.SmolLM-1.7B-Instruct-Q4_K_M
    List all available models
    lemonade list
SmolLM-1.7B-Instruct
7.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
dwir's picture
dwir
(Trained with Unsloth)
93b06c3 verified almost 2 years ago
  • .gitattributes
    1.74 kB
    (Trained with Unsloth) almost 2 years ago
  • README.md
    5.18 kB
    Upload model trained with Unsloth almost 2 years ago
  • adapter_config.json
    734 Bytes
    Upload model trained with Unsloth almost 2 years ago
  • adapter_model.safetensors
    72.4 MB
    xet
    Upload model trained with Unsloth almost 2 years ago
  • config.json
    29 Bytes
    (Trained with Unsloth) almost 2 years ago
  • merges.txt
    466 kB
    Upload model trained with Unsloth almost 2 years ago
  • special_tokens_map.json
    544 Bytes
    Upload model trained with Unsloth almost 2 years ago
  • tokenizer.json
    2.1 MB
    Upload model trained with Unsloth almost 2 years ago
  • tokenizer_config.json
    3.62 kB
    Upload model trained with Unsloth almost 2 years ago
  • unsloth.F16.gguf
    3.42 GB
    xet
    (Trained with Unsloth) almost 2 years ago
  • unsloth.Q4_K_M.gguf
    1.06 GB
    xet
    (Trained with Unsloth) almost 2 years ago
  • unsloth.Q5_K_M.gguf
    1.23 GB
    xet
    (Trained with Unsloth) almost 2 years ago
  • unsloth.Q8_0.gguf
    1.82 GB
    xet
    (Trained with Unsloth) almost 2 years ago
  • vocab.json
    801 kB
    Upload model trained with Unsloth almost 2 years ago