| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:d12c86a0-ae4f-39d7-198e-dc380021c6e3 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | AA04:4712:A1F6E:D2AE9:6B028374 |
| html-safe-nonce | 2c8c3b6d66091ee678325c4dfe76c7a25413c6cef10e080ad194290c8952679c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTA0OjQ3MTI6QTFGNkU6RDJBRTk6NkIwMjgzNzQiLCJ2aXNpdG9yX2lkIjoiNTk0MDcwODY3ODY4MzQ5MzIzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4c7fb09e51bf1d589d9a853c3b43b54ef5566464e20378b25ad387677e0f7f16 |
| hovercard-subject-tag | repository:312958329 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/yucongo/Read_Bert_Code |
| twitter:image | https://opengraph.githubassets.com/917b51f42e6cae64ff9df732b4d5297db3adbedd487667f995f5b28576d9817b/yucongo/Read_Bert_Code |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/917b51f42e6cae64ff9df732b4d5297db3adbedd487667f995f5b28576d9817b/yucongo/Read_Bert_Code |
| og:image:alt | Bert源码阅读与讲解(Pytorch版本). Contribute to yucongo/Read_Bert_Code development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/yucongo/Read_Bert_Code git https://github.com/yucongo/Read_Bert_Code.git |
| octolytics-dimension-user_id | 16970614 |
| octolytics-dimension-user_login | yucongo |
| octolytics-dimension-repository_id | 312958329 |
| octolytics-dimension-repository_nwo | yucongo/Read_Bert_Code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 271521343 |
| octolytics-dimension-repository_parent_nwo | DA-southampton/Read_Bert_Code |
| octolytics-dimension-repository_network_root_id | 271521343 |
| octolytics-dimension-repository_network_root_nwo | DA-southampton/Read_Bert_Code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/yucongo/Read_Bert_Code#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fyucongo%2FRead_Bert_Code |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fyucongo%2FRead_Bert_Code |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=yucongo%2FRead_Bert_Code |
| Reload | https://github.com/yucongo/Read_Bert_Code |
| Reload | https://github.com/yucongo/Read_Bert_Code |
| Reload | https://github.com/yucongo/Read_Bert_Code |
| yucongo | https://github.com/yucongo |
| Read_Bert_Code | https://github.com/yucongo/Read_Bert_Code |
| Code | https://github.com/yucongo/Read_Bert_Code |
| Pull requests | https://github.com/yucongo/Read_Bert_Code/pulls |
| Actions | https://github.com/yucongo/Read_Bert_Code/actions |
| Projects | https://github.com/yucongo/Read_Bert_Code/projects |
| Security and quality | https://github.com/yucongo/Read_Bert_Code/security |
| Insights | https://github.com/yucongo/Read_Bert_Code/pulse |
| https://github.com/yucongo/Read_Bert_Code |
| Read_Bert_Code | https://github.com/yucongo/Read_Bert_Code |
| DA-southampton/Read_Bert_Code | https://github.com/DA-southampton/Read_Bert_Code |
| Notifications | https://github.com/login?return_to=%2Fyucongo%2FRead_Bert_Code |
| Fork0 (0) | https://github.com/login?return_to=%2Fyucongo%2FRead_Bert_Code |
| Star0 (0) | https://github.com/login?return_to=%2Fyucongo%2FRead_Bert_Code |
| Readme | https://github.com/yucongo/Read_Bert_Code#readme-ov-file |
| Activity | https://github.com/yucongo/Read_Bert_Code/activity |
| 0 forks | https://github.com/yucongo/Read_Bert_Code/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fyucongo%2FRead_Bert_Code&report=yucongo+%28user%29 |
| Branches | https://github.com/yucongo/Read_Bert_Code/branches |
| Tags | https://github.com/yucongo/Read_Bert_Code/tags |
| https://github.com/yucongo/Read_Bert_Code/branches |
| https://github.com/yucongo/Read_Bert_Code/tags |
| 10 Commits | https://github.com/yucongo/Read_Bert_Code/commits/master/ |
| https://github.com/yucongo/Read_Bert_Code/commits/master/ |
| bert_read_step_to_step | https://github.com/yucongo/Read_Bert_Code/tree/master/bert_read_step_to_step |
| bert_read_step_to_step | https://github.com/yucongo/Read_Bert_Code/tree/master/bert_read_step_to_step |
| convert_tf_to_pytorch | https://github.com/yucongo/Read_Bert_Code/tree/master/convert_tf_to_pytorch |
| convert_tf_to_pytorch | https://github.com/yucongo/Read_Bert_Code/tree/master/convert_tf_to_pytorch |
| .DS_Store | https://github.com/yucongo/Read_Bert_Code/blob/master/.DS_Store |
| .DS_Store | https://github.com/yucongo/Read_Bert_Code/blob/master/.DS_Store |
| README.md | https://github.com/yucongo/Read_Bert_Code/blob/master/README.md |
| README.md | https://github.com/yucongo/Read_Bert_Code/blob/master/README.md |
| README | https://github.com/yucongo/Read_Bert_Code |
| https://github.com/yucongo/Read_Bert_Code#bert源代码解读 |
| https://github.com/yucongo/Read_Bert_Code#代码和数据介绍 |
| 仓库 | https://github.com/ChineseGLUE/ChineseGLUE/tree/master/baselines/models_pytorch/classifier_pytorch |
| https://github.com/yucongo/Read_Bert_Code#准备预训练模型 |
| 这里 | https://storage.googleapis.com/bert_models/2018_11_03/chinese_L-12_H-768_A-12.zip |
| https://github.com/yucongo/Read_Bert_Code#准备文本分类训练数据 |
| 这里 | https://github.com/ChineseGLUE/ChineseGLUE/tree/master/baselines/models_pytorch/classifier_pytorch/chineseGLUEdatasets |
| https://github.com/yucongo/Read_Bert_Code#1main函数进入 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L522 |
| https://github.com/yucongo/Read_Bert_Code#2解析命令行参数 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L333 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L413 |
| https://github.com/yucongo/Read_Bert_Code#3判断一些情况 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L414 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L448 |
| https://github.com/yucongo/Read_Bert_Code#4获取任务对应processor |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L449 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/processors/glue.py#L376 |
| https://github.com/yucongo/Read_Bert_Code#41-tnewsprocessor |
| https://github.com/yucongo/Read_Bert_Code#5加载预训练模型 |
| https://github.com/yucongo/Read_Bert_Code#6训练模型-也是最重要的部分 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L472 |
| https://github.com/yucongo/Read_Bert_Code#61-加载训练集 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L274 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L297 |
| 这里 | https://github.com/DA-southampton/Read_Bert_Code/blob/7e3c619aef9e462ec8865cde75c7a0ff2aefe60f/bert_read_step_to_step/run_classifier.py#L303 |
| https://github.com/yucongo/Read_Bert_Code#62-训练模型-train函数 |
| https://github.com/yucongo/Read_Bert_Code#621-常规操作 |
| https://github.com/yucongo/Read_Bert_Code#622-bert分类模型bertforsequenceclassification |
| https://github.com/yucongo/Read_Bert_Code#6211-bertmodel |
| https://github.com/yucongo/Read_Bert_Code#62111-bertencoder |
| Readme | https://github.com/yucongo/Read_Bert_Code#readme-ov-file |
| Activity | https://github.com/yucongo/Read_Bert_Code/activity |
| 0 forks | https://github.com/yucongo/Read_Bert_Code/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fyucongo%2FRead_Bert_Code&report=yucongo+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |