Example to run listNet
sahilm1992 opened this issue · 3 comments
sahilm1992 commented
Is there any example on how to run the ListNet module?
sahilm1992 commented
Also is the code of Listnet correct?
sadaharu-inugami commented
The code of Listnet is correct, it is a vanilla implementation of the formula (2) in the paper Learning to Rank: From Pairwise Approach to Listwise Approach.
As for the example, you could modify the local config scripts/local_config.json
and run the example script scripts/run_in_docker.sh
, remembering about building the docker image first (docker build -t allrank:latest .
from the main directory). The modification could limit just to changing the loss
section from
"loss": {
"name": "ordinal",
"args": {
}
}
to
"loss": {
"name": "listNet",
"args": {
}
}
sahilm1992 commented
Thank you :)
…On Mon, 2 Aug 2021, 23:23 Radosław Białobrzeski, ***@***.***> wrote:
The code of Listnet is correct, it is a vanilla implementation of the
formula (2) in the paper Learning to Rank: From Pairwise Approach to
Listwise Approach
<https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-2007-40.pdf>
.
As for the example, you could modify the local config
scripts/local_config.json and run the example script
scripts/run_in_docker.sh, remembering about building the docker image
first (docker build -t allrank:latest . from the main directory).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#38 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHWVPK3AKLYRLHXSSWZJMTT23LQTANCNFSM5BF6NVEA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.