tmnt 0.7.44b20240124__tar.gz → 0.7.44b20240125__tar.gz

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.
Files changed (30) hide show
  1. {tmnt-0.7.44b20240124/tmnt.egg-info → tmnt-0.7.44b20240125}/PKG-INFO +1 -1
  2. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/modeling.py +3 -1
  3. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125/tmnt.egg-info}/PKG-INFO +1 -1
  4. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/LICENSE +0 -0
  5. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/NOTICE +0 -0
  6. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/README.md +0 -0
  7. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/setup.cfg +0 -0
  8. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/setup.py +0 -0
  9. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/__init__.py +0 -0
  10. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/configuration.py +0 -0
  11. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/data_loading.py +0 -0
  12. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/distribution.py +0 -0
  13. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/estimator.py +0 -0
  14. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/eval_npmi.py +0 -0
  15. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/inference.py +0 -0
  16. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/preprocess/__init__.py +0 -0
  17. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/preprocess/tokenizer.py +0 -0
  18. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/preprocess/vectorizer.py +0 -0
  19. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/__init__.py +0 -0
  20. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/csv2json.py +0 -0
  21. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/log_utils.py +0 -0
  22. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/mat_utils.py +0 -0
  23. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/ngram_helpers.py +0 -0
  24. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/pubmed_utils.py +0 -0
  25. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/random.py +0 -0
  26. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt/utils/recalibrate.py +0 -0
  27. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt.egg-info/SOURCES.txt +0 -0
  28. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt.egg-info/dependency_links.txt +0 -0
  29. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt.egg-info/requires.txt +0 -0
  30. {tmnt-0.7.44b20240124 → tmnt-0.7.44b20240125}/tmnt.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tmnt
3
- Version: 0.7.44b20240124
3
+ Version: 0.7.44b20240125
4
4
  Summary: Topic modeling neural toolkit
5
5
  Home-page: https://github.com/mitre/tmnt.git
6
6
  Author: The MITRE Corporation
@@ -493,7 +493,9 @@ class BaseSeqBowVED(BaseVAE):
493
493
  if pre_trained_embedding is not None:
494
494
  self.embedding = nn.Linear(len(pre_trained_embedding.idx_to_vec),
495
495
  pre_trained_embedding.idx_to_vec[0].size, bias=False)
496
- self.apply(self._init_weights)
496
+ #self.apply(self._init_weights)
497
+ self.latent_distribution.apply(self._init_weights)
498
+ self.decoder.apply(self._init_weights)
497
499
 
498
500
  def _init_weights(self, module):
499
501
  if isinstance(module, torch.nn.Linear):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tmnt
3
- Version: 0.7.44b20240124
3
+ Version: 0.7.44b20240125
4
4
  Summary: Topic modeling neural toolkit
5
5
  Home-page: https://github.com/mitre/tmnt.git
6
6
  Author: The MITRE Corporation
File without changes
File without changes
File without changes
File without changes
File without changes