Skip to content

Commit

Permalink
2021/9/19 1.修复每次训练最终未保存early-stopping模型的问题;2.仅对“受害人”、“犯罪嫌疑人”做context-…
Browse files Browse the repository at this point in the history
…aware增强,nezha-rdrop0.1-fgm1.0-aug_ctx0.15待提交;3.新增后处理规则,待提交校验。
  • Loading branch information
louishsu committed Sep 19, 2021
1 parent 4382565 commit 185a302
Show file tree
Hide file tree
Showing 4 changed files with 365 additions and 12 deletions.
8 changes: 7 additions & 1 deletion main_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ def main():
# n_splits = 5
# seed=42
# --------------------------
version = "nezha-rdrop0.1-fgm1.0-focalg2.0a0.25"
# version = "nezha-rdrop0.1-fgm1.0-focalg2.0a0.25"
# model_type = "nezha_span"
# dataset_name = "cail_ner"
# n_splits = 5
# seed=42
# --------------------------
version = "nezha-rdrop0.1-fgm1.0-aug_ctx0.15"
model_type = "nezha_span"
dataset_name = "cail_ner"
n_splits = 5
Expand Down
253 changes: 253 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
absl-py==0.13.0
aiohttp==3.7.4.post0
allennlp==2.6.0
anykeystore==0.2
apex @ file:///home/louishsu/Downloads/apex
argon2-cffi==20.1.0
astor==0.8.1
astunparse==1.6.3
async-generator==1.10
async-timeout==3.0.1
attrs==19.3.0
backcall==0.1.0
backports.csv==1.0.7
backports.functools-lru-cache==1.6.1
backports.tempfile==1.0
backports.weakref==1.0.post1
beautifulsoup4==4.9.3
bert-serving-client==1.10.0
bert-serving-server==1.10.0
bleach==3.1.5
blinker==1.4
blis==0.4.1
boto3==1.18.18
botocore==1.21.18
brotlipy==0.7.0
bs4==0.0.1
bz2file==0.98
cachetools==4.2.2
catalogue==2.0.4
certifi==2020.6.20
cffi==1.14.3
chardet==3.0.4
charset-normalizer==2.0.4
checklist==0.0.11
cheroot==8.5.2
CherryPy==18.6.1
click==7.1.2
configparser==5.0.2
coverage==5.5
cryptography==3.2.1
cycler==0.10.0
cymem==2.0.3
Cython==0.29.24
debugpy==1.4.1
decorator==4.4.2
defusedxml==0.6.0
dill==0.3.4
docker-pycreds==0.4.0
docutils==0.17.1
entrypoints==0.3
fastprogress==0.2.3
fasttext==0.9.2
feedparser==6.0.8
filelock==3.0.12
Flask==1.1.2
flatbuffers==1.12
fsspec==2021.7.0
funcsigs==1.0.2
future==0.18.2
gast==0.4.0
gensim==4.0.1
gitdb==4.0.7
GitPython==3.1.20
google-api-core==1.31.1
google-auth==1.34.0
google-auth-oauthlib==0.4.5
google-cloud-core==1.7.2
google-cloud-storage==1.41.1
google-crc32c==1.1.2
google-pasta==0.2.0
google-resumable-media==1.3.3
googleapis-common-protos==1.53.0
GPUtil==1.4.0
graphql-core==3.1.5
grpcio==1.34.1
h5py==3.1.0
huggingface-hub==0.0.12
idna==2.10
importlib-metadata==1.6.0
iniconfig==1.1.1
ipykernel==6.0.3
ipython==7.26.0
ipython-genutils==0.2.0
ipywidgets==7.6.3
iso-639==0.4.5
itsdangerous==2.0.1
jaraco.classes==3.2.1
jaraco.collections==3.4.0
jaraco.functools==3.3.0
jaraco.text==3.5.1
jedi==0.18.0
jieba==0.42.1
Jinja2==3.0.1
jmespath==0.9.5
joblib==0.14.1
JPype1==0.7.0
jsonnet==0.17.0
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.2.0
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
keras==2.6.0
Keras-Applications==1.0.8
keras-bert==0.88.0
keras-embed-sim==0.7.0
keras-layer-normalization==0.14.0
keras-multi-head==0.22.0
keras-nightly==2.5.0.dev2021032900
keras-pos-embd==0.11.0
keras-position-wise-feed-forward==0.6.0
Keras-Preprocessing==1.1.2
keras-self-attention==0.41.0
keras-transformer==0.33.0
kiwisolver==1.3.1
lightgbm==2.3.1
lmdb==1.2.1
lxml==4.6.3
Markdown==3.3.4
MarkupSafe==2.0.1
matplotlib==3.2.1
matplotlib-inline==0.1.2
mistune==0.8.4
more-itertools==8.8.0
multidict==5.1.0
munch==2.5.0
murmurhash==1.0.5
nbclient==0.5.3
nbconvert==6.1.0
nbformat==5.1.3
nest-asyncio==1.5.1
nltk==3.5
notebook==6.4.3
numexpr==2.7.1
numpy==1.19.5
oauthlib==3.1.1
opt-einsum==3.3.0
overrides==3.1.0
packaging==21.0
pandas==1.3.1
pandocfilters==1.4.3
parso==0.8.2
pathtools==0.1.2
pathy==0.6.0
patternfork-nosql==3.6
pbr==3.1.1
pdfminer.six==20201018
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.3.1
pluggy==0.13.1
portend==2.7.1
preshed==3.0.5
prometheus-client==0.11.0
promise==2.3
prompt-toolkit==3.0.19
protobuf==3.17.3
psutil==5.8.0
ptyprocess==0.7.0
py==1.10.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pybind11==2.7.1
pycosat==0.6.3
pycparser==2.20
pydantic==1.8.2
pyDeprecate==0.3.1
Pygments==2.9.0
pyhanlp==0.1.64
pyOpenSSL==19.1.0
pyparsing==2.4.7
pyrsistent==0.18.0
PySocks==1.7.1
pytest==6.2.4
python-crfsuite==0.9.7
python-dateutil==2.8.2
python-docx==0.8.11
pytorch-lightning==1.4.2
pytorch-pretrained-bert==0.6.2
pytorch-transformers==1.2.0
pytz==2021.1
PyYAML==5.4.1
pyzmq==22.2.1
qtconsole==5.1.1
QtPy==1.9.0
regex==2021.8.3
requests==2.24.0
requests-oauthlib==1.3.0
rsa==4.7.2
ruamel.yaml==0.15.87
s3transfer==0.5.0
sacremoses==0.0.45
scikit-learn==0.24.0
scikit-multilearn==0.2.0
scipy==1.7.1
Send2Trash==1.8.0
sentencepiece==0.1.96
sentry-sdk==1.3.1
seqeval==1.2.2
sgmllib3k==1.0.0
shortuuid==1.0.1
six==1.15.0
sklearn==0.0
sklearn-crfsuite==0.3.6
smart-open==5.1.0
smmap==4.0.0
sortedcontainers==2.4.0
soupsieve==2.2.1
spacy==3.0.7
spacy-legacy==3.0.8
srsly==2.4.1
subprocess32==3.5.4
tabulate==0.8.9
tempora==4.1.1
tensorboard==2.6.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.0
tensorboardX==2.4
tensorflow==2.5.0
tensorflow-estimator==2.5.0
termcolor==1.1.0
terminado==0.10.1
testpath==0.5.0
tflearn==0.3.2
Theano==1.0.4
thinc==8.0.8
threadpoolctl==2.2.0
tokenizers==0.10.3
toml==0.10.2
torch==1.9.0+cu111
torchaudio==0.9.0
torchmetrics==0.5.0
torchvision==0.10.0+cu111
tornado==6.1
tqdm==4.51.0
traitlets==5.0.5
transformers==4.8.2
typer==0.3.2
typing-extensions==3.7.4.3
urllib3==1.25.11
wandb==0.11.1
wasabi==0.8.2
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==2.0.1
widgetsnbextension==3.5.1
wrapt==1.12.1
xgboost==1.4.2
yarl==1.6.3
zc.lockfile==2.0
zipp==3.5.0
Loading

0 comments on commit 185a302

Please sign in to comment.