wyu-du / ARCII-for-Matching-Natural-Language-Sentences

A simple Keras implementation of ARC-II model proposed by paper "Convolutional Neural Network Architectures for Matching Natural Language Sentences"
25 stars 10 forks source link

layer1_input #3

Open LymanBin opened 5 years ago

LymanBin commented 5 years ago

If the batch size is 128, then q_embed is the features of the 128 questions after the 'word embedding', and d_embed is the features of the 128 responses. After the concatenate function, it is not the corresponding two-sentence connection, So the first layer of input is how to perform one-dimensional convolution? I don't understand this very well. Can you explain it?

yaoguangzi commented 1 year ago

The paper says the q_embed and d_embed will interact with each other deeply by one-dimensional convolution. However, it seems that the code can not realize this idea. Could the author explain it?