← 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
Not currently ranked — collecting fresh signals.
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.

Frequently asked

What is hiyouga/FastEdit?
A tool for injecting fresh knowledge into large language models efficiently using model editing algorithms like ROME.
Is FastEdit open source?
Yes — hiyouga/FastEdit is open source, released under the Apache-2.0 license.
What language is FastEdit written in?
hiyouga/FastEdit is primarily written in Python.
How popular is FastEdit?
hiyouga/FastEdit has 1.4k stars on GitHub.
Where can I find FastEdit?
hiyouga/FastEdit is on GitHub at https://github.com/hiyouga/FastEdit.

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