Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

NousResearch
/
Nous-Hermes-13b

Text Generation
Transformers
PyTorch
English
llama
self-instruct
distillation
text-generation-inference
Model card Files Files and versions
xet
Community
15

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

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
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs