Text Generation
Transformers
PyTorch
English
llama
alpaca
vicuna
mix
Merge
model merge
roleplay
chat
instruct
text-generation-inference
Instructions to use digitous/13B-HyperMantis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use digitous/13B-HyperMantis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="digitous/13B-HyperMantis")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("digitous/13B-HyperMantis") model = AutoModelForCausalLM.from_pretrained("digitous/13B-HyperMantis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use digitous/13B-HyperMantis with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "digitous/13B-HyperMantis" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/13B-HyperMantis", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/digitous/13B-HyperMantis
- SGLang
How to use digitous/13B-HyperMantis 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 "digitous/13B-HyperMantis" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/13B-HyperMantis", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "digitous/13B-HyperMantis" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitous/13B-HyperMantis", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use digitous/13B-HyperMantis with Docker Model Runner:
docker model run hf.co/digitous/13B-HyperMantis
Commit History
-
Update README.md
aa828ef -
Delete ggmlv2-model-q5_1.bin
a1755d6 -
Delete 4bit-128g.safetensors
2fccbca -
Delete ggml-model-q5_1.bin
2e0b162
-
Upload ggmlv2-model-q5_1.bin (#1)
- Upload ggmlv2-model-q5_1.bin (fa076cefeabbfa7717b20b33540804acc496a097) Co-authored-by: xzuyn <xzuyn@users.noreply.huggingface.co>79b6d32
-
Upload ggml-model-q5_1.bin
fe19be8 -
Update README.md
2347bc8 -
Update README.md
4009e14 -
Update README.md
7a37bfa -
Update README.md
bb8afd1 -
Update README.md
f9d1b42 -
Update README.md
4a0998d -
Update README.md
72e0f6f -
Update README.md
c8169a2 -
Create README.md
9a2a686 -
Upload 4bit-128g.safetensors
22d63b2 -
Upload pytorch_model-00003-of-00003.bin
cc439d3 -
Upload pytorch_model-00002-of-00003.bin
2c37bad -
Upload pytorch_model-00001-of-00003.bin
1740524
-
init files
b2b50b0 -
initial commit
4de13f6