├── README.md ├── config ├── config.yaml ├── data │ ├── fever.yaml │ └── zsre.yaml ├── editor │ ├── ft.yaml │ ├── malmen.yaml │ └── mend.yaml └── model │ ├── bert-large.yaml │ ├── gpt-2.yaml │ ├── gpt-j.yaml │ ├── t5-small.yaml │ └── t5-xl.yaml ├── data ├── base.py ├── fever.py └── zsre.py ├── editor ├── base.py ├── malmen.py └── mend.py ├── main.py ├── model.py ├── nets.py ├── requirements.txt └── util.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/README.md -------------------------------------------------------------------------------- /config/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/config.yaml -------------------------------------------------------------------------------- /config/data/fever.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/data/fever.yaml -------------------------------------------------------------------------------- /config/data/zsre.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/data/zsre.yaml -------------------------------------------------------------------------------- /config/editor/ft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/editor/ft.yaml -------------------------------------------------------------------------------- /config/editor/malmen.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/editor/malmen.yaml -------------------------------------------------------------------------------- /config/editor/mend.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/editor/mend.yaml -------------------------------------------------------------------------------- /config/model/bert-large.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/model/bert-large.yaml -------------------------------------------------------------------------------- /config/model/gpt-2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/model/gpt-2.yaml -------------------------------------------------------------------------------- /config/model/gpt-j.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/model/gpt-j.yaml -------------------------------------------------------------------------------- /config/model/t5-small.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/model/t5-small.yaml -------------------------------------------------------------------------------- /config/model/t5-xl.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/config/model/t5-xl.yaml -------------------------------------------------------------------------------- /data/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/data/base.py -------------------------------------------------------------------------------- /data/fever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/data/fever.py -------------------------------------------------------------------------------- /data/zsre.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/data/zsre.py -------------------------------------------------------------------------------- /editor/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/editor/base.py -------------------------------------------------------------------------------- /editor/malmen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/editor/malmen.py -------------------------------------------------------------------------------- /editor/mend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/editor/mend.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/main.py -------------------------------------------------------------------------------- /model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/model.py -------------------------------------------------------------------------------- /nets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/nets.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/requirements.txt -------------------------------------------------------------------------------- /util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenmienTan/malmen/HEAD/util.py --------------------------------------------------------------------------------