Instructions to use Mr-Bhaskar/FusionBot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mr-Bhaskar/FusionBot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Mr-Bhaskar/FusionBot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Mr-Bhaskar/FusionBot") model = AutoModelForCausalLM.from_pretrained("Mr-Bhaskar/FusionBot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Mr-Bhaskar/FusionBot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Mr-Bhaskar/FusionBot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Mr-Bhaskar/FusionBot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Mr-Bhaskar/FusionBot
- SGLang
How to use Mr-Bhaskar/FusionBot 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 "Mr-Bhaskar/FusionBot" \ --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": "Mr-Bhaskar/FusionBot", "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 "Mr-Bhaskar/FusionBot" \ --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": "Mr-Bhaskar/FusionBot", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Mr-Bhaskar/FusionBot with Docker Model Runner:
docker model run hf.co/Mr-Bhaskar/FusionBot
Commit History
-
Update README.md
Verified signature3caabcb -
Create README.md
Verified signature515d0b8
-
Upload folder using huggingface_hub
09f7ca2 -
Delete config.json
d08d47f -
Upload folder using huggingface_hub
71e3141 -
Upload tokenizer
cd84abd -
Upload LlamaForCausalLM
49fd711
-
Delete pytorch_model.bin.index.json
dc6814f -
Delete pytorch_model-00002-of-00002.bin
eed86a0 -
Delete pytorch_model-00001-of-00002.bin
6d14e0c -
Upload folder using huggingface_hub
4bae785 -
Upload tokenizer
c9b9971 -
Upload LlamaForCausalLM
842bb4c
-
Upload LlamaForCausalLM
dcfaf11
-
Upload 7 files
7390f25 -
Delete ai-therapist
d3396fb
-
Delete FusionBot_A_Therapeutic_Companion.ipynb
dbefb39 -
Upload 7 files
cf2678a -
initial commit
d36af55