From 06b5174c5c6e16e77cb1431c724eb4934277e62d Mon Sep 17 00:00:00 2001 From: Antyle_YT <152796256+AntyleYT@users.noreply.github.com> Date: Sun, 1 Sep 2024 10:26:04 +0200 Subject: [PATCH] New README --- README.md | 37 +++++++++++-------- .../Just-launch-me(recommanded)/launchme.py | 2 +- .../Instruction.md | 0 .../app.py | 0 .../corpus.txt | 0 .../trainer.py | 0 6 files changed, 22 insertions(+), 17 deletions(-) rename TrainerandApp/{Trainingmethode(long) => Trainingmethod(long)}/Instruction.md (100%) rename TrainerandApp/{Trainingmethode(long) => Trainingmethod(long)}/app.py (100%) rename TrainerandApp/{Trainingmethode(long) => Trainingmethod(long)}/corpus.txt (100%) rename TrainerandApp/{Trainingmethode(long) => Trainingmethod(long)}/trainer.py (100%) diff --git a/README.md b/README.md index 88d9d83..885e1fb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # Smart Adaptive Text Artificial Intelligence System -# ALPHA 0.1 : -# AI don't make logical text : version 1 +# ALPHA @S0.0.2 SATAIS is a generative AI created by @antyle_yt **All the code is open-source and customisable** -**Don't use this AI illegally(for hack or other)** +**Don't use this AI illegally(hacking or other)** ## SATAIS's info @@ -13,7 +12,7 @@ * Runnable on Windows Linux and MacOS with Python and maybe Java * Utilisable for Discord , Minecraft and more - +## PS : Default language for the 1st and 2nd model are french (I'll change to English in the future) # How to use SATAIS (on python ) ? # Methode 1 (recommended) @@ -22,7 +21,7 @@ * ## Step two : * If you are on PyCharm , open the project and click on "Readme.md" ; * If you are simply on CMD : - tap ``cd C:\exact\location\of\the\file `` + tap ``cd C:\exact\location\of\the\files\readme.md `` * ## Step three : * ### If you are on Pycharm : * Go to settings --> Project: "name" --> Python interpreter --> the "**+**" button --> Search Numpy and install it and also tensorflow. @@ -33,14 +32,17 @@ ## Step four : (verify if a .h5 / .model / .keras exist) * ### If you are on PyCharm ! -* launch "app.py" -* wait -* when finished : launch ``"app.py"`` +* Go to the folder "Just-launch-me(recommanded)" +* (if you want change the model go to "modellist" , copy the file and name and return into "just-launch-me" paste the file here and go to "launchme.py" and change the name from "default-sataismodelv1.h5" to the name of your selected model ). +* launch ``"launchme.py"`` * ### If you are on cmd : -* tap ``python app.py`` +* tap ``cd C:\exact\location\of\the\files\TrainerandApp\Just-launch-me(recommanded) `` +* tap ``python launchme.py`` * ## Step five : * enjoy the AI ! ---------------------------------------------------- +---------------------------------------------------- + # Methode 2 (Machine learning (creating a model) not recommended # __⚠️ YOU NEED LOT OF TIMES AND A GOOD COMPUTER (MACHINE LEARNING)__ * ## Step one : @@ -58,13 +60,16 @@ * Tap : ``pip install tensorflow`` ## Step four : * ### If you are on PyCharm ! -* launch "trainer.py" -* wait -* when finished : launch ``"app.py"`` +* (PS : The instruction are also in the folder) +* Go to the folder "trainingmethod(long)" +* (You can change the corpus.) +* launch ``"trainer.py"`` * ### If you are on cmd : -* tap ``python trainer.py`` -* wait -* when finished : tap : ``python app.py`` +* tap ``cd C:\exact\location\of\the\files\TrainerandApp\Trainingmethod(long) `` +* tap ``python trainer.py`` * ## Step five : -* enjoy the AI +* launch app.py +* enjoy the AI ! +---------------------------------------------------- +---------------------------------------------------- ## PLEASE REPORT BUG ON MY DISCORD DM : Antyle_YT diff --git a/TrainerandApp/Just-launch-me(recommanded)/launchme.py b/TrainerandApp/Just-launch-me(recommanded)/launchme.py index bda2de5..c0ea76b 100644 --- a/TrainerandApp/Just-launch-me(recommanded)/launchme.py +++ b/TrainerandApp/Just-launch-me(recommanded)/launchme.py @@ -4,7 +4,7 @@ import pickle # Load the model without compiling it -model = load_model('text_generator_model.h5', compile=False) +model = load_model('default-sataismodelv1.h5', compile=False) with open('tokenizer.pkl', 'rb') as file: tokenizer = pickle.load(file) diff --git a/TrainerandApp/Trainingmethode(long)/Instruction.md b/TrainerandApp/Trainingmethod(long)/Instruction.md similarity index 100% rename from TrainerandApp/Trainingmethode(long)/Instruction.md rename to TrainerandApp/Trainingmethod(long)/Instruction.md diff --git a/TrainerandApp/Trainingmethode(long)/app.py b/TrainerandApp/Trainingmethod(long)/app.py similarity index 100% rename from TrainerandApp/Trainingmethode(long)/app.py rename to TrainerandApp/Trainingmethod(long)/app.py diff --git a/TrainerandApp/Trainingmethode(long)/corpus.txt b/TrainerandApp/Trainingmethod(long)/corpus.txt similarity index 100% rename from TrainerandApp/Trainingmethode(long)/corpus.txt rename to TrainerandApp/Trainingmethod(long)/corpus.txt diff --git a/TrainerandApp/Trainingmethode(long)/trainer.py b/TrainerandApp/Trainingmethod(long)/trainer.py similarity index 100% rename from TrainerandApp/Trainingmethode(long)/trainer.py rename to TrainerandApp/Trainingmethod(long)/trainer.py