Skip to content

Commit

Permalink
Merge pull request #756 from TransformerLensOrg/dev
Browse files Browse the repository at this point in the history
Release 2.8
  • Loading branch information
bryce13950 authored Oct 22, 2024
2 parents 336df99 + cb6ad8e commit b6e19d6
Show file tree
Hide file tree
Showing 7 changed files with 12,981 additions and 31 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/compatibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Compatibility Report
about: Submit a compatibility report
title: "[Compatibility Report] Model ID"

---

<!--
Use this template to report any issues found with model compatibility. Make sure to create a report per model id, and not per model family. Please include details of any options you used in TransformerLens, and example generations both directly through transformers and TransformerLens. Additionally, please make sure you determine information on historical compatibility with the model in question with TransformerLens.
To determine historic compatibility of your model, first check the performance of the model on the first release of TransformerLens when the model was added. If the incompatibility does not exist on the first version with the model in question, you then need to narrow down the last version where the model performed comparably to transformers, and the first version where it became incompatible.
The process for finding the last compatible version number is pretty manually. It's a matter of picking a random version, checking the compatibility, and then deciding which version to check next based on the result on the version number in question. If the version you are testing is incompatible, then you want to check earlier releases of TransformerLens. If the version you are testing is compatible, you then want to check newer versions of TransformerLens. This process must be repeated until two consecutive version numbers are found, one where the model was compatible, and the next where the model was incompatible. This process is very tedious, but it will greatly help in the process of fixing the underlying incompatibility.
-->

## Model

REPLACE_WITH_MODEL_ID

- [ ] This model was incompatible when it was introduced to TransformerLens

<!--
Remove the next block if the model in question did not work as expected on the first version of TransformerLens in which it was available.
-->

The model seems to have worked as of REPLACE_WITH_LAST_COMPATIBLE_VERSION_NUMBER. It first started
showing signs of incompatibility in REPLACE_WITH_FIRST_INCOMPATIBLE_VERSION_NUMBER.

### Example of some generations in transformers


### Code used to load the model in TransformerLens


### Example of some generations in TransformerLens
1 change: 1 addition & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
# - "Activation_Patching_in_TL_Demo"
# - "Attribution_Patching_Demo"
- "ARENA_Content"
- "Colab_Compatibility"
- "BERT"
- "Exploratory_Analysis_Demo"
# - "Grokking_Demo"
Expand Down
Loading

0 comments on commit b6e19d6

Please sign in to comment.