Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

tuandunghcmut
/
BitNet-cpp-compiled-with-custom-model

Safetensors
GGUF
conversational
Model card Files Files and versions
xet
Community

Instructions to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="tuandunghcmut/BitNet-cpp-compiled-with-custom-model",
    	filename="3rdparty/llama.cpp/models/ggml-vocab-aquila.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "No input example has been defined for this model task."
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • llama.cpp

    How to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model with llama.cpp:

    Install from brew
    brew install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    # Run inference directly in the terminal:
    llama-cli -hf tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama-server -hf tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    # Run inference directly in the terminal:
    llama-cli -hf tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    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 tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    # Run inference directly in the terminal:
    ./llama-cli -hf tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    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 tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    Use Docker
    docker model run hf.co/tuandunghcmut/BitNet-cpp-compiled-with-custom-model
  • LM Studio
  • Jan
  • Ollama

    How to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model with Ollama:

    ollama run hf.co/tuandunghcmut/BitNet-cpp-compiled-with-custom-model
  • Unsloth Studio new

    How to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model 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 tuandunghcmut/BitNet-cpp-compiled-with-custom-model 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 tuandunghcmut/BitNet-cpp-compiled-with-custom-model to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for tuandunghcmut/BitNet-cpp-compiled-with-custom-model to start chatting
  • Docker Model Runner

    How to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model with Docker Model Runner:

    docker model run hf.co/tuandunghcmut/BitNet-cpp-compiled-with-custom-model
  • Lemonade

    How to use tuandunghcmut/BitNet-cpp-compiled-with-custom-model with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull tuandunghcmut/BitNet-cpp-compiled-with-custom-model
    Run and chat with the model
    lemonade run user.BitNet-cpp-compiled-with-custom-model-{{QUANT_TAG}}
    List all available models
    lemonade list

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 3rdparty
    Upload folder using huggingface_hub 7 months ago
  • CMakeFiles
    Upload folder using huggingface_hub 7 months ago
  • bin
    Upload folder using huggingface_hub 7 months ago
  • src
    Upload folder using huggingface_hub 7 months ago
  • CMakeCache.txt
    24.6 kB
    Upload folder using huggingface_hub 7 months ago
  • LlamaConfigVersion.cmake
    2.88 kB
    Upload folder using huggingface_hub 7 months ago
  • Makefile
    31.5 kB
    Upload folder using huggingface_hub 7 months ago
  • cmake_install.cmake
    3.66 kB
    Upload folder using huggingface_hub 7 months ago
  • compile_commands.json
    49.9 kB
    Upload folder using huggingface_hub 7 months ago