Text Generation
Transformers
Safetensors
mistral
Merge
mergekit
lazymergekit
berkeley-nest/Starling-LM-7B-alpha
mistralai/Mistral-7B-Instruct-v0.2
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use Praneeth/StarMix-7B-slerp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Praneeth/StarMix-7B-slerp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Praneeth/StarMix-7B-slerp") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Praneeth/StarMix-7B-slerp") model = AutoModelForCausalLM.from_pretrained("Praneeth/StarMix-7B-slerp", device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Praneeth/StarMix-7B-slerp with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Praneeth/StarMix-7B-slerp" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Praneeth/StarMix-7B-slerp", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Praneeth/StarMix-7B-slerp
- SGLang
How to use Praneeth/StarMix-7B-slerp 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 "Praneeth/StarMix-7B-slerp" \ --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": "Praneeth/StarMix-7B-slerp", "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 "Praneeth/StarMix-7B-slerp" \ --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": "Praneeth/StarMix-7B-slerp", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Praneeth/StarMix-7B-slerp with Docker Model Runner:
docker model run hf.co/Praneeth/StarMix-7B-slerp
Commit History
-
Adding Evaluation Results (#2)
Verified signature- Adding Evaluation Results (36218b6f128203fdae8b3a3edaf520fef7c2f63b) Co-authored-by: Open LLM Leaderboard PR Bot <leaderboard-pr-bot@users.noreply.huggingface.co>73e7706
-
Librarian Bot: Add base_model metadata to model (#1)
Verified signature- Librarian Bot: Add base_model metadata to model (bd3927d171df25a9d3e4befa383f5c06d2f9d9f4) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>5b5eaad
-
Upload folder using huggingface_hub
Verified signature5ab0014 -
initial commit
Verified signaturee853dc6