Giter Site home page Giter Site logo

zhihu / serank Goto Github PK

View Code? Open in Web Editor NEW
50.0 12.0 6.0 188 KB

An efficient and effective learning to rank algorithm by mining information across ranking candidates. This repository contains the tensorflow implementation of SERank model. The code is developed based on TF-Ranking.

Home Page: https://arxiv.org/abs/2006.04084

License: MIT License

Shell 3.32% Python 96.68%
learning-to-rank dnn sequence-wise

serank's People

Contributors

fangkuann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

serank's Issues

problem about Recurrence experiment in Web30k

Hi, thx for your great job. but I have problem about recurrence experiment in web30k. I download the code, and change data to web30k, ndcg@5 of the last ckpt is only 0.409, which is 0.456 in paper.
I do not change serank.py. and the run_script is

DATA=/path-to-web30k/Fold1

output_dir=outputs
rm -r $output_dir
mkdir $output_dir

python serank.py \
  --train_path=$DATA/train.txt \
  --vali_path=$DATA/vali.txt \
  --test_path=$DATA/test.txt \
  --output_dir=$output_dir \
  --num_features=136 \
  --serank=True \
  --query_label_weight=True

tail of the train log is

I0322 18:19:51.462585 140648353728320 evaluation.py:276] Finished evaluation at 2021-03-22-18:19:51
INFO:tensorflow:Saving dict for global step 100000: global_step = 100000, labels_mean = 0.66818184, logits_mean = -0.27165264, loss = 258.99927, metric/arp = 38.71134, metric/ndcg@1 = 0.38938853, metric/ndcg@10 = 0.43623617, metric/ndcg@3 = 0.39571184, metric/ndcg@5 = 0.40858307, metric/ordered_pair_accuracy = 0.6484862
I0322 18:19:51.462839 140648353728320 estimator.py:2066] Saving dict for global step 100000: global_step = 100000, labels_mean = 0.66818184, logits_mean = -0.27165264, loss = 258.99927, metric/arp = 38.71134, metric/ndcg@1 = 0.38938853, metric/ndcg@10 = 0.43623617, metric/ndcg@3 = 0.39571184, metric/ndcg@5 = 0.40858307, metric/ordered_pair_accuracy = 0.6484862
INFO:tensorflow:Saving 'checkpoint_path' summary for global step 100000: outputs/model.ckpt-100000
I0322 18:19:51.463721 140648353728320 estimator.py:2127] Saving 'checkpoint_path' summary for global step 100000: outputs/model.ckpt-100000

thx for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.