Instructions to use Peeepy/Airoboros-13b-SuperHOT-8k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Peeepy/Airoboros-13b-SuperHOT-8k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Peeepy/Airoboros-13b-SuperHOT-8k")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Peeepy/Airoboros-13b-SuperHOT-8k") model = AutoModelForCausalLM.from_pretrained("Peeepy/Airoboros-13b-SuperHOT-8k") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Peeepy/Airoboros-13b-SuperHOT-8k with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Peeepy/Airoboros-13b-SuperHOT-8k" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Peeepy/Airoboros-13b-SuperHOT-8k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Peeepy/Airoboros-13b-SuperHOT-8k
- SGLang
How to use Peeepy/Airoboros-13b-SuperHOT-8k 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 "Peeepy/Airoboros-13b-SuperHOT-8k" \ --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": "Peeepy/Airoboros-13b-SuperHOT-8k", "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 "Peeepy/Airoboros-13b-SuperHOT-8k" \ --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": "Peeepy/Airoboros-13b-SuperHOT-8k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Peeepy/Airoboros-13b-SuperHOT-8k with Docker Model Runner:
docker model run hf.co/Peeepy/Airoboros-13b-SuperHOT-8k
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
| 1 |
[Airoboros 13b GPT4 1.4](https://huggingface.co/jondurbin/airoboros-13b-gpt4-1.4) merged with kaiokendev's [SuperHOT 8k](https://huggingface.co/kaiokendev/superhot-13b-8k-no-rlhf-test) LoRA.
|
| 2 |
|
| 3 |
-
The code to merge these can be found [here](https://files.catbox.moe/mg5v4g.py). Change information as needed.
|
|
|
|
|
|
|
|
|
| 1 |
[Airoboros 13b GPT4 1.4](https://huggingface.co/jondurbin/airoboros-13b-gpt4-1.4) merged with kaiokendev's [SuperHOT 8k](https://huggingface.co/kaiokendev/superhot-13b-8k-no-rlhf-test) LoRA.
|
| 2 |
|
| 3 |
+
The code to merge these can be found [here](https://files.catbox.moe/mg5v4g.py). Change information as needed.
|
| 4 |
+
|
| 5 |
+
NOTE: This requires a monkey patch to work. FlashVenom has, along with kindly quantising this model to 4bit, added the monkeypatch file to their repo. You can access this [here](https://huggingface.co/flashvenom/Airoboros-13B-SuperHOT-8K-4bit-GPTQ).
|