Comments (2)
Hi, thank you for your interest in our paper!
This is a typical way to define QA loss in the literature, and it is unrelated to online adaptation. Specifically, we use teacher forcing, which is commonly used for autoregressive modeling (using the ground truth previous tokens to predict the next token). In the QA setup, it is using the previous answer token (and the question tokens) to predict the next answer token.
Also, note that this is used for the training stage, hence, there is no leakage in the online adaptation stage (we do not use the answer when adapting and generating the answer).
- https://github.com/jihoontack/MAC/blob/main/evals/qa_utils.py#L91
- This part generates the answer where we do not use the answer.
We are still refactoring and polishing the code, so if you have any bugs or issues, please let us know!
Thank you again for your interest.
Best,
Jihoon
from mac.
Thanks for your kind help. I have another question: what is the "lift_ratio" in the file config?
from mac.
Related Issues (2)
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 mac.