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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

TheBloke
/
Vicuna-13B-1.1-GPTQ

Text Generation
Transformers
llama
conversational
Model card Files Files and versions
xet
Community
18

Instructions to use TheBloke/Vicuna-13B-1.1-GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use TheBloke/Vicuna-13B-1.1-GPTQ with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="TheBloke/Vicuna-13B-1.1-GPTQ")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("TheBloke/Vicuna-13B-1.1-GPTQ")
    model = AutoModelForCausalLM.from_pretrained("TheBloke/Vicuna-13B-1.1-GPTQ", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use TheBloke/Vicuna-13B-1.1-GPTQ with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "TheBloke/Vicuna-13B-1.1-GPTQ"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "TheBloke/Vicuna-13B-1.1-GPTQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/TheBloke/Vicuna-13B-1.1-GPTQ
  • SGLang

    How to use TheBloke/Vicuna-13B-1.1-GPTQ 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 "TheBloke/Vicuna-13B-1.1-GPTQ" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "TheBloke/Vicuna-13B-1.1-GPTQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    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 "TheBloke/Vicuna-13B-1.1-GPTQ" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "TheBloke/Vicuna-13B-1.1-GPTQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use TheBloke/Vicuna-13B-1.1-GPTQ with Docker Model Runner:

    docker model run hf.co/TheBloke/Vicuna-13B-1.1-GPTQ
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Batch inference working?

#17 opened over 3 years ago by
joshlevy89

Error while trying to load this model

6
#15 opened over 3 years ago by
blooscrn

Google Colab code Problem

1
#14 opened over 3 years ago by
Aliw7979

Supported languages

4
#13 opened over 3 years ago by
yamatazen

Model throws gibberish instead of actual response.

7
#10 opened over 3 years ago by
Fimbul

vicuna-13B-1.1-GPTQ-4bit-128g not working properly

14
#8 opened over 3 years ago by
AnzacExodus

How do you force download-model.py to download act-order models by default?

10
#7 opened over 3 years ago by
hyperhuzaifa

Censored or uncensored?

11
#6 opened over 3 years ago by
Goldenblood56

LangChain

3
#5 opened over 3 years ago by
laek

Your converted model performs better, and I don't understand why

3
#4 opened over 3 years ago by
Thireus

Cannot load the model

26
#2 opened over 3 years ago by
horstao
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs