Skip to content

add specific gpt2 model instances - #51

Merged
mschrimpf merged 5 commits into
mainfrom
mschrimpf/model-instances
Sep 2, 2022
Merged

mschrimpf merged 5 commits into
mainfrom
mschrimpf/model-instances

Conversation

@mschrimpf

@mschrimpf mschrimpf commented Aug 21, 2022 •

Copy link
Copy Markdown
Member

No description provided.

@mschrimpf
mschrimpf marked this pull request as ready for review September 2, 2022 01:27
@mschrimpf
mschrimpf requested review from aalok-sathe and gretatuckute and removed request for aalok-sathe September 2, 2022 01:27
# https://github.com/mschrimpf/neural-nlp/blob/master/precomputed-scores.csv

model_registry['distilgpt2'] = lambda: HuggingfaceSubject(model_id='distilgpt2', region_layer_mapping={
ArtificialSubject.RecordingTarget.language_system: 'transformer.h.5.mlp.dropout'})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! I assume that going forward, we would base this off the new benchmarks (and separate into modality)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds more intuitive to me to keep the same layer per region and then change neural activity based on the modality, but it's up to you / future model submitters

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, sorry, my "new benchmarks" was a bit ambiguous: I meant that we should base it off the updated Pereira benchmark and as you mention keep the same layer per region

@mschrimpf
mschrimpf merged commit 5e948f0 into main Sep 2, 2022
@mschrimpf
mschrimpf deleted the mschrimpf/model-instances branch September 2, 2022 17:32
mschrimpf added a commit that referenced this pull request Oct 26, 2022
* add specific gpt2 model instances

* restructure directories following #50

* adapt to #55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants