Skip to content

Commit 78ba2f6

Browse files
committed
add imports
1 parent 2932605 commit 78ba2f6

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,5 @@ dmypy.json
152152

153153
# Pyre type checker
154154
.pyre/
155+
156+
.vscode

tests/integration_tests/ComplexInterventionWithGPT2TestCase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import unittest
22
from ..utils import *
3+
from transformers import GPT2Config
34

45

56
class ComplexInterventionWithGPT2TestCase(unittest.TestCase):

tests/integration_tests/InterventionWithGPT2TestCase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import unittest
22
from ..utils import *
3+
from transformers import GPT2Config
34

45

56
class InterventionWithGPT2TestCase(unittest.TestCase):

tests/unit_tests/IntervenableConfigUnitTestCase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import unittest
22
from ..utils import *
3+
from transformers import GPT2Config
34

45

56
class IntervenableConfigUnitTestCase(unittest.TestCase):

tests/unit_tests/InterventionUtilsTestCase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from pyvene.models.intervention_utils import _do_intervention_by_swap
55
from pyvene.models.interventions import VanillaIntervention
66
from pyvene.models.interventions import CollectIntervention
7+
from transformers import GPT2Config
78

89

910
class InterventionUtilsTestCase(unittest.TestCase):

tests/unit_tests/ModelUtilsTestCase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from ..utils import *
33
from pyvene.models.modeling_utils import *
44
from pprint import pprint, pformat
5+
from transformers import GPT2Config
56

67

78
class ModelUtilsTestCase(unittest.TestCase):

0 commit comments

Comments
 (0)