sippycoder commited on
Commit
527a0bf
·
1 Parent(s): 3fd9abc

initial commit

Browse files
Files changed (1) hide show
  1. configuration_nucleus.py +2 -2
configuration_nucleus.py CHANGED
@@ -1,7 +1,7 @@
1
  # This config is based on LLaMA.
2
  """ Nucleus model configuration"""
3
 
4
- from transformers import LlamaConfig
5
  from transformers.utils import logging
6
 
7
 
@@ -10,7 +10,7 @@ logger = logging.get_logger(__name__)
10
  NUCLEUS_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
11
 
12
 
13
- class NucleusConfig(LlamaConfig):
14
  model_type = "nulceus"
15
  keys_to_ignore_at_inference = ["past_key_values"]
16
 
 
1
  # This config is based on LLaMA.
2
  """ Nucleus model configuration"""
3
 
4
+ from transformers import PretrainedConfig
5
  from transformers.utils import logging
6
 
7
 
 
10
  NUCLEUS_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
11
 
12
 
13
+ class NucleusConfig(PretrainedConfig):
14
  model_type = "nulceus"
15
  keys_to_ignore_at_inference = ["past_key_values"]
16