in-context-ralm logo

in-context-ralm

archived
AI21Labs/in-context-ralm

In-Context Retrieval-Augmented Language Models

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

40views this month

295 stars28 forksLast push Dec 20, 2023 Python Apache-2.0

Decision brief

in-context-ralm is a Python-based tool for reproducing experiments on WikiText-103 from AI21 Labs' paper on In-Context Retrieval-Augmented Language Models, leveraging Transformers and Pyserini libraries.

Good fit when

  • Use in-context-ralm when you need to reproduce experiments on WikiText-103 as detailed in AI21 Labs' paper.
  • Use it if you are working with retrieval-augmented language models and require integration with the Transformers and Pyserini libraries.

Avoid when

  • Do not use in-context-ralm if your project does not involve the WikiText-103 dataset or the specific language models tested in the AI21 Labs paper.
  • Avoid using this tool if you do not require the specific setup involving Pyserini for BM25 retrieval, as it necessitates Java 11 and setting the JAVA_HOME environment variable.
Requirements:
Min 8 GB RAM; Ensure Python 3.8 is installed.; Java 11 is required for BM25 preparation with Pyserini.; CUDA-specific Pytorch installation is recommended for optimal performance.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Archived (1003d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
82 low (82 low)
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install in-context-ralm
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Repository for reproducing experiments on WikiText-103 from AI21 Labs' paper on In-Context RALM, using Transformers and Pyserini libraries.

Capability facts

Languages
python

Source: github.language · Sep 18, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

We test it on Python 3.8.
Source link

Tags

README

In Context Retrieval Augmented Language Models This repo contains the code for reproducing the experiments on WikiText 103 from AI21 Labs' paper In Context Retrieval Augmented Language Models (In Context RALM), to appear in the Transactions of the Association for Computational Li...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.