Instructions to use pixelsandpointers/bart-base-empatheticdialogues with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pixelsandpointers/bart-base-empatheticdialogues with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pixelsandpointers/bart-base-empatheticdialogues")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pixelsandpointers/bart-base-empatheticdialogues") model = AutoModelForCausalLM.from_pretrained("pixelsandpointers/bart-base-empatheticdialogues") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use pixelsandpointers/bart-base-empatheticdialogues with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pixelsandpointers/bart-base-empatheticdialogues" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pixelsandpointers/bart-base-empatheticdialogues", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pixelsandpointers/bart-base-empatheticdialogues
- SGLang
How to use pixelsandpointers/bart-base-empatheticdialogues 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 "pixelsandpointers/bart-base-empatheticdialogues" \ --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": "pixelsandpointers/bart-base-empatheticdialogues", "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 "pixelsandpointers/bart-base-empatheticdialogues" \ --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": "pixelsandpointers/bart-base-empatheticdialogues", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use pixelsandpointers/bart-base-empatheticdialogues with Docker Model Runner:
docker model run hf.co/pixelsandpointers/bart-base-empatheticdialogues
Commit History
Training in progress, step 2000 81a073a
Benjamin Beilharz commited on
Training in progress, step 1500 ce3edcb
Benjamin Beilharz commited on
Training in progress, step 1000 872e4d8
Benjamin Beilharz commited on
Training in progress, step 500 85018d0
Benjamin Beilharz commited on
Training in progress, step 5000 b68a530
Benjamin Beilharz commited on
Training in progress, step 4500 2253bfd
Benjamin Beilharz commited on
Training in progress, step 4000 fc0ba55
Benjamin Beilharz commited on
Training in progress, step 3500 8a6f16b
Benjamin Beilharz commited on
Training in progress, step 3000 9945abf
Benjamin Beilharz commited on
Training in progress, step 2500 0404f5f
Benjamin Beilharz commited on
Training in progress, step 2000 950c15d
Benjamin Beilharz commited on
Training in progress, step 1500 4dccc7e
Benjamin Beilharz commited on
Training in progress, step 1000 f647e3f
Benjamin Beilharz commited on
Training in progress, step 500 b0efd6e
Benjamin Beilharz commited on