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

Qapdex
/
SLM750-Edge-1.58-bit

Text Generation
GGUF
English
llama.cpp
bitnet
ternary
1.58-bit
quantized
q4_k_m
edge
efficient-inference
cpu
tool-calling
Model card Files Files and versions
xet
Community
1

Instructions to use Qapdex/SLM750-Edge-1.58-bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use Qapdex/SLM750-Edge-1.58-bit with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="Qapdex/SLM750-Edge-1.58-bit",
    	filename="quantized_q4km.gguf",
    )
    
    output = llm(
    	"Once upon a time,",
    	max_tokens=512,
    	echo=True
    )
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use Qapdex/SLM750-Edge-1.58-bit 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 Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    # Run inference directly in the terminal:
    llama cli -hf Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    # Run inference directly in the terminal:
    llama cli -hf Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    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 Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    # Run inference directly in the terminal:
    ./llama-cli -hf Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    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 Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    Use Docker
    docker model run hf.co/Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
  • LM Studio
  • Jan
  • vLLM

    How to use Qapdex/SLM750-Edge-1.58-bit with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Qapdex/SLM750-Edge-1.58-bit"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Qapdex/SLM750-Edge-1.58-bit",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
  • Ollama

    How to use Qapdex/SLM750-Edge-1.58-bit with Ollama:

    ollama run hf.co/Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
  • Unsloth Studio

    How to use Qapdex/SLM750-Edge-1.58-bit 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 Qapdex/SLM750-Edge-1.58-bit 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 Qapdex/SLM750-Edge-1.58-bit to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for Qapdex/SLM750-Edge-1.58-bit to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use Qapdex/SLM750-Edge-1.58-bit with Docker Model Runner:

    docker model run hf.co/Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
  • Lemonade

    How to use Qapdex/SLM750-Edge-1.58-bit with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Qapdex/SLM750-Edge-1.58-bit:Q4_K_M_QUANT
    Run and chat with the model
    lemonade run user.SLM750-Edge-1.58-bit-Q4_K_M_QUANT
    List all available models
    lemonade list
SLM750-Edge-1.58-bit / BitNet
Ctrl+K
Ctrl+K
  • 1 contributor
History: 34 commits
Qapdex's picture
Qapdex
Upload 4 files
c857ed0 verified 14 days ago
  • 3rdparty
    Upload README.md 14 days ago
  • assets
    Upload 4 files 14 days ago
  • .gitkeep
    8 Bytes
    Create BitNet/.gitkeep 15 days ago
  • CMakeLists.txt
    2.74 kB
    Upload 12 files 15 days ago
  • CODE_OF_CONDUCT.md
    444 Bytes
    Upload 12 files 15 days ago
  • LICENSE
    1.14 kB
    Upload 12 files 15 days ago
  • benchmark.sh
    1.22 kB
    Rename BitNet/files.sh/benchmark.sh to BitNet/benchmark.sh 14 days ago
  • bitnet_auto_install.sh
    2.24 kB
    Rename BitNet/files.sh/bitnet_auto_install.sh to BitNet/bitnet_auto_install.sh 14 days ago
  • bitnet_benchmark.sh
    2.46 kB
    Rename BitNet/files.sh/bitnet_benchmark.sh to BitNet/bitnet_benchmark.sh 14 days ago
  • bitnet_fix_no_torch.sh
    2.24 kB
    Rename BitNet/files.sh/bitnet_fix_no_torch.sh to BitNet/bitnet_fix_no_torch.sh 14 days ago
  • env_autosetup.sh
    1.8 kB
    Rename BitNet/files.sh/env_autosetup.sh to BitNet/env_autosetup.sh 14 days ago
  • requirements.no_torch.txt
    589 Bytes
    Upload 12 files 15 days ago
  • requirements.txt
    588 Bytes
    Upload 12 files 15 days ago
  • run_inference.py
    2.58 kB
    Upload 12 files 15 days ago
  • setup_env.py
    11.6 kB
    Update BitNet/setup_env.py 15 days ago