mag-pe
Collection
ONLY TESTED FOR COHERENCY. Attempts to merge MN-12B-Mag-Mell-R1 with Dans-PersonalityEngine-V1.3.0-12b, in an attempt to improve writing. โข 2 items โข Updated
How to use Snqwii/mag-pe-dt-i1-GGUF with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Snqwii/mag-pe-dt-i1-GGUF") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Snqwii/mag-pe-dt-i1-GGUF", device_map="auto")How to use Snqwii/mag-pe-dt-i1-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
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 Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama cli -hf Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
docker model run hf.co/Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
How to use Snqwii/mag-pe-dt-i1-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Snqwii/mag-pe-dt-i1-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Snqwii/mag-pe-dt-i1-GGUF",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
How to use Snqwii/mag-pe-dt-i1-GGUF with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Snqwii/mag-pe-dt-i1-GGUF" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Snqwii/mag-pe-dt-i1-GGUF",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "Snqwii/mag-pe-dt-i1-GGUF" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Snqwii/mag-pe-dt-i1-GGUF",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use Snqwii/mag-pe-dt-i1-GGUF with Ollama:
ollama run hf.co/Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
How to use Snqwii/mag-pe-dt-i1-GGUF with Docker Model Runner:
docker model run hf.co/Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
How to use Snqwii/mag-pe-dt-i1-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Snqwii/mag-pe-dt-i1-GGUF:Q4_K_S
lemonade run user.mag-pe-dt-i1-GGUF-Q4_K_S
lemonade list
Weighted quants of Snqwii/mag-pe-dt converted using llama.cpp.
Refer to the original model card for more details on the model.
Massive thanks to mradermacher for their imatrix.dat! These quants would not be possible without them!
4-bit