Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

beileng
/
rewrite2-27b-iq4xs

Text Generation
GGUF
Chinese
llama.cpp
rewrite2
novel-rewrite
novel-expansion
chinese
iq4xs
conversational
Model card Files Files and versions
xet
Community

Instructions to use beileng/rewrite2-27b-iq4xs 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 beileng/rewrite2-27b-iq4xs 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 beileng/rewrite2-27b-iq4xs:IQ4_XS
    # Run inference directly in the terminal:
    llama cli -hf beileng/rewrite2-27b-iq4xs:IQ4_XS
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf beileng/rewrite2-27b-iq4xs:IQ4_XS
    # Run inference directly in the terminal:
    llama cli -hf beileng/rewrite2-27b-iq4xs:IQ4_XS
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf beileng/rewrite2-27b-iq4xs:IQ4_XS
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf beileng/rewrite2-27b-iq4xs:IQ4_XS
    Use Docker
    docker model run hf.co/beileng/rewrite2-27b-iq4xs:IQ4_XS
  • Llama new
  • LM Studio
  • Jan
  • vLLM

    How to use beileng/rewrite2-27b-iq4xs with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "beileng/rewrite2-27b-iq4xs"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "beileng/rewrite2-27b-iq4xs",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/beileng/rewrite2-27b-iq4xs:IQ4_XS
  • Ollama

    How to use beileng/rewrite2-27b-iq4xs with Ollama:

    ollama run hf.co/beileng/rewrite2-27b-iq4xs:IQ4_XS
  • Unsloth Desktop
  • Docker Model Runner

    How to use beileng/rewrite2-27b-iq4xs with Docker Model Runner:

    docker model run hf.co/beileng/rewrite2-27b-iq4xs:IQ4_XS
  • Lemonade

    How to use beileng/rewrite2-27b-iq4xs with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull beileng/rewrite2-27b-iq4xs:IQ4_XS
    Run and chat with the model
    lemonade run user.rewrite2-27b-iq4xs-IQ4_XS
    List all available models
    lemonade list
  • Atomic Chat
rewrite2-27b-iq4xs
15.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 20 commits
北棱
rewrite model card: prompts, usage, formats, limits
b62ae28 verified about 1 month ago
  • .gitattributes
    1.58 kB
    add rewrite2-27b-IQ4_XS.gguf about 1 month ago
  • BUILD.json
    577 Bytes
    add BUILD.json about 1 month ago
  • INSTRUCTION.txt
    367 Bytes
    add INSTRUCTION.txt about 1 month ago
  • INSTRUCTION_expand.txt
    556 Bytes
    add INSTRUCTION_expand.txt about 1 month ago
  • INSTRUCTION_rewrite.txt
    367 Bytes
    add INSTRUCTION_rewrite.txt about 1 month ago
  • README.md
    13.3 kB
    rewrite model card: prompts, usage, formats, limits about 1 month ago
  • SHA256SUMS
    505 Bytes
    rewrite model card: prompts, usage, formats, limits about 1 month ago
  • rewrite2-27b-IQ4_XS.gguf
    15.2 GB
    xet
    add rewrite2-27b-IQ4_XS.gguf about 1 month ago