Skip to content

A-baoYang/mlops-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

BentoML

以最簡單的機器學習模型為示範

  1. 訓練模型
python train.py
  1. If Model API: 撰寫 Bentoml API 服務檔;接著運行
bentoml serve ./service.py:svc --reload
  1. If docker image: 撰寫 bentofile.yml 用來定義 image 環境所需套件、要拉近哪些檔案;接著運行
bentoml build -f bentofile.yml

接著再運行,即可獲得 image

bentoml containerize model_name:image_tag
  • image_tag: 例如 latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages