CS224n
CS224n copied to clipboard
求问Assignment3的问题
在q2_rnn.py 中的Config里面
n_word_features = 2 # Number of features for every word in the input.
这个feature是什么feature?每个word用两个feature来表示是什么意思。。。想了好久都没有想通。。。
在后面做embedding的时候发现这个feature也不是word——embedding的length。。
Returns: embeddings: tf.Tensor of shape (None, max_length, n_features*embed_size)
谢谢大神。。
每个单词有两个feature,一个是Word Embedding,一个是Case Embedding,see:https://github.com/hankcs/CS224n/blob/master/assignment3/data_util.py#L45
但是如何理解这个Case Embedding, 它的作用是什么。。