Text Generation
Transformers
PyTorch
English
llama
self-instruct
distillation
text-generation-inference
Instructions to use NousResearch/Nous-Hermes-13b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NousResearch/Nous-Hermes-13b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NousResearch/Nous-Hermes-13b")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("NousResearch/Nous-Hermes-13b") model = AutoModelForMultimodalLM.from_pretrained("NousResearch/Nous-Hermes-13b") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NousResearch/Nous-Hermes-13b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NousResearch/Nous-Hermes-13b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NousResearch/Nous-Hermes-13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/NousResearch/Nous-Hermes-13b
- SGLang
How to use NousResearch/Nous-Hermes-13b 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 "NousResearch/Nous-Hermes-13b" \ --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": "NousResearch/Nous-Hermes-13b", "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 "NousResearch/Nous-Hermes-13b" \ --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": "NousResearch/Nous-Hermes-13b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use NousResearch/Nous-Hermes-13b with Docker Model Runner:
docker model run hf.co/NousResearch/Nous-Hermes-13b
Disambiguating license
#15 opened over 1 year ago
by
robertwebbmodular
how to install
1
#14 opened over 1 year ago
by
flickstart
Adding `safetensors` variant of this model
#13 opened about 2 years ago
by
SFconvertbot
Adding Evaluation Results
#12 opened over 2 years ago
by
leaderboard-pr-bot
Nous-Hermes-13b Usage
2
#11 opened almost 3 years ago
by
llm-tester-llm
Request: DOI
1
#9 opened almost 3 years ago
by
AAKASHKETHA
Why loading tokenizer is very slow?
2
#8 opened almost 3 years ago
by
shreyans92dhankhar
Does this model support multi language?
#7 opened almost 3 years ago
by
almannai
Hyperparameters
3
#6 opened almost 3 years ago
by
migtissera
GPT4ALL: Nous Hermes Model consistently loses memory by fourth question ( GPT4-x-Vicuna-13b-4bit does not have problems)
12
#5 opened about 3 years ago
by
boqsc
Cooperation and Collaboration
#3 opened about 3 years ago
by
karan4d
If you haven't tried it, do. This model is great
👍 4
7
#2 opened about 3 years ago
by
nacs
The previous models were really great. Looking forward to see Nous Hermes 13b on GPT4all
2
#1 opened about 3 years ago
by
boqsc