Text Generation
Transformers
Safetensors
English
mistral
mergekit
Merge
text-generation-inference
4-bit precision
awq
Instructions to use solidrust/Severusectum-7B-DPO-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use solidrust/Severusectum-7B-DPO-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="solidrust/Severusectum-7B-DPO-AWQ")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("solidrust/Severusectum-7B-DPO-AWQ") model = AutoModelForCausalLM.from_pretrained("solidrust/Severusectum-7B-DPO-AWQ") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use solidrust/Severusectum-7B-DPO-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "solidrust/Severusectum-7B-DPO-AWQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "solidrust/Severusectum-7B-DPO-AWQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/solidrust/Severusectum-7B-DPO-AWQ
- SGLang
How to use solidrust/Severusectum-7B-DPO-AWQ 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 "solidrust/Severusectum-7B-DPO-AWQ" \ --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": "solidrust/Severusectum-7B-DPO-AWQ", "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 "solidrust/Severusectum-7B-DPO-AWQ" \ --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": "solidrust/Severusectum-7B-DPO-AWQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use solidrust/Severusectum-7B-DPO-AWQ with Docker Model Runner:
docker model run hf.co/solidrust/Severusectum-7B-DPO-AWQ
Updated and moved existing to merged_models base_model tag in README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
-
- FelixChao/Sectumsempra-7B-DPO
|
| 4 |
-
- FelixChao/WestSeverus-7B-DPO-v2
|
| 5 |
-
license: mit
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
-
tags:
|
| 9 |
-
- mergekit
|
| 10 |
-
- merge
|
| 11 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
model_creator: s3nh
|
| 13 |
model_name: Severusectum-7B-DPO
|
| 14 |
model_type: mistral
|
|
@@ -25,6 +23,9 @@ prompt_template: '<|im_start|>system
|
|
| 25 |
|
| 26 |
'
|
| 27 |
quantized_by: Suparious
|
|
|
|
|
|
|
|
|
|
| 28 |
---
|
| 29 |
# Severusectum-7B-DPO - AWQ
|
| 30 |
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: s3nh/Severusectum-7B-DPO
|
|
|
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
|
|
|
|
|
|
| 5 |
library_name: transformers
|
| 6 |
+
license: mit
|
| 7 |
+
merged_models:
|
| 8 |
+
- FelixChao/Sectumsempra-7B-DPO
|
| 9 |
+
- FelixChao/WestSeverus-7B-DPO-v2
|
| 10 |
model_creator: s3nh
|
| 11 |
model_name: Severusectum-7B-DPO
|
| 12 |
model_type: mistral
|
|
|
|
| 23 |
|
| 24 |
'
|
| 25 |
quantized_by: Suparious
|
| 26 |
+
tags:
|
| 27 |
+
- mergekit
|
| 28 |
+
- merge
|
| 29 |
---
|
| 30 |
# Severusectum-7B-DPO - AWQ
|
| 31 |
|