GithubHelp home page GithubHelp logo

sportsmetrics's Introduction

SportsMetrics

Benchmark data to evaluate numerical reasoning and information fusion of LLMs.

SportsMetrics: Blending Text and Numerical Data to Understand Information Fusion in LLMs
Yebowen Hu, Kaiqiang Song, Sangwoo Cho, Xiaoyang Wang, Hassan Foroosh, Dong Yu, Fei Liu
In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL'24), Bangkok, Thailand.
Arxiv Paper

Usage of Benchmark

  1. Select the task from data/
  2. Import GeneralTaskLoader from sportsmetrics.py
from sportsmetrics import GeneralTaskLoader

batch_size = False # by default
if not batch_size:
    # load the task instance one by one
    for i in task.iter_instance():
        yiled i['system_message'], i['user_message']
else:
    # load the task instance by batch
    for i in task.iter_batch(batch_size):
        yiled i['system_message'], i['user_message']

Instance from TaskLoader

{
    "id": str,
    "system_message": str,
    "user_message": str,
    "ground_truth": dict()
}

Benchmark Tasks

The LLM is mandatorily required to generate responses in JSON format.

Reasoning Task

  • reasoning-team_points_tracking: Tracking team points in one match.
  • reasoning-key_stats_tracking: Tracking the key statistics for sports analytics.

Conflicts Task

  • conflict-one_point_rule: All scoring actions in the competition are set to be worth only one point.
  • conflict-swap_{num}_players: Swap {num} of spalyer between two teams.

Robustness Task

  • robustness-duplicate_{prob}: Replicate the non-scoring move with a probability of {prob}.
  • robustness-remove_{prob}: Remove the non-scoring move with a probability of {prob}.
  • robustness-shuffled_pbp: Shuffle the order of all moves in play-by-play descriptions while maintain the original order of timestamps.
  • robustness-{num}_fiction_names: Randomly select {num} of players from both teams and replace them with names from fiction movies.

Bibtex

@misc{hu2024sportsmetricsblendingtextnumerical,
      title={SportsMetrics: Blending Text and Numerical Data to Understand Information Fusion in LLMs}, 
      author={Yebowen Hu and Kaiqiang Song and Sangwoo Cho and Xiaoyang Wang and Hassan Foroosh and Dong Yu and Fei Liu},
      year={2024},
      eprint={2402.10979},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2402.10979}, 
}

sportsmetrics's People

Contributors

yebowenhu avatar

Watchers

 avatar

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.