pyvene.models.backpack_gpt2.modelings_intervenable_backpack_gpt2.create_backpack_gpt2

pyvene.models.backpack_gpt2.modelings_intervenable_backpack_gpt2.create_backpack_gpt2#

create_backpack_gpt2(name='stanfordnlp/backpack-gpt2', cache_dir=None)[source]#

Creates a GPT2 model, config, and tokenizer from the given name and revision