8 Commits (cccc1bfd57e1ec05fbb997346cf54e906837b399)

Author SHA1 Message Date
  Yige Xu fccb6d9b1b add __init__.py in test dir to solve file conflicts. 6 years ago
  Yige Xu d15ad75d96 fix a bug in test code 6 years ago
  yh 1994029ab8 1.当前支持的encoding_type都支持从tag_vocab中自动判断;避免触发无意识导致的metric bug; 2. 修复部分inplace操作无法求导的问题; 3.Vocabulary将一些属性通过property暴露 6 years ago
  Yige Xu 4440801dbf 1. update bert.py and fix a bug in bert_embedding to adapt torch 1.2.0; 2. update models/bert.py and add BertForSentenceMatching model, now a BertEmbedding param should be passed to these five models; 3. create a small bert version for testing and modify test/models/test_bert.py; 4. move small glove and word2vec files to data_for_tests/embedding/small_static_embedding dir and fix relevant test codes; 5. delete some __init__.py files in test dir. 6 years ago
  yh 3ae383efc3 修复BertEmbedding中长度会额外加长的bug 6 years ago
  yh_cc 2f5d8967a3 1. 适配将Batch修改为pytorch的DataLoader的修改 6 years ago
  ChenXin 881ce01762
Dev0.4.0 (#149) 6 years ago
  yh 897c43fc3b 1. CRF增加constrain, 用于限制跃迁,比如BMES中B不能跃迁到S 6 years ago