Skip to content

cyntqliu/easy_model_editing

 
 

Repository files navigation

EasyEdit

This repository is a WIP for EasyEdit, a wrapper extending MEMIT that combines document-level joint-entity and relation extraction with MEMIT so users can edit models directly from unstructured text.

Attribution

The repository is a fork of SpecificityPlus [1], which is a fork of MEMIT [2]. MEMIT implements the model editing algorithms MEMIT (Mass Editing Memory in a Transformer) and ROME (Rank-One Model Editing). Specificity+ extends this code by additional evaluation scripts implementing the CounterFact+ benchmark.

Installation

TBD

Running Experiments

TBD

How to Cite

References

[1] Hoelscher-Obermaier, Jason, et al. "Detecting Edit Failures In Large Language Models: An Improved Specificity Benchmark." Findings of ACL (2023)

[2] Meng, Kevin, et al. "Mass-editing memory in a transformer." arXiv preprint arXiv:2210.07229 (2022).

About

A library built on top of Specificity+, a fork of MEMIT, enabling more user-friendly model editing and evaluation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.7%
  • Shell 10.8%
  • HTML 5.5%
  • CSS 1.8%
  • JavaScript 0.2%