Skip to content

Added GPT-1 Huggingface Model - #221

Merged
shehadak merged 1 commit into
mainfrom
ks/adding_gpt_1
Nov 18, 2023
Merged

shehadak merged 1 commit into
mainfrom
ks/adding_gpt_1

Conversation

@shehadak

Copy link
Copy Markdown
Collaborator

No description provided.

@shehadak
shehadak marked this pull request as ready for review November 18, 2023 22:38
@shehadak
shehadak merged commit 53dc172 into main Nov 18, 2023
@shehadak
shehadak deleted the ks/adding_gpt_1 branch November 28, 2023 13:27
KartikP added a commit that referenced this pull request Nov 10, 2026
`score()` read the behavior protocol from the subject's private state,
so a subject that is not a BrainScoreModel but answers by generation was
stamped behavior:readout (Contract Rule 2.2).

Changes:
- `score()` opens core's `record_measures()` around the benchmark run
and passes the record to `infer_score_protocol` and
`stamp_score_metadata`. The protocol and the optional `attrs['measure']`
come from the responses the subject returned.
- A core without `record_measures` raises an ImportError that names the
required revision.
- `requirements-v2.txt` pins core to fdeb451 (brain-score/core#222,
which adds `record_measures`; it also contains #221).

Evidence: new tests in tests/test_preflight.py send a real behavior
StreamEvent into a BufferedSession and check the stamp. Core #222 passed
its full CI, including the vision, language and unified offline suites.
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.

1 participant