deeplotx 0.4.5__tar.gz → 0.4.6__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 (32) hide show
  1. {deeplotx-0.4.5 → deeplotx-0.4.6}/PKG-INFO +1 -1
  2. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/encoder/bert_encoder.py +3 -1
  3. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/encoder/longformer_encoder.py +3 -1
  4. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx.egg-info/PKG-INFO +1 -1
  5. {deeplotx-0.4.5 → deeplotx-0.4.6}/pyproject.toml +1 -1
  6. {deeplotx-0.4.5 → deeplotx-0.4.6}/LICENSE +0 -0
  7. {deeplotx-0.4.5 → deeplotx-0.4.6}/README.md +0 -0
  8. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/__init__.py +0 -0
  9. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/encoder/__init__.py +0 -0
  10. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/encoder/long_text_encoder.py +0 -0
  11. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/__init__.py +0 -0
  12. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/auto_regression.py +0 -0
  13. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/base_neural_network.py +0 -0
  14. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/linear_regression.py +0 -0
  15. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/logistic_regression.py +0 -0
  16. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/recursive_sequential.py +0 -0
  17. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/nn/softmax_regression.py +0 -0
  18. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/similarity/__init__.py +0 -0
  19. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/similarity/distribution.py +0 -0
  20. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/similarity/set.py +0 -0
  21. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/similarity/vector.py +0 -0
  22. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/trainer/__init__.py +0 -0
  23. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/trainer/base_trainer.py +0 -0
  24. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/trainer/text_binary_classification_trainer.py +0 -0
  25. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/util/__init__.py +0 -0
  26. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/util/hash.py +0 -0
  27. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx/util/read_file.py +0 -0
  28. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx.egg-info/SOURCES.txt +0 -0
  29. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx.egg-info/dependency_links.txt +0 -0
  30. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx.egg-info/requires.txt +0 -0
  31. {deeplotx-0.4.5 → deeplotx-0.4.6}/deeplotx.egg-info/top_level.txt +0 -0
  32. {deeplotx-0.4.5 → deeplotx-0.4.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeplotx
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: Easy-2-use long text NLP toolkit.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -1,11 +1,13 @@
1
+ import os
1
2
  import math
3
+
2
4
  import torch
3
5
  from torch import nn
4
6
  from transformers import BertTokenizer, BertModel
5
7
 
6
8
  from deeplotx import __ROOT__
7
9
 
8
- CACHE_PATH = f'{__ROOT__}\\.cache'
10
+ CACHE_PATH = os.path.join(__ROOT__, '.cache')
9
11
  DEFAULT_BERT = 'bert-base-uncased'
10
12
 
11
13
 
@@ -1,10 +1,12 @@
1
+ import os
2
+
1
3
  import torch
2
4
  from torch import nn
3
5
  from transformers import LongformerTokenizer, LongformerModel
4
6
 
5
7
  from deeplotx import __ROOT__
6
8
 
7
- CACHE_PATH = f'{__ROOT__}\\.cache'
9
+ CACHE_PATH = os.path.join(__ROOT__, '.cache')
8
10
  DEFAULT_LONGFORMER = 'allenai/longformer-base-4096'
9
11
 
10
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeplotx
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: Easy-2-use long text NLP toolkit.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "deeplotx"
3
- version = "0.4.5"
3
+ version = "0.4.6"
4
4
  description = "Easy-2-use long text NLP toolkit."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes
File without changes
File without changes
File without changes