Instructions to use Devops-hestabit/airoboros-m2.0-70b-neuron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Devops-hestabit/airoboros-m2.0-70b-neuron with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Devops-hestabit/airoboros-m2.0-70b-neuron")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Devops-hestabit/airoboros-m2.0-70b-neuron") model = AutoModelForCausalLM.from_pretrained("Devops-hestabit/airoboros-m2.0-70b-neuron", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Devops-hestabit/airoboros-m2.0-70b-neuron with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Devops-hestabit/airoboros-m2.0-70b-neuron" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Devops-hestabit/airoboros-m2.0-70b-neuron", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Devops-hestabit/airoboros-m2.0-70b-neuron
- SGLang
How to use Devops-hestabit/airoboros-m2.0-70b-neuron 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 "Devops-hestabit/airoboros-m2.0-70b-neuron" \ --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": "Devops-hestabit/airoboros-m2.0-70b-neuron", "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 "Devops-hestabit/airoboros-m2.0-70b-neuron" \ --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": "Devops-hestabit/airoboros-m2.0-70b-neuron", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Devops-hestabit/airoboros-m2.0-70b-neuron with Docker Model Runner:
docker model run hf.co/Devops-hestabit/airoboros-m2.0-70b-neuron
Download compiled/neuron-program.pkl from Devops-hestabit/airoboros-m2.0-70b-neuron: direct link, hf CLI and curl.
- Browser
- Download file 61.4 MB
-
https://huggingface.co/Devops-hestabit/airoboros-m2.0-70b-neuron/resolve/main/compiled/neuron-program.pkl
- Command line
-
hf download hf://Devops-hestabit/airoboros-m2.0-70b-neuron/compiled/neuron-program.pkl
-
curl -L -o neuron-program.pkl https://huggingface.co/Devops-hestabit/airoboros-m2.0-70b-neuron/resolve/main/compiled/neuron-program.pkl
61.4 MB
- Xet hash:
- c6beb1a0140eeb5341e340ffc6387d9b7bd270a80c608e175e1dcd22b8bad4f8
- Size of remote file:
- 61.4 MB
- SHA256:
- 57b36c0feb9583daabc2bea2a5db423e131cff1d2ff2eb1b8d534a1f7dd1313f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.