QANet-pytorch icon indicating copy to clipboard operation
QANet-pytorch copied to clipboard

A PyTorch implementation of QANet.

Results 6 QANet-pytorch issues
Sort by recently updated
recently updated
newest added

hey,hengruo! I've got a question to consult you~ char_dim = 64 #Embedding dimension for char In the paper of QANet, the auther stated ' Each character is represented as a...

Hey, could you please talk about the performance metrics of this pytorch implementation? Thanks

ValueError: could not convert string to float: 'bewildered'

Hi, @hengruo When I trained the model, I got an issue below: File "/XXX/QANet-pytorch-master/models.py", line 33, in __init__ self.pos_encoding = nn.Parameter(torch.sin(torch.add(torch.mul(pos, freqs), phases)), requires_grad=False) RuntimeError: Expected object of type torch.LongTensor...

It would really be nice, if someone can release partially / fully trained model checkpoints, so I can try restoring from that point, instead of starting from scratch, any plans...

I use the TiTan x GPU, but the GPU memory is growing rapidly, and after 3 batches, it went out of memory. I have check your code line by line,...