{"id":24976170,"url":"https://github.com/bpesquet/pytorch-tutorial","last_synced_at":"2025-04-19T13:50:30.961Z","repository":{"id":274400168,"uuid":"912881564","full_name":"bpesquet/pytorch-tutorial","owner":"bpesquet","description":"Concise and annotated examples for learning the basics of PyTorch","archived":false,"fork":false,"pushed_at":"2025-04-14T13:33:48.000Z","size":828,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T14:49:44.109Z","etag":null,"topics":["pytorch","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpesquet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-06T15:31:08.000Z","updated_at":"2025-04-14T13:33:52.000Z","dependencies_parsed_at":"2025-01-27T04:32:06.277Z","dependency_job_id":"2ca7adb0-268b-47f4-bb2a-5d3d98fa010f","html_url":"https://github.com/bpesquet/pytorch-tutorial","commit_stats":null,"previous_names":["bpesquet/pytorch-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpesquet%2Fpytorch-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpesquet%2Fpytorch-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpesquet%2Fpytorch-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpesquet%2Fpytorch-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpesquet","download_url":"https://codeload.github.com/bpesquet/pytorch-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249707548,"owners_count":21313870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pytorch","tutorial"],"created_at":"2025-02-03T21:59:44.445Z","updated_at":"2025-04-19T13:50:30.941Z","avatar_url":"https://github.com/bpesquet.png","language":"Python","readme":"# (Yet another) PyTorch Tutorial\n\n![Dynamic TOML Badge: Python](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fbpesquet%2Fpytorch-tutorial%2Frefs%2Fheads%2Fmain%2Fpyproject.toml\u0026query=%24.tool.poetry.dependencies.python\u0026logo=python\u0026logoColor=white\u0026logoSize=auto\u0026label=Python\u0026labelColor=%233776AB\u0026color=black)\n![Dynamic TOML Badge: PyTorch](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fbpesquet%2Fpytorch-tutorial%2Frefs%2Fheads%2Fmain%2Fpyproject.toml\u0026query=%24.tool.poetry.dependencies.torch\u0026logo=pytorch\u0026logoColor=white\u0026logoSize=auto\u0026label=PyTorch\u0026labelColor=%23EE4C2C\u0026color=black)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bpesquet/pytorch-tutorial/ci.yaml)\n\nThis repository provides concise and annotated examples for learning the basics of [PyTorch](https://pytorch.org).\n\n\u003e [About this project](ABOUT.md)\n\n## Table of Contents\n\n- [Fundamentals](pytorch_tutorial/fundamentals/)\n- [Linear Regression](pytorch_tutorial/linear_regression/)\n- [Logistic Regression](pytorch_tutorial/logistic_regression/)\n- [MultiLayer Perceptron](pytorch_tutorial/multilayer_perceptron/)\n- [Convolutional Neural Network](pytorch_tutorial/convolutional_neural_network/)\n- ... (more to come)\n\n## Usage\n\n```bash\ngit clone https://github.com/bpesquet/pytorch-tutorial.git\ncd pytorch-tutorial\npoetry install\npython {path to Python example file}\n```\n\n## Development notes\n\n### Toolchain\n\nThis project is built with the following software:\n\n- [Poetry](https://python-poetry.org/) for dependency management;\n- [Black](https://github.com/psf/black) for code formatting;\n- [Pylint](https://github.com/pylint-dev/pylint) to detect mistakes in the codebase;\n- [pytest](https://docs.pytest.org) for testing examples;\n- a [GitHub Action](.github/workflows/ci.yaml) for validating the code upon each push;\n- [Marp](https://marp.app/) for showcasing `README` files as slideshows during lectures or labs.\n\n### Useful commands\n\n```bash\n# Reformat all Python files\nblack .\n\n# Check the codebase for mistakes\npylint pytorch_tutorial/*\n\n# Run all code examples as unit tests\n# The optional -s flag prints code output\npytest [-s]\n```\n\n## License\n\n[Creative Commons](LICENSE) for textual content and [MIT](CODE_LICENSE) for code.\n\nCopyright © 2025-present [Baptiste Pesquet](https://bpesquet.fr).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpesquet%2Fpytorch-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpesquet%2Fpytorch-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpesquet%2Fpytorch-tutorial/lists"}