https://github.com/bethgelab/citeme

CiteME is a benchmark designed to test the abilities of language models in finding papers that are cited in scientific texts.

https://github.com/bethgelab/citeme

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.1%) to scientific vocabulary

Keywords

citation-attribution citation-dataset lm-evaluation
Last synced: 10 months ago · JSON representation

Repository

CiteME is a benchmark designed to test the abilities of language models in finding papers that are cited in scientific texts.

Basic Info
  • Host: GitHub
  • Owner: bethgelab
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage: https://citeme.ai
  • Size: 283 KB
Statistics
  • Stars: 35
  • Watchers: 10
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Topics
citation-attribution citation-dataset lm-evaluation
Created about 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

citeme.ai

Website  |   Dataset  |   Paper

CiteME is a benchmark designed to test the abilities of language models in finding papers that are cited in scientific texts.

🚀 Get Started

Dataset

The hand curated version of the dataset can be found on citeme.ai.
It contains following columns: - id: A unique id that is used in all our experiments to reference a specific paper. - excerpt: The text excerpt describing the target paper. - target_paper_title: The title of the paper described by the excerpt. - target_paper_url: The URL to the paper described by the excerpt. - source_paper_title: The title of the paper the excerpt was taken from. - source_paper_url: The URL to the paper the excerpt was taken from. - year: The year the source paper was published. - split: Indicates if the sample is from the train or test split.

CiteAgent

Environment variables

CiteAgent requires following environment variables to function properly: - S2_API_KEY: Your semantic scholar api key - OPENAI_API_KEY: Your openai api key (for gpt-4 models) - ANTHROPIC_API_KEY: Your anthropic api key (for claude models) - TOGETHER_API_KEY: Your together api key (for llama models)

Run

  1. Install the required python packages listed in the requirements.txt. pip install -r requirements.txt

  2. Download the dataset from citeme.ai and place it in the project folder as DATASET.csv.

  3. Run the main.py file. python src/main.py

Configuration

To modify the run parameters open src/main.py and update the metadata dict.

To run different models adjust the model entry (e.g. gpt-4o, claude-3-opus-20240229 or meta-llama/Llama-3-70b-chat-hf).

To run the agent without actions change the executor from LLMSelfAskAgentPydantic to LLMNoSearch and adjust the prompt_name to a *_no_search prompt.

📚Citation

If you find our work helpful, please use the following citation:

@inproceedings{press2024citeme, title={Cite{ME}: Can Language Models Accurately Cite Scientific Claims?}, author={Press, Ori and Hochlehnert, Andreas and Prabhu, Ameya and Udandarao, Vishaal and Press, Ofir and Bethge, Matthias}, booktitle={The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track}, year={2024} }

🪪 License

Code: MIT. Check LICENSE. Dataset: CC-BY-4.0. Check LICENSE_DATASET.

Owner

  • Name: Bethge Lab
  • Login: bethgelab
  • Kind: organization
  • Location: Tübingen

Perceiving Neural Networks

GitHub Events

Total
  • Watch event: 9
  • Delete event: 1
  • Push event: 5
  • Fork event: 1
  • Create event: 1
Last Year
  • Watch event: 9
  • Delete event: 1
  • Push event: 5
  • Fork event: 1
  • Create event: 1

Dependencies

requirements.txt pypi
  • PyPDF2 *
  • langchain *
  • langchain-anthropic *
  • langchain-openai *
  • langchain-together *
  • pydantic *
  • rich *
  • selenium *