Skip to content

Commit 048615a

Browse files
prakashpandey9localminimum
authored andcommitted
Update params.py (#31)
1 parent 2201691 commit 048615a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# R-NET: MACHINE READING COMPREHENSION WITH SELF MATCHING NETWORKS
22

33
Tensorflow implementation of https://www.microsoft.com/en-us/research/wp-content/uploads/2017/05/r-net.pdf
4-
![Alt text](/../demo/screenshots/demo.gif?)
4+
![Alt text](/../dev/screenshots/architecture.png?raw=true "R-NET")
55

66
The dataset used for this task is Stanford Question Answering Dataset (https://rajpurkar.github.io/SQuAD-explorer/). Pretrained GloVe embeddings are used for both words (https://nlp.stanford.edu/projects/glove/) and characters (https://github.com/minimaxir/char-embeddings/blob/master/glove.840B.300d-char.txt).
77

params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Params():
4040
max_p_len = 300 # Maximum number of words in each passage context
4141
max_q_len = 30 # Maximum number of words in each question context
4242
max_char_len = 16 # Maximum number of characters in a word
43-
vocab_size = 91604 # Number of vocabs in glove.840B.300d.txt + 1 for an unknown token
43+
vocab_size = 91605 # Number of vocabs in glove.840B.300d.txt + 1 for an unknown token
4444
char_vocab_size = 95 # Number of characters in glove.840B.300d.char.txt + 1 for an unknown character
4545
emb_size = 300 # Embeddings size for words
4646
char_emb_size = 8 # Embeddings size for characters

0 commit comments

Comments
 (0)