{"id":13535302,"url":"https://github.com/pengming617/bert_textMatching","last_synced_at":"2025-04-02T00:33:11.540Z","repository":{"id":202215685,"uuid":"175361988","full_name":"pengming617/bert_textMatching","owner":"pengming617","description":"利用预训练的中文模型实现基于bert的语义匹配模型  数据集为LCQMC官方数据","archived":false,"fork":false,"pushed_at":"2019-12-19T06:23:17.000Z","size":6570,"stargazers_count":193,"open_issues_count":8,"forks_count":54,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-02T23:32:49.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pengming617.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-13T06:42:22.000Z","updated_at":"2024-09-25T09:55:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"fce4a415-5e83-47e6-b5d5-773b7512f6f1","html_url":"https://github.com/pengming617/bert_textMatching","commit_stats":null,"previous_names":["pengming617/bert_textmatching"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengming617%2Fbert_textMatching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengming617%2Fbert_textMatching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengming617%2Fbert_textMatching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengming617%2Fbert_textMatching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pengming617","download_url":"https://codeload.github.com/pengming617/bert_textMatching/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246735358,"owners_count":20825222,"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":[],"created_at":"2024-08-01T08:00:53.074Z","updated_at":"2025-04-02T00:33:11.196Z","avatar_url":"https://github.com/pengming617.png","language":"Python","readme":"利用bert预训练的中文语言模型进行文本匹配\n\n训练脚本 train.sh\n\n批量测试脚本 predict.sh\n\n利用模型进行单条语句测试 intent.py\n\nchinese_L-12_H-768_A-12为预训练的相关模型和词典\n\ndata文件夹中为训练语料，验证语料，测试语料 数据集为LCQMC官方数据\n\n\n参数说明：\nmax_seq_length  sentence的最大长度（字）\ntrain_batch_size  batch_size的大小\n\nmax_seq_length = 50\neval_accuracy = 0.87207\ntest_accuracy = 0.86272\n\nmax_seq_length = 40\neval_accuracy = 0.88093615\ntest_accuracy = 0.86256\n","funding_links":[],"categories":["BERT Text Match:"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengming617%2Fbert_textMatching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpengming617%2Fbert_textMatching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengming617%2Fbert_textMatching/lists"}