-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xml cnn #22
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sian-chen
commented
Apr 27, 2021
- Implement KimCNN, XMLCNN
- Remove get_network(), use model_name to get the network instead
- Allow setting weight initialization method
- Add config to log
- Allow fixed length (for dynamic max-pooling)
- Add config files for EUR-Lex
Eleven1Liu
requested changes
Apr 27, 2021
cjlin1
reviewed
Apr 27, 2021
cjlin1
reviewed
Apr 27, 2021
cjlin1
reviewed
Apr 27, 2021
cjlin1
reviewed
Apr 28, 2021
cjlin1
reviewed
Apr 28, 2021
cjlin1
reviewed
Apr 28, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
reviewed
Apr 29, 2021
cjlin1
previously approved these changes
Apr 29, 2021
On 2021-04-30 16:25, sianchen wrote:
Yes, you are right.. So please modify the comment to say the difference
you mentioned
… @sian-chen commented on this pull request.
-------------------------
In data_utils.py [1]:
> with open(config.vocab_file, 'r') as fp:
- vocab_list = ['**PAD**'] + [vocab.strip() for vocab in
fp.readlines()]
- vocabs = Vocab(collections.Counter(vocab_list),
specials=['<unk>'],
+ vocab_list = [PAD] + [vocab.strip() for vocab in
fp.readlines()]
Why we need this comment?
For the other case (vocab_file is not used), PAD is also put in the
beginning.
--
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2]. [ { ***@***.***": "http:https://schema.org", ***@***.***": "EmailMessage",
"potentialAction": { ***@***.***": "ViewAction", "target":
"#22 (comment)",
"url":
"#22 (comment)",
"name": "View Pull Request" }, "description": "View this Pull Request
on GitHub", "publisher": { ***@***.***": "Organization", "name": "GitHub",
"url": "https://github.com" } } ]
Links:
------
[1]
#22 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHXMCNSNQABGNGSIW5LTLJSONANCNFSM43T53ZIQ
|
cjlin1
reviewed
Apr 30, 2021
Eleven1Liu
approved these changes
Apr 30, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.