Skip to content

m3hrdadfi/albert-persian-lab

Repository files navigation

ALBERT PERSIAN LAB

Hi there 👋, and welcome! In this repository, I'm going to show you how we can use ALBERT-Persian models using HuggingFace in some down-stream NLP tasks. You can use this application with/without docker!

ALBERT-Persian Demo

ALBERT-Persian Playground

How to run?

Without Docker:

  1. Go to your terminal and clone the project, and install all python packages requirements using:
$ git clone https://github.com/m3hrdadfi/albert-persian-lab.git
$ cd albert-persian-lab
$ pip install -r requirements.txt
  1. Run the Streamlit application using:
$ streamlit run app.py

With Docker:

For local usage:

$ docker-compose -f local.yml build
$ docker-compose -f local.yml up 

For production usage:

$ docker-compose -f product.yml build
$ docker-compose -f product.yml up 

License

ALBERT Persian is completely free and open source and licensed under the Apache 2.0 license.