[pre-commit.ci] pre-commit autoupdate (#32)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v2.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v2.3.0...v4.4.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.280 → v0.0.290](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.280...v0.0.290)
- [github.com/psf/black: 22.12.0 → 23.9.1](https://github.com/psf/black/compare/22.12.0...23.9.1)
- [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](https://github.com/codespell-project/codespell/compare/v2.2.4...v2.2.5)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2023-09-19 10:21:34 +08:00
committed by GitHub
parent 4f7a3810cb
commit 592ff301b6
7 changed files with 14 additions and 14 deletions

View File

@@ -1,24 +1,24 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0 rev: v4.4.0
hooks: hooks:
- id: check-yaml - id: check-yaml
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.280 rev: v0.0.290
hooks: hooks:
- id: ruff - id: ruff
args: [ --fix ] args: [ --fix ]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.12.0 rev: 23.9.1
hooks: hooks:
- id: black - id: black
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.2.4 rev: v2.2.5
hooks: hooks:
- id: codespell - id: codespell
files: ^.*\.(py|md|rst|yml)$ files: ^.*\.(py|md|rst|yml)$

View File

@@ -13,7 +13,7 @@
[unused7] [unused7]
[unused8] [unused8]
[unused9] [unused9]
! !
" "
# #

View File

@@ -1,5 +1,5 @@
--- ---
language: language:
- zh - zh
tags: tags:
- bert - bert
@@ -9,9 +9,9 @@ license: "apache-2.0"
# Please use 'Bert' related functions to load this model! # Please use 'Bert' related functions to load this model!
## Chinese BERT with Whole Word Masking ## Chinese BERT with Whole Word Masking
For further accelerating Chinese natural language processing, we provide **Chinese pre-trained BERT with Whole Word Masking**. For further accelerating Chinese natural language processing, we provide **Chinese pre-trained BERT with Whole Word Masking**.
**[Pre-Training with Whole Word Masking for Chinese BERT](https://arxiv.org/abs/1906.08101)** **[Pre-Training with Whole Word Masking for Chinese BERT](https://arxiv.org/abs/1906.08101)**
Yiming Cui, Wanxiang Che, Ting Liu, Bing Qin, Ziqing Yang, Shijin Wang, Guoping Hu Yiming Cui, Wanxiang Che, Ting Liu, Bing Qin, Ziqing Yang, Shijin Wang, Guoping Hu
This repository is developed based onhttps://github.com/google-research/bert This repository is developed based onhttps://github.com/google-research/bert
@@ -46,7 +46,7 @@ If you find the technical report or resource is useful, please cite the followin
pages = "657--668", pages = "657--668",
} }
``` ```
- Secondary: https://arxiv.org/abs/1906.08101 - Secondary: https://arxiv.org/abs/1906.08101
``` ```
@article{chinese-bert-wwm, @article{chinese-bert-wwm,
title={Pre-Training with Whole Word Masking for Chinese BERT}, title={Pre-Training with Whole Word Masking for Chinese BERT},
@@ -54,4 +54,4 @@ If you find the technical report or resource is useful, please cite the followin
journal={arXiv preprint arXiv:1906.08101}, journal={arXiv preprint arXiv:1906.08101},
year={2019} year={2019}
} }
``` ```

View File

@@ -1 +1 @@
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"} {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"init_inputs": []} {"init_inputs": []}