Container for serving the MosaicPretrainedTransformer model text completion LLM using FastAPI.
172
This container serves the mosaicml/mpt-7b language model using FastAPI. It allows users to interact with the model through a web-based chat interface or REST API while supporting configurable parameters such as max_new_tokens, top_k, top_p, and temperature. Designed for text generation and other NLP tasks, this container provides a simple yet powerful tool for deploying LLMs.
mosaicml/mpt-7b LLM, known for its versatility in text generation.docker run --gpus all -p 8000:8000 leybzon/llm-serving:v1
http://localhost:8000 in a web browser for chat interaction./generate to get model responses with customized parameters.curl -X POST "http://localhost:8000/generate" -H "Content-Type: application/json" -d '{"prompt": "What is the capital of France?"}'This container is ideal for those looking to leverage the capabilities of the mosaicml/mpt-7b model in various NLP applications.
Content type
Image
Digest
sha256:c119d1020…
Size
23.6 GB
Last updated
almost 2 years ago
docker pull leybzon/llm-serving:v1