[TOC]

  1. Title: How to Design Your Research Project Structure
  2. Review Date: Fri, Feb 2, 2024

Basic Component

itโ€™s better to have interface class in the __init__.py

Separate subproject for Data collection and PreTraining

How to git ignore data above 1M

  1. Open your terminal.
  2. Use the find command to list all files over 1M in size in your repository directory and append them to .gitignore:
1
find . -size +1M | sed 's|^\./||' >> .gitignore

This command works as follows:

After running this command, you might want to review and edit .gitignore to ensure it only contains the entries you want to ignore.

Extra: update gitignore

1
2
3
4
git rm -r --cached . 
git add . 
git commit -m'.gitignore update' 
git push origin master