{"id":26401,"name":"llms-from-scratch","description":null,"url":"https://github.com/ua-datalab/llms-from-scratch","last_synced_at":"2025-09-05T03:12:22.922Z","repository":{"id":267207929,"uuid":"900528897","full_name":"ua-datalab/LLMs-from-scratch","owner":"ua-datalab","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-09T02:24:04.000Z","size":13853,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T12:59:49.328Z","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/ua-datalab.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-09T01:24:30.000Z","updated_at":"2025-04-11T17:55:38.000Z","dependencies_parsed_at":"2024-12-10T04:16:10.401Z","dependency_job_id":null,"html_url":"https://github.com/ua-datalab/LLMs-from-scratch","commit_stats":null,"previous_names":["ua-datalab/llms-from-scratch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ua-datalab/LLMs-from-scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2FLLMs-from-scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2FLLMs-from-scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2FLLMs-from-scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2FLLMs-from-scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ua-datalab","download_url":"https://codeload.github.com/ua-datalab/LLMs-from-scratch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2FLLMs-from-scratch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273704145,"owners_count":25153100,"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-05T02:00:09.113Z","response_time":402,"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":"ua-datalab","name":"University of Arizona Data Lab ","uuid":"144956636","kind":"organization","description":"The University of Arizona Data Science Lab @ Data Science Institute ","email":null,"website":"https://github.com/clizarraga-UAD7/DataScienceLab/wiki","location":"United States of America","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/144956636?v=4","repositories_count":1,"last_synced_at":"2023-09-28T23:22:40.207Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ua-datalab","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-09-28T23:22:40.219Z","updated_at":"2023-09-28T23:22:40.219Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ua-datalab","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ua-datalab/repositories"},"packages":[],"commits":{"message":"Repository syncing started."},"issues_stats":{"full_name":"ua-datalab/llms-from-scratch","html_url":"https://github.com/ua-datalab/llms-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-05T03:11:17.101Z","updated_at":"2025-09-05T03:11:17.101Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2Fllms-from-scratch","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ua-datalab%2Fllms-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-05T00:00:10.444Z","repositories_count":10083752,"issues_count":31254324,"pull_requests_count":96222393,"authors_count":10694625,"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":{"WatchEvent":1,"MemberEvent":3,"PublicEvent":1,"PushEvent":2,"GollumEvent":16,"CreateEvent":1},"last_year":{"WatchEvent":1,"MemberEvent":3,"PublicEvent":1,"PushEvent":2,"GollumEvent":16,"CreateEvent":1}},"keywords":[],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/basic-tests-linux.yml","sha":null,"kind":"manifest","created_at":"2024-12-09T03:24:36.015Z","updated_at":"2024-12-09T03:24:36.015Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/basic-tests-linux.yml","dependencies":[{"id":21091249700,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091249701,"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-09T03:24:36.422Z","updated_at":"2024-12-09T03:24:36.422Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/basic-tests-macos.yml","dependencies":[{"id":21091249782,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091249783,"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-09T03:24:36.907Z","updated_at":"2024-12-09T03:24:36.907Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/basic-tests-old-pytorch.yml","dependencies":[{"id":21091249812,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091249813,"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-09T03:24:37.213Z","updated_at":"2024-12-09T03:24:37.213Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/basic-tests-windows.yml","dependencies":[{"id":21091249830,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091249831,"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-09T03:24:37.668Z","updated_at":"2024-12-09T03:24:37.668Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/check-links.yml","dependencies":[{"id":21091250482,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091250483,"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-09T03:24:38.117Z","updated_at":"2024-12-09T03:24:38.117Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/check-spelling-errors.yml","dependencies":[{"id":21091250541,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091250542,"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-09T03:24:38.348Z","updated_at":"2024-12-09T03:24:38.348Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/.github/workflows/pep8-linter.yml","dependencies":[{"id":21091250555,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":21091250556,"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-09T03:24:38.797Z","updated_at":"2024-12-09T03:24:38.797Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/setup/03_optional-docker-environment/.devcontainer/Dockerfile","dependencies":[{"id":21091250579,"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-09T03:24:41.469Z","updated_at":"2024-12-09T03:24:41.469Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch02/02_bonus_bytepair-encoder/requirements-extra.txt","dependencies":[{"id":21091250818,"package_name":"requests","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":21091250819,"package_name":"tqdm","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":21091250820,"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-09T03:24:41.837Z","updated_at":"2024-12-09T03:24:41.837Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch04/02_performance-analysis/requirements-extra.txt","dependencies":[{"id":21091250855,"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-09T03:24:42.027Z","updated_at":"2024-12-09T03:24:42.027Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch05/06_user_interface/requirements-extra.txt","dependencies":[{"id":21091250862,"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-09T03:24:42.379Z","updated_at":"2024-12-09T03:24:42.379Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch05/07_gpt_to_llama/requirements-extra.txt","dependencies":[{"id":21091251121,"package_name":"blobfile","ecosystem":"pypi","requirements":"\u003e=3.0.0","direct":true,"kind":"runtime","optional":false},{"id":21091251122,"package_name":"huggingface_hub","ecosystem":"pypi","requirements":"\u003e=0.24.7","direct":true,"kind":"runtime","optional":false},{"id":21091253113,"package_name":"ipywidgets","ecosystem":"pypi","requirements":"\u003e=8.1.2","direct":true,"kind":"runtime","optional":false},{"id":21091253114,"package_name":"safetensors","ecosystem":"pypi","requirements":"\u003e=0.4.4","direct":true,"kind":"runtime","optional":false},{"id":21091253115,"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-09T03:24:43.983Z","updated_at":"2024-12-09T03:24:43.983Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch05/07_gpt_to_llama/tests/test-requirements-extra.txt","dependencies":[{"id":21091253696,"package_name":"pytest","ecosystem":"pypi","requirements":"\u003e=8.1.1","direct":true,"kind":"test","optional":false},{"id":21091253697,"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-09T03:24:45.379Z","updated_at":"2024-12-09T03:24:45.379Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch06/03_bonus_imdb-classification/requirements-extra.txt","dependencies":[{"id":21091253705,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.33.2","direct":true,"kind":"runtime","optional":false},{"id":21091253706,"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-09T03:24:46.021Z","updated_at":"2024-12-09T03:24:46.021Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch06/04_user_interface/requirements-extra.txt","dependencies":[{"id":21091253939,"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-09T03:24:46.283Z","updated_at":"2024-12-09T03:24:46.283Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch07/02_dataset-utilities/requirements-extra.txt","dependencies":[{"id":21091254098,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=1.30.3","direct":true,"kind":"runtime","optional":false},{"id":21091254099,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=1.3.1","direct":true,"kind":"runtime","optional":false},{"id":21091254100,"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-09T03:24:46.585Z","updated_at":"2024-12-09T03:24:46.585Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch07/03_model-evaluation/requirements-extra.txt","dependencies":[{"id":21091254121,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=1.30.3","direct":true,"kind":"runtime","optional":false},{"id":21091254122,"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-09T03:24:46.951Z","updated_at":"2024-12-09T03:24:46.951Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch07/05_dataset-generation/requirements-extra.txt","dependencies":[{"id":21091254305,"package_name":"openai","ecosystem":"pypi","requirements":"\u003e=1.30.3","direct":true,"kind":"runtime","optional":false},{"id":21091254306,"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-09T03:24:47.495Z","updated_at":"2024-12-09T03:24:47.495Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/ch07/06_user_interface/requirements-extra.txt","dependencies":[{"id":21091254900,"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-09T03:24:48.144Z","updated_at":"2024-12-09T03:24:48.144Z","repository_link":"https://github.com/ua-datalab/LLMs-from-scratch/blob/main/requirements.txt","dependencies":[{"id":21091255651,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=2.0.1","direct":true,"kind":"runtime","optional":false},{"id":21091255653,"package_name":"jupyterlab","ecosystem":"pypi","requirements":"\u003e=4.0","direct":true,"kind":"runtime","optional":false},{"id":21091255655,"package_name":"tiktoken","ecosystem":"pypi","requirements":"\u003e=0.5.1","direct":true,"kind":"runtime","optional":false},{"id":21091255658,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.7.1","direct":true,"kind":"runtime","optional":false},{"id":21091255661,"package_name":"tensorflow","ecosystem":"pypi","requirements":"\u003e=2.15.0","direct":true,"kind":"runtime","optional":false},{"id":21091255663,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.66.1","direct":true,"kind":"runtime","optional":false},{"id":21091255665,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.25,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":21091255666,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=2.2.1","direct":true,"kind":"runtime","optional":false},{"id":21091255667,"package_name":"psutil","ecosystem":"pypi","requirements":"\u003e=5.9.5","direct":true,"kind":"runtime","optional":false}]}],"score":null,"created_at":"2025-09-04T15:50:58.538Z","updated_at":"2025-10-07T08:11:52.847Z","avatar_url":"https://github.com/ua-datalab.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/26401","html_url":"https://science.ecosyste.ms/projects/26401","bibtex_url":"https://science.ecosyste.ms/projects/26401/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/26401/export.apalike"}