Skip to content

parano/quickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart

This quickstart demonstrates how to build a text summarization application with a Transformer model from the Hugging Face Model Hub.

Perform the following steps to run this project.

  1. Clone the repository:

    git clone https://github.com/bentoml/quickstart.git
    cd quickstart
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Download the Transformer model.

    python download_model.py
  4. Serve your model as an HTTP server. This starts a local server at http://0.0.0.0:3000, making your model accessible as a web service.

    bentoml serve service:svc
  5. Build your Bento. In the BentoML framework, a Bento is a deployable artifact that contains your application's source code, models, configurations, and dependencies.

    bentoml build

After your Bento is ready, you can push your Bento to BentoCloud or containerize it with Docker and deploy it on a variety of platforms.

For more information, see this quickstart in the BentoML documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%