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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### Example user template template
|
2 |
+
### Example user template
|
3 |
+
|
4 |
+
# IntelliJ project files
|
5 |
+
.idea
|
6 |
+
*.iml
|
7 |
+
out
|
8 |
+
gen
|
9 |
+
### JetBrains template
|
10 |
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
11 |
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
12 |
+
|
13 |
+
# User-specific stuff
|
14 |
+
.idea/**/workspace.xml
|
15 |
+
.idea/**/tasks.xml
|
16 |
+
.idea/**/usage.statistics.xml
|
17 |
+
.idea/**/dictionaries
|
18 |
+
.idea/**/shelf
|
19 |
+
|
20 |
+
# Generated files
|
21 |
+
.idea/**/contentModel.xml
|
22 |
+
|
23 |
+
# Sensitive or high-churn files
|
24 |
+
.idea/**/dataSources/
|
25 |
+
.idea/**/dataSources.ids
|
26 |
+
.idea/**/dataSources.local.xml
|
27 |
+
.idea/**/sqlDataSources.xml
|
28 |
+
.idea/**/dynamic.xml
|
29 |
+
.idea/**/uiDesigner.xml
|
30 |
+
.idea/**/dbnavigator.xml
|
31 |
+
|
32 |
+
# Gradle
|
33 |
+
.idea/**/gradle.xml
|
34 |
+
.idea/**/libraries
|
35 |
+
|
36 |
+
# Gradle and Maven with auto-import
|
37 |
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
38 |
+
# since they will be recreated, and may cause churn. Uncomment if using
|
39 |
+
# auto-import.
|
40 |
+
# .idea/artifacts
|
41 |
+
# .idea/compiler.xml
|
42 |
+
# .idea/jarRepositories.xml
|
43 |
+
# .idea/modules.xml
|
44 |
+
# .idea/*.iml
|
45 |
+
# .idea/modules
|
46 |
+
# *.iml
|
47 |
+
# *.ipr
|
48 |
+
|
49 |
+
# CMake
|
50 |
+
cmake-build-*/
|
51 |
+
|
52 |
+
# Mongo Explorer plugin
|
53 |
+
.idea/**/mongoSettings.xml
|
54 |
+
|
55 |
+
# File-based project format
|
56 |
+
*.iws
|
57 |
+
|
58 |
+
# IntelliJ
|
59 |
+
out/
|
60 |
+
|
61 |
+
# mpeltonen/sbt-idea plugin
|
62 |
+
.idea_modules/
|
63 |
+
|
64 |
+
# JIRA plugin
|
65 |
+
atlassian-ide-plugin.xml
|
66 |
+
|
67 |
+
# Cursive Clojure plugin
|
68 |
+
.idea/replstate.xml
|
69 |
+
|
70 |
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
71 |
+
com_crashlytics_export_strings.xml
|
72 |
+
crashlytics.properties
|
73 |
+
crashlytics-build.properties
|
74 |
+
fabric.properties
|
75 |
+
|
76 |
+
# Editor-based Rest Client
|
77 |
+
.idea/httpRequests
|
78 |
+
|
79 |
+
# Android studio 3.1+ serialized cache file
|
80 |
+
.idea/caches/build_file_checksums.ser
|
81 |
+
|
82 |
+
### macOS template
|
83 |
+
# General
|
84 |
+
.DS_Store
|
85 |
+
.AppleDouble
|
86 |
+
.LSOverride
|
87 |
+
|
88 |
+
# Icon must end with two \r
|
89 |
+
Icon
|
90 |
+
|
91 |
+
# Thumbnails
|
92 |
+
._*
|
93 |
+
|
94 |
+
# Files that might appear in the root of a volume
|
95 |
+
.DocumentRevisions-V100
|
96 |
+
.fseventsd
|
97 |
+
.Spotlight-V100
|
98 |
+
.TemporaryItems
|
99 |
+
.Trashes
|
100 |
+
.VolumeIcon.icns
|
101 |
+
.com.apple.timemachine.donotpresent
|
102 |
+
|
103 |
+
# Directories potentially created on remote AFP share
|
104 |
+
.AppleDB
|
105 |
+
.AppleDesktop
|
106 |
+
Network Trash Folder
|
107 |
+
Temporary Items
|
108 |
+
.apdisk
|
109 |
+
|
110 |
+
### Python template
|
111 |
+
# Byte-compiled / optimized / DLL files
|
112 |
+
__pycache__/
|
113 |
+
*.py[cod]
|
114 |
+
*$py.class
|
115 |
+
|
116 |
+
# C extensions
|
117 |
+
*.so
|
118 |
+
|
119 |
+
# Distribution / packaging
|
120 |
+
.Python
|
121 |
+
build/
|
122 |
+
develop-eggs/
|
123 |
+
dist/
|
124 |
+
downloads/
|
125 |
+
eggs/
|
126 |
+
.eggs/
|
127 |
+
lib/
|
128 |
+
lib64/
|
129 |
+
parts/
|
130 |
+
sdist/
|
131 |
+
var/
|
132 |
+
wheels/
|
133 |
+
share/python-wheels/
|
134 |
+
*.egg-info/
|
135 |
+
.installed.cfg
|
136 |
+
*.egg
|
137 |
+
MANIFEST
|
138 |
+
|
139 |
+
# PyInstaller
|
140 |
+
# Usually these files are written by a python script from a template
|
141 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
142 |
+
*.manifest
|
143 |
+
*.spec
|
144 |
+
|
145 |
+
# Installer logs
|
146 |
+
pip-log.txt
|
147 |
+
pip-delete-this-directory.txt
|
148 |
+
|
149 |
+
# Unit test / coverage reports
|
150 |
+
htmlcov/
|
151 |
+
.tox/
|
152 |
+
.nox/
|
153 |
+
.coverage
|
154 |
+
.coverage.*
|
155 |
+
.cache
|
156 |
+
nosetests.xml
|
157 |
+
coverage.xml
|
158 |
+
*.cover
|
159 |
+
*.py,cover
|
160 |
+
.hypothesis/
|
161 |
+
.pytest_cache/
|
162 |
+
cover/
|
163 |
+
|
164 |
+
# Translations
|
165 |
+
*.mo
|
166 |
+
*.pot
|
167 |
+
|
168 |
+
# Django stuff:
|
169 |
+
*.log
|
170 |
+
local_settings.py
|
171 |
+
db.sqlite3
|
172 |
+
db.sqlite3-journal
|
173 |
+
|
174 |
+
# Flask stuff:
|
175 |
+
instance/
|
176 |
+
.webassets-cache
|
177 |
+
|
178 |
+
# Scrapy stuff:
|
179 |
+
.scrapy
|
180 |
+
|
181 |
+
# Sphinx documentation
|
182 |
+
docs/_build/
|
183 |
+
|
184 |
+
# PyBuilder
|
185 |
+
.pybuilder/
|
186 |
+
target/
|
187 |
+
|
188 |
+
# Jupyter Notebook
|
189 |
+
.ipynb_checkpoints
|
190 |
+
|
191 |
+
# IPython
|
192 |
+
profile_default/
|
193 |
+
ipython_config.py
|
194 |
+
|
195 |
+
# pyenv
|
196 |
+
# For a library or package, you might want to ignore these files since the code is
|
197 |
+
# intended to run in multiple environments; otherwise, check them in:
|
198 |
+
# .python-version
|
199 |
+
|
200 |
+
# pipenv
|
201 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
202 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
203 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
204 |
+
# install all needed dependencies.
|
205 |
+
#Pipfile.lock
|
206 |
+
|
207 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
208 |
+
__pypackages__/
|
209 |
+
|
210 |
+
# Celery stuff
|
211 |
+
celerybeat-schedule
|
212 |
+
celerybeat.pid
|
213 |
+
|
214 |
+
# SageMath parsed files
|
215 |
+
*.sage.py
|
216 |
+
|
217 |
+
# Environments
|
218 |
+
.env
|
219 |
+
.venv
|
220 |
+
env/
|
221 |
+
venv/
|
222 |
+
ENV/
|
223 |
+
env.bak/
|
224 |
+
venv.bak/
|
225 |
+
|
226 |
+
# Spyder project settings
|
227 |
+
.spyderproject
|
228 |
+
.spyproject
|
229 |
+
|
230 |
+
# Rope project settings
|
231 |
+
.ropeproject
|
232 |
+
|
233 |
+
# mkdocs documentation
|
234 |
+
/site
|
235 |
+
|
236 |
+
# mypy
|
237 |
+
.mypy_cache/
|
238 |
+
.dmypy.json
|
239 |
+
dmypy.json
|
240 |
+
|
241 |
+
# Pyre type checker
|
242 |
+
.pyre/
|
243 |
+
|
244 |
+
# pytype static type analyzer
|
245 |
+
.pytype/
|
246 |
+
|
247 |
+
# Cython debug symbols
|
248 |
+
cython_debug/
|
249 |
+
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-chinese",
|
3 |
+
"architectures": [
|
4 |
+
"BertForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"directionality": "bidi",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"pooler_fc_size": 768,
|
21 |
+
"pooler_num_attention_heads": 12,
|
22 |
+
"pooler_num_fc_layers": 3,
|
23 |
+
"pooler_size_per_head": 128,
|
24 |
+
"pooler_type": "first_token_transform",
|
25 |
+
"type_vocab_size": 2,
|
26 |
+
"vocab_size": 21128
|
27 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6eef03608d416c91e36ad0ae4ec6e857ce836918c32357f18ca8f0486d863de
|
3 |
+
size 406800911
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "name_or_path": "bert-base-chinese"}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|