📚 সমস্ত অধ্যায় দেখুন
অধ্যায়/ফেজ 11 · Phase 11 · Research
11.4৩০ মিনিট পড়া64 / 68

Open-source Contribution

Open Source

GitHub এ contribute এর roadmap।

Hook — কোডের পাবলিক CV

Open-source contribution = বিনামূল্যে portfolio + global network + senior engineer এর সাথে real code review। AI domain এ এখনই সবচেয়ে বড় সুযোগ — সব major library volunteer চায়।

কেন Contribute করব

  • Recruiter দের কাছে verifiable proof।
  • Senior dev এর সাথে free mentorship।
  • Big codebase navigate শেখা — interview gold।
  • Community + co-author network।
  • অনেক কোম্পানি OSS contributor কে fast-track hire করে।

AI/ML এ ভালো Repo

  • Hugging Face: `transformers`, `datasets`, `diffusers`, `peft`।
  • PyTorch ecosystem: `torch`, `lightning`, `torchvision`।
  • LLM tools: `langchain`, `llama-index`, `vllm`, `axolotl`।
  • MLOps: `mlflow`, `wandb-client`, `dvc`, `bentoml`।
  • Data: `pandas`, `polars`, `duckdb`।
  • Small but active project — easier first PR।

First PR Strategy

  • Issue label খুঁজো: `good first issue`, `help wanted`, `documentation`।
  • Doc typo / example fix — সবচেয়ে কম friction।
  • Test add — coverage বাড়ালে maintainer খুশি।
  • Bug reproduction first → তারপর fix।
  • Big PR এর আগে issue তে discuss করো।

Standard Workflow

git-flow
# 1. Fork on GitHub, then:
git clone https://github.com/<you>/transformers.git
cd transformers
git remote add upstream https://github.com/huggingface/transformers.git

# 2. Branch
git checkout -b fix/typo-in-trainer-doc

# 3. Setup + run tests
pip install -e ".[dev]"
pytest tests/trainer -q

# 4. Commit (signed-off style)
git commit -m "docs(trainer): fix typo in mixed_precision section"

# 5. Push & open PR
git push origin fix/typo-in-trainer-doc

Good PR Checklist

  • একটা PR = একটা concern।
  • Linked issue (`Fixes #1234`)।
  • Description: what + why + how + screenshot/test।
  • Test included (regression prevention)।
  • Linter + formatter pass (project এর tool)।
  • Commit message convention (Conventional Commits)।
  • CI green before requesting review।

Code Review এর সংস্কৃতি

  • Review = attack নয়, learning।
  • Maintainer busy — ১–২ সপ্তাহ wait normal।
  • Polite ping চলে, demand চলে না।
  • Feedback এ defend না — try করে দেখো।
  • Merge না হলেও — learning কখনো wasted না।

PR এর বাইরে Contribution

  • Issue triage — reproduce, label, close stale।
  • Documentation site improvement।
  • Tutorial / blog post / video।
  • Translation (i18n) — Bangla docs huge gap।
  • Discord/forum এ নতুনদের সাহায্য।
  • Conference talk / lightning demo।

License Basics

  • MIT / Apache-2.0 — permissive, commercial ok।
  • GPL / AGPL — copyleft, derivative ও open হতে হবে।
  • Model license: Llama community, Apache, OpenRAIL — পড়ে নাও।
  • Contribution এর আগে CLA / DCO sign করতে হতে পারে।

Summary

এক নজরে

Open-source = portfolio + mentor + network। Doc/test থেকে শুরু, ছোট PR দিয়ে trust বানাও। PR quality > PR count। Code এর বাইরেও contribute এর হাজার পথ।