openlifescienceai/medmcqa
Viewer • Updated • 193k • 30.4k • 228
How to use ArtusDev/S4nfs_Neeto-1.0-8b-EXL3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="ArtusDev/S4nfs_Neeto-1.0-8b-EXL3") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("ArtusDev/S4nfs_Neeto-1.0-8b-EXL3", dtype="auto")How to use ArtusDev/S4nfs_Neeto-1.0-8b-EXL3 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/ArtusDev/S4nfs_Neeto-1.0-8b-EXL3
How to use ArtusDev/S4nfs_Neeto-1.0-8b-EXL3 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3" \
--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": "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3" \
--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": "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use ArtusDev/S4nfs_Neeto-1.0-8b-EXL3 with Docker Model Runner:
docker model run hf.co/ArtusDev/S4nfs_Neeto-1.0-8b-EXL3
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 "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3" \
--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": "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'EXL3 quants of S4nfs/Neeto-1.0-8b using exllamav3 for quantization.
| Quant | BPW | Head Bits |
|---|---|---|
| 2.5_H6 | 2.5 | 6 |
| 3.0_H6 | 3.0 | 6 |
| 3.5_H6 | 3.5 | 6 |
| 4.0_H6 | 4.0 | 6 |
| 4.5_H6 | 4.5 | 6 |
| 5.0_H6 | 5.0 | 6 |
| 6.0_H6 | 6.0 | 6 |
| 8.0_H8 | 8.0 | 8 |
You can download quants by targeting specific size using the Hugging Face CLI.
pip install -U "huggingface_hub[cli]"
2. Download a specific quant:
huggingface-cli download ArtusDev/S4nfs_Neeto-1.0-8b-EXL3 --revision "5.0bpw_H6" --local-dir ./
EXL3 quants can be run with any inference client that supports EXL3, such as TabbyAPI. Refer to documentation for set up instructions.
Base model
S4nfs/Neeto-1.0-8b
Install from pip and serve model
# Install SGLang from pip: pip install sglang# Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3" \ --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": "ArtusDev/S4nfs_Neeto-1.0-8b-EXL3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'