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

Nhatminh1234
/
ReframeBot-Llama3.1-8B-AWQ

Text Generation
Safetensors
English
llama
awq
quantized
vllm
cbt
mental-health
academic-stress
chatbot
conversational
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps
  • vLLM

    How to use Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ with vLLM:

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

    How to use Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ 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 "Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ" \
        --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": "Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ",
    		"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 "Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ" \
            --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": "Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ with Docker Model Runner:

    docker model run hf.co/Nhatminh1234/ReframeBot-Llama3.1-8B-AWQ
ReframeBot-Llama3.1-8B-AWQ
5.75 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Nhatminh1234's picture
Nhatminh1234
Add model card
6354d2c verified about 1 month ago
  • .gitattributes
    1.57 kB
    Upload Merged AWQ Model about 1 month ago
  • README.md
    2.19 kB
    Add model card about 1 month ago
  • chat_template.jinja
    4.61 kB
    Upload Merged AWQ Model about 1 month ago
  • config.json
    1.08 kB
    Upload Merged AWQ Model about 1 month ago
  • generation_config.json
    183 Bytes
    Upload Merged AWQ Model about 1 month ago
  • model-00001-of-00002.safetensors
    4.68 GB
    xet
    Upload Merged AWQ Model about 1 month ago
  • model-00002-of-00002.safetensors
    1.05 GB
    xet
    Upload Merged AWQ Model about 1 month ago
  • model.safetensors.index.json
    60.5 kB
    Upload Merged AWQ Model about 1 month ago
  • tokenizer.json
    17.2 MB
    xet
    Upload Merged AWQ Model about 1 month ago
  • tokenizer_config.json
    324 Bytes
    Upload Merged AWQ Model about 1 month ago