tmnt 0.7.44b20240126__tar.gz → 0.7.44b20240127__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.44b20240126/tmnt.egg-info → tmnt-0.7.44b20240127}/PKG-INFO +1 -1
  2. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/modeling.py +4 -4
  3. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127/tmnt.egg-info}/PKG-INFO +1 -1
  4. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/LICENSE +0 -0
  5. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/NOTICE +0 -0
  6. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/README.md +0 -0
  7. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/setup.cfg +0 -0
  8. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/setup.py +0 -0
  9. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/__init__.py +0 -0
  10. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/configuration.py +0 -0
  11. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/data_loading.py +0 -0
  12. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/distribution.py +0 -0
  13. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/estimator.py +0 -0
  14. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/eval_npmi.py +0 -0
  15. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/inference.py +0 -0
  16. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/preprocess/__init__.py +0 -0
  17. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/preprocess/tokenizer.py +0 -0
  18. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/preprocess/vectorizer.py +0 -0
  19. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/__init__.py +0 -0
  20. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/csv2json.py +0 -0
  21. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/log_utils.py +0 -0
  22. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/mat_utils.py +0 -0
  23. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/ngram_helpers.py +0 -0
  24. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/pubmed_utils.py +0 -0
  25. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/random.py +0 -0
  26. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt/utils/recalibrate.py +0 -0
  27. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt.egg-info/SOURCES.txt +0 -0
  28. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt.egg-info/dependency_links.txt +0 -0
  29. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/tmnt.egg-info/requires.txt +0 -0
  30. {tmnt-0.7.44b20240126 → tmnt-0.7.44b20240127}/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.44b20240126
3
+ Version: 0.7.44b20240127
4
4
  Summary: Topic modeling neural toolkit
5
5
  Home-page: https://github.com/mitre/tmnt.git
6
6
  Author: The MITRE Corporation
@@ -595,11 +595,11 @@ class MetricSeqBowVED(BaseSeqBowVED):
595
595
  elbo = elbo1 + elbo2
596
596
  rec_loss = rec_loss1 + rec_loss2
597
597
  KL_loss = KL_loss1 + KL_loss2
598
- #z_mu1 = self.latent_distribution.get_mu_encoding(enc2)
599
- #z_mu2 = self.latent_distribution.get_mu_encoding(enc2)
598
+ z_mu1 = self.latent_distribution.get_mu_encoding(enc2)
599
+ z_mu2 = self.latent_distribution.get_mu_encoding(enc2)
600
600
  redundancy_loss = entropy_loss1 + entropy_loss2 #self.get_redundancy_penalty()
601
- #return elbo, rec_loss, KL_loss, redundancy_loss, z_mu1, z_mu2
602
- return elbo, rec_loss, KL_loss, redundancy_loss, enc1, enc2
601
+ return elbo, rec_loss, KL_loss, redundancy_loss, z_mu1, z_mu2
602
+ #return elbo, rec_loss, KL_loss, redundancy_loss, enc1, enc2
603
603
 
604
604
 
605
605
  class GeneralizedSDMLLoss(_Loss):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tmnt
3
- Version: 0.7.44b20240126
3
+ Version: 0.7.44b20240127
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