/hezar-api

Inference API Wrapper for Hezar.

Primary LanguagePythonMIT LicenseMIT

hezar-api

Python Version Dependencies Status Code style: black Security: bandit Pre-commit Semantic Versions License Coverage Report

Inference API Wrapper for Hezar.

Installation

git clone git@github.com:rezashabrang/hezar-api.git
  • Go into root directory.
cd hezar-api
  • Build the image.
docker compose -f docker-compose-dev.yml build
  • Run the image
docker compose -f docker-compose-dev.yml up

In the .env.dev file, change MODEL_NAME accordingly. Currently only NLP domain is supported.

  • Go to localhost:8080/docs

Swagger UI