How to use from
vLLMUse Docker
docker model run hf.co/trl-internal-testing/tiny-GptOssForCausalLMQuick Links
Tiny GptOssForCausalLM
This is a minimal model built for unit tests in the TRL library.
- Downloads last month
- 530,941
docker model run hf.co/trl-internal-testing/tiny-GptOssForCausalLMThis is a minimal model built for unit tests in the TRL library.
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "trl-internal-testing/tiny-GptOssForCausalLM"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "trl-internal-testing/tiny-GptOssForCausalLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'