OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Llmrank

LLMRank is an open-source Python research implementation for evaluating large language models as zero-shot ranking models in recommender systems. It formats sequential user interaction histories and retrieved candidate items as natural-language instructions, then evaluates the model’s ranking output.

Independent OpenViST project profile, based on linked sources.

Llmrank — Reproducing the documented ML-1M ChatGPT evaluation
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use LLMRank when you want a code-based research workflow for evaluating LLM ranking of retrieved recommendation candidates, rather than a hosted recommendation service.

Who it is for

  • Researchers reproducing zero-shot recommender-ranking experiments
  • Developers prototyping personalized ranking from interaction histories and candidate items
  • Practitioners studying prompt effects, position bias and popularity bias in LLM rankings

Documented uses

  • Evaluate ChatGPT’s zero-shot ranking ability on the ML-1M dataset
  • Reproduce experiments on whether prompts help models interpret interaction-history order
  • Study position and popularity bias in LLM-based rankings
Before you choose

Requirements & limits

The documented ChatGPT evaluation requires an OpenAI API key. The repository lists an MIT license.

  • The quick-start example evaluates ChatGPT on ML-1M.
  • The workflow requires interaction-history and candidate-item data formatted into natural-language instructions.
  • The repository includes experiments on history order, position bias and popularity bias.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up and run the ML-1M ranking evaluation

Follow the repository’s quick-start path to evaluate ChatGPT’s zero-shot ranking on ML-1M.

Before you start

  • An OpenAI API key
  • The repository and its Python dependencies
  • The ML-1M interaction dataset files

Steps

  1. Write the OpenAI API key into llmrank/openai_api.yaml.

  2. Unzip the ML-1M interaction file in llmrank/dataset/ml-1m/.

  3. Install dependencies with pip install -r requirements.txt.

  4. From llmrank/, run python evaluate.py -m Rank.

Expected outcome

Runs the documented ChatGPT zero-shot ranking evaluation on the ML-1M dataset.

Guide limitations

  • The guide covers the repository’s documented ML-1M quick start only.
  • An OpenAI API key is required for this evaluation.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
RUCAIBox/LLMRank · Official homepage title · retained in its source language