Instructions to use apfallinus/RickBot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apfallinus/RickBot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="apfallinus/RickBot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("apfallinus/RickBot") model = AutoModelForCausalLM.from_pretrained("apfallinus/RickBot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use apfallinus/RickBot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "apfallinus/RickBot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "apfallinus/RickBot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/apfallinus/RickBot
- SGLang
How to use apfallinus/RickBot 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 "apfallinus/RickBot" \ --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": "apfallinus/RickBot", "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 "apfallinus/RickBot" \ --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": "apfallinus/RickBot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use apfallinus/RickBot with Docker Model Runner:
docker model run hf.co/apfallinus/RickBot
Download pytorch_model.bin from apfallinus/RickBot: direct link, hf CLI and curl.
- Browser
- Download file 3.13 GB
-
https://huggingface.co/apfallinus/RickBot/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://apfallinus/RickBot/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/apfallinus/RickBot/resolve/main/pytorch_model.bin
3.13 GB
- Xet hash:
- c38a9aadf26188f512a7e71105dba8a03c0ee53a43c4a43ab587c6f02618f245
- Size of remote file:
- 3.13 GB
- SHA256:
- 5f244b35a17b5a3acd953a7914ea7a242534f373ddb20d76019b2cb17149df10
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.