Instructions to use Yhhxhfh/fdcbbcdf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yhhxhfh/fdcbbcdf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Yhhxhfh/fdcbbcdf")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Yhhxhfh/fdcbbcdf") model = AutoModelForCausalLM.from_pretrained("Yhhxhfh/fdcbbcdf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Yhhxhfh/fdcbbcdf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Yhhxhfh/fdcbbcdf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Yhhxhfh/fdcbbcdf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Yhhxhfh/fdcbbcdf
- SGLang
How to use Yhhxhfh/fdcbbcdf 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 "Yhhxhfh/fdcbbcdf" \ --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": "Yhhxhfh/fdcbbcdf", "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 "Yhhxhfh/fdcbbcdf" \ --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": "Yhhxhfh/fdcbbcdf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Yhhxhfh/fdcbbcdf with Docker Model Runner:
docker model run hf.co/Yhhxhfh/fdcbbcdf
Commit History
-
Update config.json
Verified signature34f5aec -
Update config.json
Verified signature1cd7b22 -
Update config.json
Verified signature2970813 -
Update config.json
Verified signature6f202dd -
Update config.json
Verified signature309fe27 -
Update generation_config.json
Verified signature6c54e76 -
Update README.md
Verified signaturefe882ae -
Update README.md
Verified signature5c69dcf -
Update README.md
Verified signaturec6a7bb7 -
Update README.md
Verified signaturee7c80ae -
Update generation_config.json
Verified signature326305c -
Update generation_config.json
Verified signaturee04717c -
Update config.json
Verified signature20de7f4 -
Update config.json
Verified signature61dafb3 -
Update config.json
Verified signature5fbd0b3 -
Update config.json
Verified signature8fd681a -
Update generation_config.json
Verified signature4617012 -
Update generation_config.json
Verified signature7237696 -
Update config.json
Verified signature3e56fb6 -
Upload 6 files
Verified signature88d1cd0 -
initial commit
Verified signature1ddf15a