gptmed 0.3.1__py3-none-any.whl → 0.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gptmed/__init__.py CHANGED
@@ -32,7 +32,7 @@ Advanced Usage:
32
32
  >>> model = GPTTransformer(config)
33
33
  """
34
34
 
35
- __version__ = "0.3.0"
35
+ __version__ = "0.3.2"
36
36
  __author__ = "Sanjog Sigdel"
37
37
  __email__ = "sigdelsanjog@gmail.com"
38
38
 
@@ -110,13 +110,13 @@ def config_to_args(config: Dict[str, Any]) -> Dict[str, Any]:
110
110
 
111
111
  # Checkpointing
112
112
  'checkpoint_dir': config['checkpointing']['checkpoint_dir'],
113
- 'save_every': config['checkpointing']['save_every'],
113
+ 'save_interval': config['checkpointing']['save_every'],
114
114
  'keep_last_n': config['checkpointing']['keep_last_n'],
115
115
 
116
116
  # Logging
117
117
  'log_dir': config['logging']['log_dir'],
118
- 'eval_every': config['logging']['eval_every'],
119
- 'log_every': config['logging']['log_every'],
118
+ 'eval_interval': config['logging']['eval_every'],
119
+ 'log_interval': config['logging']['log_every'],
120
120
 
121
121
  # Device
122
122
  'device': config['device']['device'],
@@ -160,13 +160,13 @@ def create_default_config_file(output_path: str = 'training_config.yaml') -> Non
160
160
  },
161
161
  'checkpointing': {
162
162
  'checkpoint_dir': './model/checkpoints',
163
- 'save_every': 1,
163
+ 'save_interval': 1,
164
164
  'keep_last_n': 3
165
165
  },
166
166
  'logging': {
167
167
  'log_dir': './logs',
168
- 'eval_every': 100,
169
- 'log_every': 10
168
+ 'eval_interval': 100,
169
+ 'log_interval': 10
170
170
  },
171
171
  'device': {
172
172
  'device': 'cuda',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gptmed
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: A lightweight GPT-based language model framework for training custom question-answering models on any domain
5
5
  Author-email: Sanjog Sigdel <sigdelsanjog@gmail.com>
6
6
  Maintainer-email: Sanjog Sigdel <sigdelsanjog@gmail.com>
@@ -1,7 +1,7 @@
1
- gptmed/__init__.py,sha256=fgMx3h7mG8x5Gvr01kCe_X_AuHzxUIxafb_L_WOH_x0,1676
1
+ gptmed/__init__.py,sha256=lFcfEI8k6ct6XadmW8r3oNjKa-JdkqfhONn55Pmoop8,1676
2
2
  gptmed/api.py,sha256=IU5r9ujg3S-Lem5-FOGDDLdh1UJ_FqCbaQayzyJez5c,10774
3
3
  gptmed/configs/__init__.py,sha256=yRa-zgPQ-OCzu8fvCrfWMG-CjF3dru3PZzknzm0oUaQ,23
4
- gptmed/configs/config_loader.py,sha256=hkJRN-Rh6dlzOf97yOjPCVdy-Es5YjgKo3-iOwAeXEI,5833
4
+ gptmed/configs/config_loader.py,sha256=aQkyOzu2Jp0jjsBM9Gbza60rfUKX_KwF_3ED_Dcv34o,5851
5
5
  gptmed/configs/train_config.py,sha256=KqfNBh9hdTTd_6gEAlrClU8sVFSlVDmZJOrf3cPwFe8,4657
6
6
  gptmed/configs/training_config.yaml,sha256=EEZZa3kcsZr3g-_fKDPYZt4_NTpmS-3NvJrTYSWNc8g,2874
7
7
  gptmed/data/__init__.py,sha256=iAHeakB5pBAd7MkmarPPY0UKS9bTaO_winLZ23Y2O90,54
@@ -33,9 +33,9 @@ gptmed/training/utils.py,sha256=pJxCwneNr2STITIYwIDCxRzIICDFOxOMzK8DT7ck2oQ,5651
33
33
  gptmed/utils/__init__.py,sha256=XuMhIqOXF7mjnog_6Iky-hSbwvFb0iK42B4iDUpgi0U,44
34
34
  gptmed/utils/checkpoints.py,sha256=L4q1-_4GbHCoD7QuEKYeQ-xXDTF-6sqZOxKQ_LT8YmQ,7112
35
35
  gptmed/utils/logging.py,sha256=7dJc1tayMxCBjFSDXe4r9ACUTpoPTTGsJ0UZMTqZIDY,5303
36
- gptmed-0.3.1.dist-info/licenses/LICENSE,sha256=v2spsd7N1pKFFh2G8wGP_45iwe5S0DYiJzG4im8Rupc,1066
37
- gptmed-0.3.1.dist-info/METADATA,sha256=Bc5c2XVnPc6r_LusTJqpl-rp5yVPQe6tZ8BIYZPQNZo,13605
38
- gptmed-0.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
39
- gptmed-0.3.1.dist-info/entry_points.txt,sha256=ATqOzTtPVdUiFX5ZSeo3n9JkUCqocUxEXTgy1CfNRZE,110
40
- gptmed-0.3.1.dist-info/top_level.txt,sha256=mhyEq3rG33t21ziJz5w3TPgx0RjPf4zXMNUx2JTiNmE,7
41
- gptmed-0.3.1.dist-info/RECORD,,
36
+ gptmed-0.3.2.dist-info/licenses/LICENSE,sha256=v2spsd7N1pKFFh2G8wGP_45iwe5S0DYiJzG4im8Rupc,1066
37
+ gptmed-0.3.2.dist-info/METADATA,sha256=D6l-6CxTFN7UQyfjVZokH1qA50P9szHJezb8qzQdWjg,13605
38
+ gptmed-0.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
39
+ gptmed-0.3.2.dist-info/entry_points.txt,sha256=ATqOzTtPVdUiFX5ZSeo3n9JkUCqocUxEXTgy1CfNRZE,110
40
+ gptmed-0.3.2.dist-info/top_level.txt,sha256=mhyEq3rG33t21ziJz5w3TPgx0RjPf4zXMNUx2JTiNmE,7
41
+ gptmed-0.3.2.dist-info/RECORD,,
File without changes