gptmodel 1.0.1__py3-none-any.whl → 1.0.3__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.
gptmodel/__init__.py CHANGED
@@ -1 +1,11 @@
1
+ # This is a standard code of a GPT (Generative Pre-trained Transformer) model, developed by Sapiens Technology®️,
2
+ # which faithfully follows the mathematical structure of the article “Attention Is All You Need” for the construction of the Transformer architecture
3
+ # used in the pattern recognition of the model that is saved. Some optimizations that do not influence the Transformer architecture
4
+ # were applied only to facilitate the adjustments of the parameters and variables of the training, saving, loading, fine-tuning and inference of the pre-trained model.
5
+ # --------------------------> A SAPIENS TECHNOLOGY®️ PRODUCTION) <--------------------------
1
6
  from .gptmodel import *
7
+ # This is a standard code of a GPT (Generative Pre-trained Transformer) model, developed by Sapiens Technology®️,
8
+ # which faithfully follows the mathematical structure of the article “Attention Is All You Need” for the construction of the Transformer architecture
9
+ # used in the pattern recognition of the model that is saved. Some optimizations that do not influence the Transformer architecture
10
+ # were applied only to facilitate the adjustments of the parameters and variables of the training, saving, loading, fine-tuning and inference of the pre-trained model.
11
+ # --------------------------> A SAPIENS TECHNOLOGY®️ PRODUCTION) <--------------------------
gptmodel/gptmodel.py CHANGED
@@ -306,7 +306,7 @@ class GPTModel:
306
306
  training_metrics['loss'] = loss_item if current_precision >= precision else average_train_loss
307
307
  training_metrics['precision'] = current_precision
308
308
  if progress:
309
- description = f'Backpropagation epoch: {epoch} - current precision is '+f'{current_precision:.4f}'.ljust(5, '0')+f'; aiming for precision >= {string_precision} in training'
309
+ description = f'Finalization of backpropagations... current precision is '+f'{current_precision:.4f}'.ljust(5, '0')+f'; aiming for precision >= {string_precision} in training'
310
310
  self.__tqdm(train_loader, desc=description, unit='it', unit_scale=True, unit_divisor=1000, smoothing=0.1, bar_format=formatted_string).update(len(train_loader))
311
311
  print()
312
312
  break
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gptmodel
3
- Version: 1.0.1
4
- Home-page: https://github.com/
3
+ Version: 1.0.3
4
+ Home-page: https://github.com/sapiens-technology/gptmodel
5
5
  Author: SAPIENS TECHNOLOGY
6
6
  License: Proprietary Software
7
7
  License-File: LICENSE.txt
@@ -0,0 +1,7 @@
1
+ gptmodel/__init__.py,sha256=ifnJnBPHcBZwiHgt_mNp9gd1OJYCCHB3bgml6TmKBIw,1358
2
+ gptmodel/gptmodel.py,sha256=3qbXbCEkXSsakFAuLu6RCacyHhdu9nIHagNriEi9NEE,33414
3
+ gptmodel-1.0.3.dist-info/LICENSE.txt,sha256=WqB2vIA5tH5lqLTr53yT_oy1m0wYfuvCPQKxdDHWimg,115
4
+ gptmodel-1.0.3.dist-info/METADATA,sha256=wkJfDMPMG2iJy8sNnaiZPJvhYnhjlCGJqYAa4ecmWmI,333
5
+ gptmodel-1.0.3.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
6
+ gptmodel-1.0.3.dist-info/top_level.txt,sha256=585C0QclguIkVPKKPpoeD2FxYAc5n5EAuvJNK4vMeQk,9
7
+ gptmodel-1.0.3.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gptmodel/__init__.py,sha256=UCXG7pgytIN6ODBWxcfF5tQJkE6uMdzbvvVRDuRsSYs,24
2
- gptmodel/gptmodel.py,sha256=GBPnOgY547dZiI3LJfOpCHzbCSq1vzEzoQ_oeMWUxhw,33411
3
- gptmodel-1.0.1.dist-info/LICENSE.txt,sha256=WqB2vIA5tH5lqLTr53yT_oy1m0wYfuvCPQKxdDHWimg,115
4
- gptmodel-1.0.1.dist-info/METADATA,sha256=WXDpLD9BF5h42xQ5-QjOpY6h_ryUJZz8vlbK3pZaH68,306
5
- gptmodel-1.0.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
6
- gptmodel-1.0.1.dist-info/top_level.txt,sha256=585C0QclguIkVPKKPpoeD2FxYAc5n5EAuvJNK4vMeQk,9
7
- gptmodel-1.0.1.dist-info/RECORD,,