Giter Club home page Giter Club logo

albert-persian-lab's Introduction

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.

albert-persian-lab's People

Contributors

dependabot[bot] avatar m3hrdadfi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

albert-persian-lab's Issues

Some packages are missing inside the docker file!

Dear Mehrdad
After Building the docker file and running it, I ran the streamlit command, and I can now access it via my browser. But the problem is that I get the following errors which I cannot handle. Please help me with your advice:

1- ModuleNotFoundError: No module named 'plotly'
Traceback:
File "/usr/local/lib/python3.8/dist-packages/streamlit/ScriptRunner.py", line 319, in _run_script
exec(code, module.dict)
File "/usr/src/albert-persian-lab/app.py", line 3, in
from utils.loader import local_css, remote_css
File "/usr/src/albert-persian-lab/utils/init.py", line 3, in
import plotly.express as px

2- I get this error for tensorflow as well

I have tried to install the mentioned packages but it doesn't solve the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.