Text Generation
GGUF
Chinese
llama.cpp
rewrite2
novel-rewrite
novel-expansion
chinese
iq4xs
conversational
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
Commit History
-
rewrite model card: prompts, usage, formats, limits
北棱Verified signatureb62ae28 -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature40e53ab -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature3e86d5e -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature678d7dd -
rewrite model card: prompts, usage, formats, limits
北棱Verified signatureb54db94 -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature5bb75d3 -
rewrite model card: prompts, usage, formats, limits
北棱Verified signatured13c0a4 -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature710f7a4 -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature86b525c -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature1aff5dc -
rewrite model card: prompts, usage, formats, limits
北棱Verified signaturede2930f -
rewrite model card: prompts, usage, formats, limits
北棱Verified signature6b9b93e
-
add SHA256SUMS
北棱Verified signature69dee2f -
add INSTRUCTION_rewrite.txt
北棱Verified signature2f247cd -
add INSTRUCTION_expand.txt
北棱Verified signatureb75dd3a -
add INSTRUCTION.txt
北棱Verified signaturecc9cc0b -
add BUILD.json
北棱Verified signatureecf4dcf -
add README.md
北棱Verified signature870a34a -
add rewrite2-27b-IQ4_XS.gguf
北棱Verified signature25c281d -
initial commit
北棱Verified signatureb8bc299