Comments (2)
Hello, sorry for the late reply. Basically we use padding value because the length of slates in some LTR datasets can vary, in other words there can be no fixed length for all the slates. Therefore to feed the model we need an input tensor consisting of all the slates padded to the length of the longest slate (see fix_length_to_longest_slate function). Further, when calculating loss functions or metrics we need an information about padding value to omit those examples which were created during the padding procedure.
You should set the PADDED_Y_VALUE
to a number which does not occur in labels of your dataset.
Hope it helped!
Regards,
Mikołaj
from allrank.
Thank you so much for your reply! It helps a lot!
from allrank.
Related Issues (20)
- How to integrat with regular pytorch models HOT 1
- How to run "run_example.sh" HOT 3
- Which loss functions are suitable for sentence ordering? HOT 1
- Transformer implementation seemingly not corresponding to paper HOT 3
- Location of loss functions?? HOT 2
- Forward vs Backward Slash in Path definition HOT 3
- AssertionError: val ndcg_5 got 0.7586661577224731. It was expected to be at least 0.76 HOT 2
- Getting started without Docker HOT 1
- How to get predictions from the model? HOT 5
- How to use your own dataset? HOT 2
- How to get predictions for each observation or row in my data. HOT 7
- Whats the expected input to the losses and metrics? HOT 1
- How to produce predictions? HOT 9
- How to produce predictions?
- How to get prediction score HOT 3
- My experiments consistently underperform in comparison to the paper's reported results. HOT 2
- Any sources for the click model based relabeling mentioned in the readme HOT 2
- RuntimeError Numpy not available HOT 1
- Embeddings
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 allrank.