{"id":124387,"url":"https://github.com/datawhalechina/llms-from-scratch-cn","last_synced_at":"2026-06-15T18:01:51.555Z","repository":{"id":224964955,"uuid":"764508158","full_name":"datawhalechina/llms-from-scratch-cn","owner":"datawhalechina","description":"仅需Python基础，从0构建大语言模型；从0逐步构建GLM4\\Llama3\\RWKV6， 深入理解大模型原理","archived":false,"fork":false,"pushed_at":"2026-03-26T04:32:32.000Z","size":41833,"stargazers_count":4172,"open_issues_count":14,"forks_count":574,"subscribers_count":37,"default_branch":"main","last_synced_at":"2026-05-26T12:00:11.656Z","etag":null,"topics":["glm","llama","llm","llms-from-scratch","rwkv"],"latest_commit_sha":null,"homepage":"","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/datawhalechina.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":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-28T07:50:52.000Z","updated_at":"2026-05-26T07:59:57.000Z","dependencies_parsed_at":"2024-02-28T16:47:02.223Z","dependency_job_id":"2fd2c3ed-03b3-4c3b-83dd-5b03b2588a16","html_url":"https://github.com/datawhalechina/llms-from-scratch-cn","commit_stats":{"total_commits":109,"total_committers":29,"mean_commits":"3.7586206896551726","dds":0.8348623853211009,"last_synced_commit":"65cc17a68c4cfab395dc7b39017f89bb953ddb1a"},"previous_names":["datawhalechina/llms-from-scratch-cn"],"tags_count":0,"template":false,"template_full_name":"datawhalechina/repo-template","purl":"pkg:github/datawhalechina/llms-from-scratch-cn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datawhalechina","download_url":"https://codeload.github.com/datawhalechina/llms-from-scratch-cn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34206492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":"datawhalechina","name":"Datawhale","uuid":"46047812","kind":"organization","description":"for the learner，和学习者一起成长","email":null,"website":"http://datawhale.cn","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/46047812?v=4","repositories_count":143,"last_synced_at":"2025-04-05T01:33:15.991Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/datawhalechina","funding_links":[],"total_stars":139125,"followers":13501,"following":0,"created_at":"2022-11-14T05:59:38.141Z","updated_at":"2025-04-05T01:33:15.991Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datawhalechina","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datawhalechina/repositories"},"packages":[],"commits":{"id":1639898,"full_name":"datawhalechina/llms-from-scratch-cn","default_branch":"main","total_commits":111,"total_committers":26,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":4.269230769230769,"dds":0.7117117117117118,"past_year_total_commits":2,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":2.0,"past_year_dds":0.0,"last_synced_at":"2026-03-30T04:07:07.611Z","last_synced_commit":"6ca2631b3d61cde3f067dd8a1426285db9760e59","created_at":"2024-07-25T15:32:26.489Z","updated_at":"2026-03-30T04:05:37.639Z","committers":[{"name":"kewei","email":"2512235663@qq.com","login":"Ethan-Chen-plus","count":32},{"name":"Beyondzjl","email":"84648701+Beyondzjl","login":"Beyondzjl","count":8},{"name":"Pr04Ark","email":"emanonunbekannt@foxmail.com","login":"Pr04Ark","count":7},{"name":"gaoliye","email":"gaoliye@zhihu.com","login":null,"count":6},{"name":"Wang Haoyu","email":"mailwhaoyu@gmail.com","login":"WangHaoyuuu","count":6},{"name":"jianuo","email":"jianuo@e.gzhu.edu.cn","login":"Tangent-90C","count":6},{"name":"DingYue","email":"dysh370@163.com","login":"dingyue772","count":6},{"name":"SamanthaTso","email":"samanthatso91@gmail.com","login":"SamanthaTso","count":4},{"name":"jwu049","email":"wujin905@live.com","login":"jwu049","count":4},{"name":"xzw","email":"62385492+aJupyter","login":"aJupyter","count":4},{"name":"Aria F","email":"51890782+ariafyy","login":"ariafyy","count":3},{"name":"Tsumugii24","email":"2792474059@qq.com","login":"Tsumugii24","count":3},{"name":"Youngton","email":"axyzdong@gmail.com","login":"AXYZdong","count":3},{"name":"morcake","email":"morcake@126.com","login":"morcake","count":3},{"name":"kjq_glb","email":"jkan0031@student.monash.edu","login":"jodie-kang","count":2},{"name":"mlw67","email":"maolinw67@gmail.com","login":"mlw67","count":2},{"name":"yy","email":"310484121@qq.com","login":"0-yy-0","count":2},{"name":"whitevenus","email":"j1908386454@gmail.com","login":null,"count":2},{"name":")s","email":"sm1les@qq.com","login":"Sm1les","count":1},{"name":"Puppet","email":"63888590@qq.com","login":"Weihong-Liu","count":1},{"name":"Rj222","email":"rj.z.gaga@gmail.com","login":"Rj222","count":1},{"name":"graility","email":"68503534+graility","login":"graility","count":1},{"name":"prime234","email":"cyilohzhang@icloud.com","login":"prime234","count":1},{"name":"logan","email":"loganzou0421@163.com","login":null,"count":1},{"name":"ajupyter","email":"ajupyter.163.com","login":null,"count":1},{"name":"sunhanyu","email":"458599247@qq.com","login":"sunhanyu714","count":1}],"past_year_committers":[{"name":"Ethan-Chen-Plus","email":"2512235663@qq.com","login":"Ethan-Chen-plus","count":2}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-06-11T00:00:09.886Z","repositories_count":6255171,"commits_count":881898966,"contributors_count":35050162,"owners_count":1164574,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues":{"table":{"full_name":"datawhalechina/llms-from-scratch-cn","html_url":"https://github.com/datawhalechina/llms-from-scratch-cn","last_synced_at":"2025-10-14T17:59:50.753Z","status":"active","issues_count":14,"pull_requests_count":79,"avg_time_to_close_issue":97.0,"avg_time_to_close_pull_request":344072.20547945204,"issues_closed_count":1,"pull_requests_closed_count":73,"pull_request_authors_count":25,"issue_authors_count":13,"avg_comments_per_issue":0.5,"avg_comments_per_pull_request":0.16455696202531644,"merged_pull_requests_count":67,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":7,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":10090149.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":7,"past_year_avg_comments_per_issue":0.2857142857142857,"past_year_avg_comments_per_pull_request":1.5,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2024-07-25T15:32:57.690Z","updated_at":"2025-10-14T17:59:50.753Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/datawhalechina%2Fllms-from-scratch-cn/issues","issue_labels_count":{"table":{}},"pull_request_labels_count":{"table":{}},"issue_author_associations_count":{"table":{"NONE":14}},"pull_request_author_associations_count":{"table":{"CONTRIBUTOR":51,"NONE":28}},"issue_authors":{"table":{"GLaStu":2,"hongwen2023":1,"yushengjiexy":1,"qvq-ovo":1,"hlxs-c":1,"ocean-shine":1,"lewis56654281":1,"felix1982":1,"yutu233":1,"Intelligence-Manifesto":1,"3186218763":1,"NekoMonad":1,"976213951":1}},"pull_request_authors":{"table":{"Ethan-Chen-plus":12,"Tangent-90C":7,"0-yy-0":7,"Pr04Ark":5,"dingyue772":4,"morcake":4,"Rj222":4,"whitevenus":3,"aJupyter":3,"logan-zou":2,"graility":2,"find3kan0":2,"prime234":2,"sunhanyu714":2,"ariafyy":2,"Weihong-Liu":2,"PoisonBOx":2,"Beyondzjl":2,"mlw67":2,"Tsumugii24":2,"jodie-kang":2,"SamanthaTso":2,"WangHaoyuuu":2,"jwu049":1,"AXYZdong":1}},"host":{"table":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-01-19T00:00:07.941Z","repositories_count":12817398,"issues_count":35583843,"pull_requests_count":115898131,"authors_count":11115741,"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":{"table":{}},"past_year_pull_request_labels_count":{"table":{}},"past_year_issue_author_associations_count":{"table":{"NONE":2}},"past_year_pull_request_author_associations_count":{"table":{"NONE":2}},"past_year_issue_authors":{"table":{"qvq-ovo":1,"yushengjiexy":1}},"past_year_pull_request_authors":{"table":{"find3kan0":2}},"maintainers":[],"active_maintainers":[]}},"events":{"total":{"IssuesEvent":5,"WatchEvent":2080,"IssueCommentEvent":9,"PullRequestEvent":2,"ForkEvent":279},"last_year":{"IssuesEvent":5,"WatchEvent":2080,"IssueCommentEvent":9,"PullRequestEvent":2,"ForkEvent":279}},"keywords":["glm","llama","llm","llms-from-scratch","rwkv"],"dependencies":[{"ecosystem":"pypi","filepath":"appendix-A/02_installing-python-libraries/.ipynb_checkpoints/requirements-checkpoint.txt","sha":null,"kind":"manifest","created_at":"2024-02-28T16:46:58.993Z","updated_at":"2024-02-28T16:46:58.993Z","repository_link":"https://github.com/datawhalechina/llms-from-scratch-cn/blob/main/appendix-A/02_installing-python-libraries/.ipynb_checkpoints/requirements-checkpoint.txt","dependencies":[{"id":16503038246,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.24.3","direct":true,"kind":"runtime","optional":false},{"id":16503038247,"package_name":"scipy","ecosystem":"pypi","requirements":"\u003e=1.10.1","direct":true,"kind":"runtime","optional":false},{"id":16503038248,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=2.0.2","direct":true,"kind":"runtime","optional":false},{"id":16503038249,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.7.1","direct":true,"kind":"runtime","optional":false},{"id":16503038250,"package_name":"jupyterlab","ecosystem":"pypi","requirements":"\u003e=4.0","direct":true,"kind":"runtime","optional":false},{"id":16503038251,"package_name":"watermark","ecosystem":"pypi","requirements":"\u003e=2.4.2","direct":true,"kind":"runtime","optional":false},{"id":16503038569,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=2.0.1","direct":true,"kind":"runtime","optional":false},{"id":16503038570,"package_name":"tiktoken","ecosystem":"pypi","requirements":"\u003e=0.5.1","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"appendix-A/02_installing-python-libraries/requirements.txt","sha":null,"kind":"manifest","created_at":"2024-02-28T16:47:01.834Z","updated_at":"2024-02-28T16:47:01.834Z","repository_link":"https://github.com/datawhalechina/llms-from-scratch-cn/blob/main/appendix-A/02_installing-python-libraries/requirements.txt","dependencies":[{"id":16503038574,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.24.3","direct":true,"kind":"runtime","optional":false},{"id":16503038575,"package_name":"scipy","ecosystem":"pypi","requirements":"\u003e=1.10.1","direct":true,"kind":"runtime","optional":false},{"id":16503038576,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=2.0.2","direct":true,"kind":"runtime","optional":false},{"id":16503038577,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.7.1","direct":true,"kind":"runtime","optional":false},{"id":16503038578,"package_name":"jupyterlab","ecosystem":"pypi","requirements":"\u003e=4.0","direct":true,"kind":"runtime","optional":false},{"id":16503038579,"package_name":"watermark","ecosystem":"pypi","requirements":"\u003e=2.4.2","direct":true,"kind":"runtime","optional":false},{"id":16503038580,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=2.0.1","direct":true,"kind":"runtime","optional":false},{"id":16503038581,"package_name":"tiktoken","ecosystem":"pypi","requirements":"\u003e=0.5.1","direct":true,"kind":"runtime","optional":false}]}],"score":11.597597441027427,"created_at":"2024-07-25T15:26:10.256Z","updated_at":"2026-06-15T18:01:51.555Z","avatar_url":"https://github.com/datawhalechina.png","language":"Jupyter Notebook","codemeta":null,"publiccode":null,"project_url":"https://summary.ecosyste.ms/api/v1/projects/124387","html_url":"https://summary.ecosyste.ms/projects/124387"}