Instructions to use DarkArtsForge/Vesper-Zenith-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DarkArtsForge/Vesper-Zenith-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DarkArtsForge/Vesper-Zenith-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DarkArtsForge/Vesper-Zenith-12B") model = AutoModelForCausalLM.from_pretrained("DarkArtsForge/Vesper-Zenith-12B") 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]:])) - NeMo
How to use DarkArtsForge/Vesper-Zenith-12B with NeMo:
# tag did not correspond to a valid NeMo domain.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DarkArtsForge/Vesper-Zenith-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DarkArtsForge/Vesper-Zenith-12B" # 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/Vesper-Zenith-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DarkArtsForge/Vesper-Zenith-12B
- SGLang
How to use DarkArtsForge/Vesper-Zenith-12B 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/Vesper-Zenith-12B" \ --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/Vesper-Zenith-12B", "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/Vesper-Zenith-12B" \ --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/Vesper-Zenith-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DarkArtsForge/Vesper-Zenith-12B with Docker Model Runner:
docker model run hf.co/DarkArtsForge/Vesper-Zenith-12B
Creative
This model is creative and uncensored with the occasional flash of contextual insight reminiscent of Cydonia 4.3. However the dreaded early termination bug is back. Terminations occur at critical moments and seem to be a form of covert noncompliance.
One of the models was formatted for tekken while the other 3 were chatML, so this could be the cause of early termination. In addition, the other donors except Raven seem to have some refusals.
Did you manage to test Raven 12B on its own yet to see if that also had early terminations? If not, then the della method might also be partially involved.
I'll have to try running token surgeon or something else to fix this probably.
May have found the culprit
WARNING:mergekit.tokenizer.build:Unable to load tokenizer for B:\12B\Lambent--Arsenic-Shahrazad-12B-v4.4. Assuming same as B:\12B\Vortex5--Ethereal-Stardust-12B.
WARNING:mergekit.tokenizer.build:B:\12B\Lambent--Arsenic-Shahrazad-12B-v4.4 token '<|im_start|>' has index 131072>131071 (padding?)ββββββββββββββββ | 13/20 [00:01<00:00, 9.69it/s]
WARNING:mergekit.tokenizer.build:B:\12B\Lambent--Arsenic-Shahrazad-12B-v4.4 token '<SPECIAL_4>' has index 131074>131071 (padding?)
WARNING:mergekit.tokenizer.build:B:\12B\Lambent--Arsenic-Shahrazad-12B-v4.4 token '<|im_end|>' has index 131073>131071 (padding?)