π AbstractΒ Β β’Β Β π ContributingΒ Β β’Β Β π² ContactΒ Β β’Β Β πͺͺ LicenseΒ Β β’Β Β π» WebΒ Β β’Β Β π Docs
Hi there ππ» This is Refinaid. Refinaid is an open-source learning platform enabling everyone unfamiliar with programming languages to easily engage with AI and open the doors to the world of the future.
Fork the refinaid
repository into your own workspace.
$ git clone git@github.com:<your_workspace_name>/refinaid.git
$ git remote add upstream git@github.com:1chooo/refinaid.git
$ git remote -v
origin git@github.com:<your_user_name>/refinaid.git (fetch)
origin git@github.com:<your_user_name>/refinaid.git (push)
upstream git@github.com:1chooo/refinaid.git (fetch)
upstream git@github.com:1chooo/refinaid.git (push)
If you have any valuable ideas to contribute, please create a pull request and provide details about the outstanding work you've done.
If you encounter any problems while contributing to this project, please report the issues in the refinaid/issues section.
Important
Remember to synchronize and update your repository before starting to write code each time.
- Run
git stash save
to temporarily stash your local changes. - Run
git fetch upstream
to sync the source project with your local copy. - Run
git checkout main
to switch to the main branch. - Run
git merge upstream/main
to merge the updated remote version into your local copy. If there are no conflicts, the update process is complete. - Run
git stash pop
to apply your temporarily stashed changes back to your working directory. Resolve any conflicts if necessary.
Python version python3.11.1
with gradio, scikit-learn, seaborn, pandas, numpy, matplotlib, joblib
Make sure you have git
installed on your machine. If not, you can download it here.
$ git clone git@github.com:<your_user_name>/refinaid.git
# If you want to access to Simple AI
$ cd refinaid/apps/simple-ai
# If you want to access to Chatger
$ cd refinaid/apps/chatger
$ pip3 install virtualenv
$ python3.11 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ deactivate
$ rm -rf venv # remove the venv
$ pip install virtualenv
$ python3.11 -m venv venv
$ venv\Scripts\activate
$ pip install -r requirements.txt
$ deactivate
$ rmdir /s venv # remove the venv
$ ./scripts/build.sh
# run with uvicorn
$ uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload
# And open your browser and visit http://localhost:8080
Note
We have streamlined and unified the file structure to enable developers to easily access and launch SIMPLE-AI and Chatger using a consistent approach. Additionally, we are actively planning to adopt a modular development approach to enhance the application's deployment and functionality.
# For Simple AI
$ docker build -t refinaid-simple-ai:latest .
$ docker run -d -p 8080:8080 refinaid-simple-ai:latest
# For Chatger
$ docker build -t refinaid-chatger:latest .
$ docker run -d -p 8080:8080 refinaid-chatger:latest
Hugo ChunHo Lin
π© E-mail: hugo970217@gmail.com
𧳠Linkedin: Hugo ChunHo Lin
π¨π»βπ» GitHub: 1chooo
Released under Apache-2.0 license by Hugo ChunHo Lin.
This software can be modified and reused without restriction. The original license must be included with any copies of this software. If a significant portion of the source code is used, please provide a link back to this repository.