Instructions to use theNovaAI/Hypernova-experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theNovaAI/Hypernova-experimental with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="theNovaAI/Hypernova-experimental")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("theNovaAI/Hypernova-experimental") model = AutoModelForCausalLM.from_pretrained("theNovaAI/Hypernova-experimental", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use theNovaAI/Hypernova-experimental with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "theNovaAI/Hypernova-experimental" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "theNovaAI/Hypernova-experimental", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/theNovaAI/Hypernova-experimental
- SGLang
How to use theNovaAI/Hypernova-experimental 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 "theNovaAI/Hypernova-experimental" \ --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": "theNovaAI/Hypernova-experimental", "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 "theNovaAI/Hypernova-experimental" \ --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": "theNovaAI/Hypernova-experimental", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use theNovaAI/Hypernova-experimental with Docker Model Runner:
docker model run hf.co/theNovaAI/Hypernova-experimental
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,8 +23,10 @@ Quantized model here: [theNovaAI/Hypernova-experimental-GPTQ](https://huggingfac
|
|
| 23 |
|
| 24 |
```
|
| 25 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
|
|
|
| 26 |
### Instruction:
|
| 27 |
{prompt}
|
|
|
|
| 28 |
### Response:
|
| 29 |
```
|
| 30 |
|
|
@@ -33,4 +35,5 @@ Below is an instruction that describes a task. Write a response that appropriate
|
|
| 33 |
The following models were included in the merge:
|
| 34 |
* [Undi95/Emerald-13B](https://huggingface.co/Undi95/Emerald-13B)
|
| 35 |
* [Gryphe/MythoMax-L2-13b](https://huggingface.co/Gryphe/MythoMax-L2-13b)
|
|
|
|
| 36 |
Merged with some personal LoRAs too
|
|
|
|
| 23 |
|
| 24 |
```
|
| 25 |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
| 26 |
+
|
| 27 |
### Instruction:
|
| 28 |
{prompt}
|
| 29 |
+
|
| 30 |
### Response:
|
| 31 |
```
|
| 32 |
|
|
|
|
| 35 |
The following models were included in the merge:
|
| 36 |
* [Undi95/Emerald-13B](https://huggingface.co/Undi95/Emerald-13B)
|
| 37 |
* [Gryphe/MythoMax-L2-13b](https://huggingface.co/Gryphe/MythoMax-L2-13b)
|
| 38 |
+
|
| 39 |
Merged with some personal LoRAs too
|