glyce icon indicating copy to clipboard operation
glyce copied to clipboard

Code for NeurIPS 2019 - Glyce: Glyph-vectors for Chinese Character Representations

Results 33 glyce issues
Sort by recently updated
recently updated
newest added

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...

dependencies

您找到了train.json文件吗?我这边运行的时候总是报错 _Originally posted by @Lirsakura in https://github.com/ShannonAI/glyce/issues/33#issuecomment-748718176_

请问Glyce 根据图训练出来的向量在哪啊?我看不太明白,论文不是采用了各个时期和各种书写版本吗?数据在哪里呀?需要自己下载吗?

直接执行lcqmc_bert.sh结果如下 ![image](https://user-images.githubusercontent.com/31238754/119425909-cffab900-bd3a-11eb-99f4-46ea3d243af1.png) 按照论文中先微调bert,再frozen bert训练田字格-CNN,最后两者一起训练,得出的结果还不如单纯bert高 调参后的bert结果 ![image](https://user-images.githubusercontent.com/31238754/119426069-28ca5180-bd3b-11eb-9057-76912677fe97.png) frozen bert训练田字格-CNN的结果: ![image](https://user-images.githubusercontent.com/31238754/119426143-43042f80-bd3b-11eb-9697-beb4a5065ee5.png) 两者一起训练结果: ![image](https://user-images.githubusercontent.com/31238754/119426183-5616ff80-bd3b-11eb-9a6d-8ca3a884152d.png) 除了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",...