glyce
glyce copied to clipboard
Code for NeurIPS 2019 - Glyce: Glyph-vectors for Chinese Character Representations
Has successfully installed requirements, but get errors when going word-embedding as follow; glyce_embedding = CharGlyceEmbedding(glyce_config) File "/home/jyx/projects/glyce/glyce/layers/char_glyph_embedding.py", line 65, in __init__ self.char_embedding = nn.Embedding(len(self.config.idx2char), self.config.char_embsize) # (4452, 13, 13) TypeError:...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.0.0 to 9.0.1. Release notes Sourced from pillow's releases. 9.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html Changes In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [@radarhere, @hugovk] Restrict builtins within...
您找到了train.json文件吗?我这边运行的时候总是报错 _Originally posted by @Lirsakura in https://github.com/ShannonAI/glyce/issues/33#issuecomment-748718176_
无法复现论文效果
reademe 不是很清晰
请问Glyce 根据图训练出来的向量在哪啊?我看不太明白,论文不是采用了各个时期和各种书写版本吗?数据在哪里呀?需要自己下载吗?
直接执行lcqmc_bert.sh结果如下  按照论文中先微调bert,再frozen bert训练田字格-CNN,最后两者一起训练,得出的结果还不如单纯bert高 调参后的bert结果  frozen bert训练田字格-CNN的结果:  两者一起训练结果:  除了bert经过了调参所有参数均是源码中的参数
can you tell me Where is `train.json` `FileNotFoundError: [Errno 2] No such file or directory: '/data/bq/train.json'`
您好,我下载了bq数据集,设置了数据集路径,为什么会报这样的错,是需要数据预处理吗 ```python input_file /home/lrr/workspace/glyce_datset/sent_pair/bq/train.json Traceback (most recent call last): File "/home/lrr/workspace/glyce/glyce/bin/run_bert_glyce_classifier.py", line 388, in main() File "/home/lrr/workspace/glyce/glyce/bin/run_bert_glyce_classifier.py", line 380, in main train_loader, dev_loader, test_loader, num_train_steps, label_list = load_data(config) File "/home/lrr/workspace/glyce/glyce/bin/run_bert_glyce_classifier.py",...