{"id":14834,"name":"llm-from-scratch","description":null,"url":"https://github.com/apearlearring/llm-from-scratch","last_synced_at":"2025-09-04T22:33:32.613Z","repository":{"id":269738402,"uuid":"906668936","full_name":"apearlearring/LLM-from-Scratch","owner":"apearlearring","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-21T15:09:12.000Z","size":11910,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T04:02:38.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/apearlearring.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-21T15:02:17.000Z","updated_at":"2024-12-21T15:10:13.000Z","dependencies_parsed_at":"2024-12-25T19:30:26.351Z","dependency_job_id":null,"html_url":"https://github.com/apearlearring/LLM-from-Scratch","commit_stats":null,"previous_names":["apearlearring/llm-from-scratch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apearlearring/LLM-from-Scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2FLLM-from-Scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2FLLM-from-Scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2FLLM-from-Scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2FLLM-from-Scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apearlearring","download_url":"https://codeload.github.com/apearlearring/LLM-from-Scratch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2FLLM-from-Scratch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273684696,"owners_count":25149717,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"}},"owner":{"login":"apearlearring","name":"Ward","uuid":"169622244","kind":"user","description":"A passionate Machine Learning Engineer with over 8 years of experience and a deep understanding of the entire machine learning lifecycle.","email":"","website":null,"location":"Muenster, TX","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/169622244?u=8b1fc1acf57a478bf4f641559ff5a00f34531814\u0026v=4","repositories_count":1,"last_synced_at":"2024-12-25T19:19:29.162Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/apearlearring","funding_links":[],"total_stars":0,"followers":8,"following":3,"created_at":"2024-12-25T19:19:29.184Z","updated_at":"2024-12-25T19:19:29.184Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apearlearring","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apearlearring/repositories"},"packages":[],"commits":{"message":"Repository syncing started."},"issues_stats":{"full_name":"apearlearring/llm-from-scratch","html_url":"https://github.com/apearlearring/llm-from-scratch","last_synced_at":null,"status":null,"issues_count":null,"pull_requests_count":null,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":null,"pull_requests_closed_count":null,"pull_request_authors_count":null,"issue_authors_count":null,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":null,"bot_issues_count":null,"bot_pull_requests_count":null,"past_year_issues_count":null,"past_year_pull_requests_count":null,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":null,"past_year_pull_requests_closed_count":null,"past_year_pull_request_authors_count":null,"past_year_issue_authors_count":null,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":null,"past_year_bot_pull_requests_count":null,"past_year_merged_pull_requests_count":null,"created_at":"2025-09-04T22:32:44.304Z","updated_at":"2025-09-04T22:32:44.304Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2Fllm-from-scratch","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/apearlearring%2Fllm-from-scratch/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{},"pull_request_author_associations_count":{},"issue_authors":{},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-04T00:00:25.939Z","repositories_count":10082573,"issues_count":31281971,"pull_requests_count":96192905,"authors_count":10694127,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{},"last_year":{}},"keywords":[],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/basic-tests-linux.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:22.583Z","updated_at":"2024-12-25T19:30:22.583Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/basic-tests-linux.yml","dependencies":[{"id":21277092431,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092432,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/basic-tests-macos.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:22.663Z","updated_at":"2024-12-25T19:30:22.663Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/basic-tests-macos.yml","dependencies":[{"id":21277092436,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092437,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/basic-tests-old-pytorch.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:22.732Z","updated_at":"2024-12-25T19:30:22.732Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/basic-tests-old-pytorch.yml","dependencies":[{"id":21277092441,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092442,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/basic-tests-windows.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:22.813Z","updated_at":"2024-12-25T19:30:22.813Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/basic-tests-windows.yml","dependencies":[{"id":21277092445,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092446,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/check-links.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:22.903Z","updated_at":"2024-12-25T19:30:22.903Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/check-links.yml","dependencies":[{"id":21277092450,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092451,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/check-spelling-errors.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:22.974Z","updated_at":"2024-12-25T19:30:22.974Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/check-spelling-errors.yml","dependencies":[{"id":21277092453,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092454,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/pep8-linter.yml","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:23.046Z","updated_at":"2024-12-25T19:30:23.046Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/.github/workflows/pep8-linter.yml","dependencies":[{"id":21277092458,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21277092459,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"docker","filepath":"setup/03_optional-docker-environment/.devcontainer/Dockerfile","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:23.118Z","updated_at":"2024-12-25T19:30:23.118Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/setup/03_optional-docker-environment/.devcontainer/Dockerfile","dependencies":[{"id":21277092464,"package_name":"pytorch/pytorch","ecosystem":"docker","requirements":"2.5.0-cuda12.4-cudnn9-runtime","direct":true,"kind":"build","optional":false}]},{"ecosystem":"pypi","filepath":"ch02/02_bonus_bytepair-encoder/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:24.047Z","updated_at":"2024-12-25T19:30:24.047Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch02/02_bonus_bytepair-encoder/requirements-extra.txt","dependencies":[{"id":21277092502,"package_name":"requests","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":21277092503,"package_name":"tqdm","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":21277092504,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.33.2","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch04/02_performance-analysis/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:24.116Z","updated_at":"2024-12-25T19:30:24.116Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch04/02_performance-analysis/requirements-extra.txt","dependencies":[{"id":21277092505,"package_name":"thop","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch05/06_user_interface/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:24.184Z","updated_at":"2024-12-25T19:30:24.184Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch05/06_user_interface/requirements-extra.txt","dependencies":[{"id":21277092507,"package_name":"chainlit","ecosystem":"pypi","requirements":"\u003e=1.2.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch05/07_gpt_to_llama/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:24.649Z","updated_at":"2024-12-25T19:30:24.649Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch05/07_gpt_to_llama/requirements-extra.txt","dependencies":[{"id":21277092528,"package_name":"blobfile","ecosystem":"pypi","requirements":"\u003e=3.0.0","direct":true,"kind":"runtime","optional":false},{"id":21277092551,"package_name":"huggingface_hub","ecosystem":"pypi","requirements":"\u003e=0.24.7","direct":true,"kind":"runtime","optional":false},{"id":21277092552,"package_name":"ipywidgets","ecosystem":"pypi","requirements":"\u003e=8.1.2","direct":true,"kind":"runtime","optional":false},{"id":21277092553,"package_name":"safetensors","ecosystem":"pypi","requirements":"\u003e=0.4.4","direct":true,"kind":"runtime","optional":false},{"id":21277092554,"package_name":"sentencepiece","ecosystem":"pypi","requirements":"\u003e=0.1.99","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch05/07_gpt_to_llama/tests/test-requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:25.583Z","updated_at":"2024-12-25T19:30:25.583Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch05/07_gpt_to_llama/tests/test-requirements-extra.txt","dependencies":[{"id":21277092556,"package_name":"pytest","ecosystem":"pypi","requirements":"\u003e=8.1.1","direct":true,"kind":"test","optional":false},{"id":21277092557,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.44.2","direct":true,"kind":"test","optional":false}]},{"ecosystem":"pypi","filepath":"ch06/03_bonus_imdb-classification/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:25.653Z","updated_at":"2024-12-25T19:30:25.653Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch06/03_bonus_imdb-classification/requirements-extra.txt","dependencies":[{"id":21277092566,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.33.2","direct":true,"kind":"runtime","optional":false},{"id":21277092567,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=1.3.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch06/04_user_interface/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:25.844Z","updated_at":"2024-12-25T19:30:25.844Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch06/04_user_interface/requirements-extra.txt","dependencies":[{"id":21277092568,"package_name":"chainlit","ecosystem":"pypi","requirements":"\u003e=1.2.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch07/02_dataset-utilities/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:25.957Z","updated_at":"2024-12-25T19:30:25.957Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch07/02_dataset-utilities/requirements-extra.txt","dependencies":[{"id":21277092570,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=1.30.3","direct":true,"kind":"runtime","optional":false},{"id":21277092571,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=1.3.1","direct":true,"kind":"runtime","optional":false},{"id":21277092572,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.65.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch07/03_model-evaluation/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:26.028Z","updated_at":"2024-12-25T19:30:26.028Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch07/03_model-evaluation/requirements-extra.txt","dependencies":[{"id":21277092573,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=1.30.3","direct":true,"kind":"runtime","optional":false},{"id":21277092574,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.65.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch07/05_dataset-generation/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:26.104Z","updated_at":"2024-12-25T19:30:26.104Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch07/05_dataset-generation/requirements-extra.txt","dependencies":[{"id":21277092575,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=1.30.3","direct":true,"kind":"runtime","optional":false},{"id":21277092576,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.65.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"ch07/06_user_interface/requirements-extra.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:26.181Z","updated_at":"2024-12-25T19:30:26.181Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/ch07/06_user_interface/requirements-extra.txt","dependencies":[{"id":21277092577,"package_name":"chainlit","ecosystem":"pypi","requirements":"\u003e=1.2.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2024-12-25T19:30:26.248Z","updated_at":"2024-12-25T19:30:26.248Z","repository_link":"https://github.com/apearlearring/LLM-from-Scratch/blob/main/requirements.txt","dependencies":[{"id":21277092578,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=2.0.1","direct":true,"kind":"runtime","optional":false},{"id":21277092579,"package_name":"jupyterlab","ecosystem":"pypi","requirements":"\u003e=4.0","direct":true,"kind":"runtime","optional":false},{"id":21277092580,"package_name":"tiktoken","ecosystem":"pypi","requirements":"\u003e=0.5.1","direct":true,"kind":"runtime","optional":false},{"id":21277092581,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.7.1","direct":true,"kind":"runtime","optional":false},{"id":21277092582,"package_name":"tensorflow","ecosystem":"pypi","requirements":"\u003e=2.15.0","direct":true,"kind":"runtime","optional":false},{"id":21277092583,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.66.1","direct":true,"kind":"runtime","optional":false},{"id":21277092584,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.25,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":21277092585,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=2.2.1","direct":true,"kind":"runtime","optional":false},{"id":21277092586,"package_name":"psutil","ecosystem":"pypi","requirements":"\u003e=5.9.5","direct":true,"kind":"runtime","optional":false}]}],"score":null,"created_at":"2025-09-04T15:50:45.662Z","updated_at":"2025-10-07T08:08:13.884Z","avatar_url":"https://github.com/apearlearring.png","language":"Jupyter Notebook","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/14834","html_url":"https://science.ecosyste.ms/projects/14834"}