Text Generation
Transformers
Safetensors
mistral
mergekit
Merge
della
uncensored
profanity
roleplay
roleplaying
RP
Writing
creative
story
fiction
text
adventure
conversational
text-generation-inference
Instructions to use DarkArtsForge/Paimon-24B-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DarkArtsForge/Paimon-24B-v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DarkArtsForge/Paimon-24B-v3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DarkArtsForge/Paimon-24B-v3") model = AutoModelForCausalLM.from_pretrained("DarkArtsForge/Paimon-24B-v3", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DarkArtsForge/Paimon-24B-v3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DarkArtsForge/Paimon-24B-v3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DarkArtsForge/Paimon-24B-v3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DarkArtsForge/Paimon-24B-v3
- SGLang
How to use DarkArtsForge/Paimon-24B-v3 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "DarkArtsForge/Paimon-24B-v3" \ --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": "DarkArtsForge/Paimon-24B-v3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
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 "DarkArtsForge/Paimon-24B-v3" \ --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": "DarkArtsForge/Paimon-24B-v3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DarkArtsForge/Paimon-24B-v3 with Docker Model Runner:
docker model run hf.co/DarkArtsForge/Paimon-24B-v3
Commit History
-
Create README.md
Verified signatureee2f278
-
Delete paimon_v3_audit.png
Verified signature6b4d5b8 -
Upload 6 files
Verified signature8dc4738
-
Upload model-00010-of-00010.safetensors with huggingface_hub
Verified signature0d03044 -
Upload model-00009-of-00010.safetensors with huggingface_hub
Verified signaturedf47ac1 -
Upload model-00008-of-00010.safetensors with huggingface_hub
Verified signaturee45115d -
Upload model-00007-of-00010.safetensors with huggingface_hub
Verified signatureb2a82af -
Upload model-00006-of-00010.safetensors with huggingface_hub
Verified signaturebdaf0f6 -
Upload model-00005-of-00010.safetensors with huggingface_hub
Verified signatured086314 -
Upload model-00004-of-00010.safetensors with huggingface_hub
Verified signature2b68884 -
Upload model-00003-of-00010.safetensors with huggingface_hub
Verified signature7301877 -
Upload model-00002-of-00010.safetensors with huggingface_hub
Verified signature3075551 -
Upload model-00001-of-00010.safetensors with huggingface_hub
Verified signaturead6f96a
-
Upload model-00010-of-00010.safetensors with huggingface_hub
Verified signature6cbe8d5 -
Upload model-00009-of-00010.safetensors with huggingface_hub
Verified signature2964775 -
Upload model-00008-of-00010.safetensors with huggingface_hub
Verified signaturef1cd97c -
Upload model-00007-of-00010.safetensors with huggingface_hub
Verified signature358e676 -
Upload model-00006-of-00010.safetensors with huggingface_hub
Verified signaturecc74f6a -
Upload model-00005-of-00010.safetensors with huggingface_hub
Verified signature9a1a720 -
Upload model-00004-of-00010.safetensors with huggingface_hub
Verified signaturefb3591d -
Upload model-00003-of-00010.safetensors with huggingface_hub
Verified signature6274896 -
Upload model-00002-of-00010.safetensors with huggingface_hub
Verified signature2928622 -
Upload model-00001-of-00010.safetensors with huggingface_hub
Verified signature40c3717 -
Upload paimon_v3_audit.png
Verified signature37b1c5e -
initial commit
Verified signatureb7b4569