← all repositories

hiyouga/FastEdit

A tool for injecting fresh knowledge into large language models efficiently using model editing algorithms like ROME.

1.4k stars Python Language ModelsLLMOps · Eval
FastEdit
Velocity · 7d
+1.3
★ / day
Trend
steady
star history

FastEdit provides a command-line interface for editing pre-trained large language models by injecting factual knowledge. It supports multiple model architectures including LLaMA, LLaMA-2, BLOOM, Falcon, and others. The project implements the Rank-One Model Editing (ROME) algorithm and achieves model edits within approximately 10 seconds using PyTorch and Hugging Face Transformers.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.