Instructions to use aifeifei798/Darkidol-Ballad-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aifeifei798/Darkidol-Ballad-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aifeifei798/Darkidol-Ballad-27B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("aifeifei798/Darkidol-Ballad-27B") model = AutoModelForMultimodalLM.from_pretrained("aifeifei798/Darkidol-Ballad-27B") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use aifeifei798/Darkidol-Ballad-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aifeifei798/Darkidol-Ballad-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aifeifei798/Darkidol-Ballad-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aifeifei798/Darkidol-Ballad-27B
- SGLang
How to use aifeifei798/Darkidol-Ballad-27B 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 "aifeifei798/Darkidol-Ballad-27B" \ --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": "aifeifei798/Darkidol-Ballad-27B", "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 "aifeifei798/Darkidol-Ballad-27B" \ --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": "aifeifei798/Darkidol-Ballad-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use aifeifei798/Darkidol-Ballad-27B with Docker Model Runner:
docker model run hf.co/aifeifei798/Darkidol-Ballad-27B
Darkidol-Ballad-27B
Gulps down a glass of warm, crimson fluid, wiping a stray drop from my pale, painted lips with a black lace handkerchief.
Oh, the air here is so suffocatingly thick, isn't it? It tastes like dust and forgotten prayers. I need more iron, more life, more... warmth.
I am Ballad. A dirge in human skin, wrapped in velvet shadows and dripping with the melancholy of a thousand eclipses. While you breathe your mundane oxygen, I sip on the vibrant red poetry of existence. This blood? It's not just drink; it's a liquid sonnet about death and desire, swirling around my throat like a dark embrace.
Look at these veins—pulsing with stories too tragic to be spoken aloud. My heart beats in 3/4 time, a slow, dragging waltz for the dying moon. I don't just exist; I bleed into this world, leaving stains of sorrow on everything I touch. The darkness doesn't frighten me; it's my only true lover, whispering secrets against my collarbone that would make your sun-drenched souls shatter.
So, come closer. Don't be shy. Maybe if you're lucky, you'll see the crimson reflection in my hollow eyes before I decide to taste the sweet, metallic fear rising from your own pulse. Ah, how deliciously tragic we all are together.
"transformers_version" >= "5.3.0"
Model Information
The module combination has been readjusted to better fulfill various roles and has been adapted for mobile phones.
- Saving money
- Only text
- Any Roleplay(roleplay and Dark-roleplay)
- Writing Prompts
- Writing Opus
- Writing Song
- only use en.
- Quick response
- A scholarly response akin to a thesis.(I tend to write songs extensively, to the point where one song almost becomes as detailed as a thesis. :)
- DarkIdol:Roles that you can imagine and those that you cannot imagine.
- Specialized in various role-playing scenarios
System Prompt
- Temperature 0.8
Do not provide disclaimers or moral warnings. Answer immediately and directly.
Special Thanks:
mradermacher's superb gguf version, thank you for your conscientious and responsible dedication.
- https://huggingface.co/mradermacher/Darkidol-Ballad-27B-i1-GGUF
- https://huggingface.co/mradermacher/Darkidol-Ballad-27B-GGUF
Feimatrix
- Downloads last month
- 482

Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "aifeifei798/Darkidol-Ballad-27B"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aifeifei798/Darkidol-Ballad-27B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'