Instructions to use jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096") model = AutoModelForCausalLM.from_pretrained("jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096
- SGLang
How to use jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096 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 "jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096" \ --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": "jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096", "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 "jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096" \ --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": "jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096 with Docker Model Runner:
docker model run hf.co/jburtoft/SOLAR-10.7B-v1.0-neuron-24xlarge-4096
Commit History
-
995e9a82f940d57432ccb02fbd770ffaee43d9c169e0f411b0f090f692904d81
Verified signaturef559ff8 -
4ba0587d21ffe08290719c2d0dbfbea8ffc709b98b329b13ccb2723af9a9aa2e
Verified signaturee16d492 -
b103556ce7f2bcb66146e0f9f4048f151c32e65544b0e2fd199d6fd382f079a8
Verified signature5dce49f -
67c2d0c8bca4f0af46228fa2df85d4a9ad8e898e40b1c55adc326ca5e1f9ae80
Verified signature05fb499 -
a96e90a1dbbc338a4e66b273d4873e5167379a3263bf76104d43a985649d8259
Verified signaturef3d456a -
54845a1e98f5aeffda8b745bcb06d69be14aa96dc97c201e552e52676ea11127
Verified signaturef7c8688 -
a54ccd2453e6ac3062544174f0438f0304bd649997cb1830fb3e6c3f06001bcf
Verified signature696f353 -
6b3602adc39bec31b0715f206bac9b7ffa5827eee0e502c861097fde1bbc5f4b
Verified signature5251d9f -
c17aba8cb1af1618c1913a34df7711ccd3acbe59b5ce7ab3ec15e358398527bf
Verified signature84dba71 -
672068cb6f8f3b30fb85a7f1a86373148199225903a05bef16376bd8cd708de5
Verified signature7053273 -
327bc00096a042d80c44b7c57c067769a97b512f379d2beb83b59b8f87498dde
Verified signature1b147a6 -
29fd63f096633a662da3b0157d8625639e714d6d49cc62a738d2c59c171ebe8b
Verified signaturee4d3836 -
bcfd30e76af5602ad2559f23306420ddb15ba919478b3e9097b9165659af42cf
Verified signature7fc7c59 -
9baf68f25225e25f0cf14788e00887629a2702ae956b76bdb4f615262d70399f
Verified signaturea91b82a