Instructions to use callMeRover/yum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use callMeRover/yum with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="callMeRover/yum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("callMeRover/yum") model = AutoModelForCausalLM.from_pretrained("callMeRover/yum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use callMeRover/yum with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "callMeRover/yum" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "callMeRover/yum", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/callMeRover/yum
- SGLang
How to use callMeRover/yum 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 "callMeRover/yum" \ --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": "callMeRover/yum", "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 "callMeRover/yum" \ --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": "callMeRover/yum", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use callMeRover/yum with Docker Model Runner:
docker model run hf.co/callMeRover/yum
Commit History
-
Upload merges.txt with huggingface_hub
19ec59a -
Upload vocab.json with huggingface_hub
5728007 -
Upload added_tokens.json with huggingface_hub
387f5aa -
Upload special_tokens_map.json with huggingface_hub
41bfe06 -
Upload tokenizer_config.json with huggingface_hub
0f33f5a -
Upload training_args.bin with huggingface_hub
90166ee -
Upload pytorch_model.bin with huggingface_hub
b2537b3 -
Upload generation_config.json with huggingface_hub
7666dbe -
Upload config.json with huggingface_hub
32b851e -
initial commit
62c6a0b