Skip to content

Daquiver1/t5_base_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T5_Base_API

A FastAPI application that translate text from English, French, German and Romanian. It works by taking a user input and translating it to any of the 4 languages specified by the user.

Links to Model Documentation

Hugging face

Github

Research Paper

Google Blog

Model Features

  • Summarize data.
  • Compute stsb sentence.
  • Find cola sentence.
  • Transalte languages.
  • Model type: Language Model.
  • Supported Languages: English, German, Romanian and French
  • License: Apache 2.0
  • Pre-trained on Supervised and Unsupervised data.

Hardware Requirements

Model was trained on Google Cloud TPU Pods

Memory

  • CPU: 8GB
  • GPU: 4GB

Storage

2GB

Installation & Usage

Local

Clone Repo

git clone https://github.com/Daquiver1/t5_base_api.git

Navigate into repo

cd t5_base_api

Setup Poetry

pip install poetry

Install packages

poetry install

Run Application

uvicorn main:app --port 80

Docker

After cloning and changing directory

Build dockerimage

docker build -t t5baseapi -f Dockerfile .

Run dockerimage

docker run --name t5baseapi -p 8080:8080 t5baseapi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published