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

shareAI
/
llama3.1-8b-instruct-dpo-zh

Question Answering
GGUF
Chinese
English
dpo
llama3.1
llama3
chat
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use shareAI/llama3.1-8b-instruct-dpo-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use shareAI/llama3.1-8b-instruct-dpo-zh 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 shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf shareAI/llama3.1-8b-instruct-dpo-zh: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 shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf shareAI/llama3.1-8b-instruct-dpo-zh: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 shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    Use Docker
    docker model run hf.co/shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
  • LM Studio
  • Jan
  • Ollama

    How to use shareAI/llama3.1-8b-instruct-dpo-zh with Ollama:

    ollama run hf.co/shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
  • Unsloth Studio

    How to use shareAI/llama3.1-8b-instruct-dpo-zh 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 shareAI/llama3.1-8b-instruct-dpo-zh 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 shareAI/llama3.1-8b-instruct-dpo-zh to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for shareAI/llama3.1-8b-instruct-dpo-zh to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use shareAI/llama3.1-8b-instruct-dpo-zh with Docker Model Runner:

    docker model run hf.co/shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
  • Lemonade

    How to use shareAI/llama3.1-8b-instruct-dpo-zh with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull shareAI/llama3.1-8b-instruct-dpo-zh:Q4_K_M
    Run and chat with the model
    lemonade run user.llama3.1-8b-instruct-dpo-zh-Q4_K_M
    List all available models
    lemonade list
llama3.1-8b-instruct-dpo-zh
4.92 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
StarRing2022's picture
StarRing2022
Update README.md
48f4786 verified about 2 years ago
  • .gitattributes
    1.6 kB
    Upload llama3.1_8b_chinese_chat_q4_k_m-shareAI.gguf about 2 years ago
  • README.md
    1.64 kB
    Update README.md about 2 years ago
  • llama3.1_8b_chinese_chat_q4_k_m-shareAI.gguf
    4.92 GB
    xet
    Upload llama3.1_8b_chinese_chat_q4_k_m-shareAI.gguf about 2 years ago