Instructions to use peril10/play_time with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peril10/play_time with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="peril10/play_time")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("peril10/play_time") model = AutoModelForCausalLM.from_pretrained("peril10/play_time", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use peril10/play_time with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "peril10/play_time" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "peril10/play_time", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/peril10/play_time
- SGLang
How to use peril10/play_time 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 "peril10/play_time" \ --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": "peril10/play_time", "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 "peril10/play_time" \ --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": "peril10/play_time", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use peril10/play_time with Docker Model Runner:
docker model run hf.co/peril10/play_time
Download flax_model.msgpack from peril10/play_time: direct link, hf CLI and curl.
- Browser
- Download file 498 MB
-
https://huggingface.co/peril10/play_time/resolve/main/flax_model.msgpack
- Command line
-
hf download hf://peril10/play_time/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/peril10/play_time/resolve/main/flax_model.msgpack
498 MB
- Xet hash:
- 668f9f7ac93a580898caa64ef31709d81b599b989bbfbe1199d7b550f2b15ef7
- Size of remote file:
- 498 MB
- SHA256:
- 6de7ac4b921d13406d43be9b486a7506d535a0f853121ee7e4fc03413039d00b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.