Comments (4)
And i want to ask what's the meaning of function "entity_replace" in read_data.py ? ( in KVR data's)
from mem2seq.
Could you tell me how to get the initial query vector q0 please? I learned from the code that it's using a random initial vector, is it right? Or why didn't use the last user's utterance as the query vector?
thanks a lot !
from mem2seq.
Hi,
useKB is a flag to choose whether to put or not the KB in the input. It is actually a sanity check for our experiments since some responses cannot be produced without KB.
entity_replace is used to make as a single token the entity appearing in the text
Yes the initial vector is zero by design. Actually is a good idea to put the encoded embedding of the last user utterance. The problem is that sometimes the last token is so maybe not the best choice.
Andrea
from mem2seq.
Hi,
useKB is a flag to choose whether to put or not the KB in the input. It is actually a sanity check for our experiments since some responses cannot be produced without KB.
entity_replace is used to make as a single token the entity appearing in the text
Yes the initial vector is zero by design. Actually is a good idea to put the encoded embedding of the last user utterance. The problem is that sometimes the last token is so maybe not the best choice.
Andrea
Thank you very much !
from mem2seq.
Related Issues (20)
- Why add $$$$ after each English sentence? HOT 1
- Code fails on evaluation for kvr HOT 7
- Can I run this code on pytorch 0.4 now? HOT 2
- What operating system is installed on your computer? HOT 1
- when i run PTRUNK, i got an error HOT 3
- why use the nn.Embedding rather than something pre-trained HOT 1
- ptr_UNK network failed. HOT 1
- i'm confusing about p_ptr variable in ptrMemDecoder function in decoder? HOT 1
- Data loading reverse KB entry HOT 1
- ERROR When running HOT 8
- Pre-processing questions HOT 1
- About import HOT 3
- about version of environment HOT 1
- Question about the predicted reply from trained model
- The meaning of comments in the code.
- Entity F1 without KB HOT 1
- question about function get_state?
- Project dependencies may have API risk issues
- acc_avg and wer_avg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mem2seq.