Update config.py
Browse files
config.py
CHANGED
@@ -2,10 +2,7 @@ from transformers import GPTJConfig, AutoConfig
|
|
2 |
|
3 |
|
4 |
class GPTJLoraConfig(GPTJConfig):
|
5 |
-
model_type = "gptj-lora"
|
6 |
|
7 |
def __init__(self, add_adapters=False, **kwargs):
|
8 |
self.add_apapters = add_adapters
|
9 |
super().__init__(**kwargs)
|
10 |
-
|
11 |
-
AutoConfig.register("gptj-lora", GPTJLoraConfig)
|
|
|
2 |
|
3 |
|
4 |
class GPTJLoraConfig(GPTJConfig):
|
|
|
5 |
|
6 |
def __init__(self, add_adapters=False, **kwargs):
|
7 |
self.add_apapters = add_adapters
|
8 |
super().__init__(**kwargs)
|
|
|
|