Closed alphamupsiomega closed 6 years ago
The same issue also arises just when modifying char_dim.
If you want to use your own char embeddings you should change the dimension of the mebeddings here https://github.com/minsangkim142/QANet/blob/f0c79cc93dc1dfdad2bc8abb712a53d078814a56/config.py#L82
And you have to re-run python config.py --mode prepro
Thanks!
When trying to set the "pretrained_char" as True, the is a tensor reshape size conflict.
Error is from model.py line 76, below. How can the reshape dimensions be adjusted?
Error: