jbochi commited on
Commit
25d8903
1 Parent(s): 389b01f

Register for AutoModelForCausalLM

Browse files
config.json CHANGED
@@ -1,7 +1,11 @@
1
  {
2
  "architectures": [
3
- "T5DecoderOnlyForCausalLM"
4
  ],
 
 
 
 
5
  "d_ff": 16384,
6
  "d_kv": 256,
7
  "d_model": 4096,
 
1
  {
2
  "architectures": [
3
+ "DecoderOnlyT5Model"
4
  ],
5
+ "auto_map": {
6
+ "AutoConfig": "decoderonlyt5_config.DecoderOnlyT5Config",
7
+ "AutoModelForCausalLM": "decoderonlyt5_modeling.DecoderOnlyT5Model"
8
+ },
9
  "d_ff": 16384,
10
  "d_kv": 256,
11
  "d_model": 4096,
decoder_only_t5/__init__.py DELETED
File without changes
decoder_only_t5/config.py → decoderonlyt5_config.py RENAMED
File without changes
decoder_only_t5/modeling.py → decoderonlyt5_modeling.py RENAMED
@@ -13,7 +13,7 @@ from transformers.utils import (
13
  replace_return_docstrings,
14
  )
15
 
16
- from decoder_only_t5.config import DecoderOnlyT5Config
17
 
18
 
19
  logger = logging.get_logger(__name__)
 
13
  replace_return_docstrings,
14
  )
15
 
16
+ from .decoderonlyt5_config import DecoderOnlyT5Config
17
 
18
 
19
  logger = logging.get_logger(__name__)