Skip to content

Commit

Permalink
fix gpt neo x import
Browse files Browse the repository at this point in the history
  • Loading branch information
luciaquirke committed Oct 15, 2024
1 parent 482eabb commit ee37d7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions concept_erasure/scrubbing/neox.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
from tqdm.auto import tqdm
from transformers import (
GPTNeoXForCausalLM,
GPTNeoXLayer,
GPTNeoXModel,
)
from transformers.models.gpt_neox.modeling_gpt_neox import GPTNeoXAttention
from transformers.models.gpt_neox.modeling_gpt_neox import (
GPTNeoXAttention,
GPTNeoXLayer,
)

from concept_erasure import ConceptScrubber, ErasureMethod, LeaceFitter
from concept_erasure.utils import assert_type
Expand Down

0 comments on commit ee37d7b

Please sign in to comment.