DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Relm – local LLMs as base-R objects, with interpretability

Quality: 7/10 Relevance: 9/10

Summary

Relm is an R package with a Rust native core that embeds a patched llama.cpp, exposing local LLMs as base-R objects with interpretability capabilities. The project provides functions for loading, tokenization, generation, embeddings, activation tracing, steering, and ablation, along with install options, demos, and dual licenses (MIT/Apache-2.0). It positions itself as a tooling stack for mechanistic interpretability research in R with a local model runtime.

🚀 Service construit par Johan Denoyer