Instructions to use ChaoticNeutrals/Bepis_9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChaoticNeutrals/Bepis_9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ChaoticNeutrals/Bepis_9B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ChaoticNeutrals/Bepis_9B") model = AutoModelForCausalLM.from_pretrained("ChaoticNeutrals/Bepis_9B") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ChaoticNeutrals/Bepis_9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ChaoticNeutrals/Bepis_9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ChaoticNeutrals/Bepis_9B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ChaoticNeutrals/Bepis_9B
- SGLang
How to use ChaoticNeutrals/Bepis_9B 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 "ChaoticNeutrals/Bepis_9B" \ --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": "ChaoticNeutrals/Bepis_9B", "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 "ChaoticNeutrals/Bepis_9B" \ --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": "ChaoticNeutrals/Bepis_9B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ChaoticNeutrals/Bepis_9B with Docker Model Runner:
docker model run hf.co/ChaoticNeutrals/Bepis_9B
Watches silently.
π
I will say 9B is quite the unusual parameter size, at least for me, is that stable? Is it GQA? If not, could it be in the future?
it's just two 7B in a passthrough with overlapping layers. Should inherit all characteristics of a Mistral finetune.
It is quite good though, in my testing.
@jeiku -- Alrighty! Sounds good!
quantization_options = [
"Q4_K_M", "Q4_K_S", "IQ4_NL", "IQ4_XS", "Q5_K_M",
"Q5_K_S", "Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XS", "IQ3_XXS"
]
Maybe time to put those IQs to the test.
Also, of course, Bepis-chan is a cutie.
in my testing iq3_xxs is worthwhile, but others show either no improvement or worse perplexity than similar k quant
but others show either no improvement or worse perplexity than similar k quant
Yeah, I honestly want more feedback on this to focus on the more important quants. They take way longer than a normal quant, so I have to know if it's even worth it.
Update:
Everything should be uploaded in about 15 minutes.
