Skip to content

מחולל הגדרות נוֹנְסֵנְס בסגנון ערכים בויקיפדיה

Notifications You must be signed in to change notification settings

Norod/gpt2-hewiki

Repository files navigation

אִי-גָיוֹן
מחולל הגדרות נוֹנְסֵנְס בסגנון ויקיפדיה

מחולל ג'יבריש שנראה כמו ערכים בויקיפדיה. מבוסס על מודל הבינה המלאכותית דיסטיל-ג׳יפיטי2 שאומן על תקצירים מויקיפדיה העברית.
https://e-gayon.com

הנה לקט הגיגים שנפלטו במהלך אימון המודל

Building from source

To get started on this project, follow these steps:

  • Clone: git clone https://github.com/Norod/gpt2-hewiki.git and cd gpt2-hewiki
  • Optional: checkout a Release tag, e.g. git checkout v1.0.2
  • Install Dependencies: pip install -r requirements.txt
  • Run download.sh to download and extract the trained GPT-2 model
  • Run server: python main.py
  • Open Web Browser and visit: http://localhost:8080/
  • Type שלום עולם and press on צור נונסנס (or hit Enter)
  • Enjoy!

You may also want to build and run this project in docker container

  • Build: docker build -t gpt2-hewiki . (will take some time)
  • Run: docker run -p 8080:8080 --rm -d gpt2-hewiki

If successful, you will see something like this:

Demo Image

More information

This repository is based upon the code and knowlege found in the following Medium tutorial: Deploy Machine Learning Model in Google Cloud using Cloud Run