nextrec 0.4.4__tar.gz → 0.4.5__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 (153) hide show
  1. {nextrec-0.4.4 → nextrec-0.4.5}/PKG-INFO +4 -4
  2. {nextrec-0.4.4 → nextrec-0.4.5}/README.md +3 -3
  3. {nextrec-0.4.4 → nextrec-0.4.5}/README_zh.md +3 -3
  4. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/conf.py +1 -1
  5. nextrec-0.4.5/nextrec/__version__.py +1 -0
  6. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/initializer.py +1 -1
  7. {nextrec-0.4.4 → nextrec-0.4.5}/pyproject.toml +1 -1
  8. nextrec-0.4.4/nextrec/__version__.py +0 -1
  9. {nextrec-0.4.4 → nextrec-0.4.5}/.github/workflows/publish.yml +0 -0
  10. {nextrec-0.4.4 → nextrec-0.4.5}/.github/workflows/tests.yml +0 -0
  11. {nextrec-0.4.4 → nextrec-0.4.5}/.gitignore +0 -0
  12. {nextrec-0.4.4 → nextrec-0.4.5}/.readthedocs.yaml +0 -0
  13. {nextrec-0.4.4 → nextrec-0.4.5}/CODE_OF_CONDUCT.md +0 -0
  14. {nextrec-0.4.4 → nextrec-0.4.5}/CONTRIBUTING.md +0 -0
  15. {nextrec-0.4.4 → nextrec-0.4.5}/LICENSE +0 -0
  16. {nextrec-0.4.4 → nextrec-0.4.5}/MANIFEST.in +0 -0
  17. {nextrec-0.4.4 → nextrec-0.4.5}/assets/Feature Configuration.png +0 -0
  18. {nextrec-0.4.4 → nextrec-0.4.5}/assets/Model Parameters.png +0 -0
  19. {nextrec-0.4.4 → nextrec-0.4.5}/assets/Training Configuration.png +0 -0
  20. {nextrec-0.4.4 → nextrec-0.4.5}/assets/Training logs.png +0 -0
  21. {nextrec-0.4.4 → nextrec-0.4.5}/assets/logo.png +0 -0
  22. {nextrec-0.4.4 → nextrec-0.4.5}/assets/mmoe_tutorial.png +0 -0
  23. {nextrec-0.4.4 → nextrec-0.4.5}/assets/nextrec_diagram_en.png +0 -0
  24. {nextrec-0.4.4 → nextrec-0.4.5}/assets/nextrec_diagram_zh.png +0 -0
  25. {nextrec-0.4.4 → nextrec-0.4.5}/assets/test data.png +0 -0
  26. {nextrec-0.4.4 → nextrec-0.4.5}/dataset/ctcvr_task.csv +0 -0
  27. {nextrec-0.4.4 → nextrec-0.4.5}/dataset/match_task.csv +0 -0
  28. {nextrec-0.4.4 → nextrec-0.4.5}/dataset/movielens_100k.csv +0 -0
  29. {nextrec-0.4.4 → nextrec-0.4.5}/dataset/multitask_task.csv +0 -0
  30. {nextrec-0.4.4 → nextrec-0.4.5}/dataset/ranking_task.csv +0 -0
  31. {nextrec-0.4.4 → nextrec-0.4.5}/docs/en/Getting started guide.md +0 -0
  32. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/Makefile +0 -0
  33. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/index.md +0 -0
  34. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/make.bat +0 -0
  35. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/modules.rst +0 -0
  36. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/nextrec.basic.rst +0 -0
  37. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/nextrec.data.rst +0 -0
  38. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/nextrec.loss.rst +0 -0
  39. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/nextrec.rst +0 -0
  40. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/nextrec.utils.rst +0 -0
  41. {nextrec-0.4.4 → nextrec-0.4.5}/docs/rtd/requirements.txt +0 -0
  42. {nextrec-0.4.4 → nextrec-0.4.5}/docs/zh//345/277/253/351/200/237/344/270/212/346/211/213.md" +0 -0
  43. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/__init__.py +0 -0
  44. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/__init__.py +0 -0
  45. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/activation.py +0 -0
  46. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/callback.py +0 -0
  47. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/features.py +0 -0
  48. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/layers.py +0 -0
  49. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/loggers.py +0 -0
  50. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/metrics.py +0 -0
  51. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/model.py +0 -0
  52. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/basic/session.py +0 -0
  53. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/cli.py +0 -0
  54. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/data/__init__.py +0 -0
  55. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/data/batch_utils.py +0 -0
  56. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/data/data_processing.py +0 -0
  57. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/data/data_utils.py +0 -0
  58. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/data/dataloader.py +0 -0
  59. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/data/preprocessor.py +0 -0
  60. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/loss/__init__.py +0 -0
  61. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/loss/listwise.py +0 -0
  62. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/loss/loss_utils.py +0 -0
  63. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/loss/pairwise.py +0 -0
  64. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/loss/pointwise.py +0 -0
  65. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/generative/__init__.py +0 -0
  66. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/generative/hstu.py +0 -0
  67. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/generative/tiger.py +0 -0
  68. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/match/__init__.py +0 -0
  69. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/match/dssm.py +0 -0
  70. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/match/dssm_v2.py +0 -0
  71. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/match/mind.py +0 -0
  72. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/match/sdm.py +0 -0
  73. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/match/youtube_dnn.py +0 -0
  74. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/multi_task/__init__.py +0 -0
  75. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/multi_task/esmm.py +0 -0
  76. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/multi_task/mmoe.py +0 -0
  77. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/multi_task/ple.py +0 -0
  78. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/multi_task/poso.py +0 -0
  79. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/multi_task/share_bottom.py +0 -0
  80. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/__init__.py +0 -0
  81. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/afm.py +0 -0
  82. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/autoint.py +0 -0
  83. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/dcn.py +0 -0
  84. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/dcn_v2.py +0 -0
  85. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/deepfm.py +0 -0
  86. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/dien.py +0 -0
  87. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/din.py +0 -0
  88. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/fibinet.py +0 -0
  89. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/fm.py +0 -0
  90. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/masknet.py +0 -0
  91. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/pnn.py +0 -0
  92. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/widedeep.py +0 -0
  93. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/models/ranking/xdeepfm.py +0 -0
  94. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/__init__.py +0 -0
  95. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/config.py +0 -0
  96. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/device.py +0 -0
  97. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/distributed.py +0 -0
  98. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/embedding.py +0 -0
  99. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/feature.py +0 -0
  100. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/file.py +0 -0
  101. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/model.py +0 -0
  102. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/optimizer.py +0 -0
  103. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/synthetic_data.py +0 -0
  104. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec/utils/tensor.py +0 -0
  105. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/NextRec-CLI.md +0 -0
  106. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/NextRec-CLI_zh.md +0 -0
  107. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/feature_config.yaml +0 -0
  108. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/afm.yaml +0 -0
  109. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/autoint.yaml +0 -0
  110. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/dcn.yaml +0 -0
  111. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/deepfm.yaml +0 -0
  112. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/din.yaml +0 -0
  113. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/esmm.yaml +0 -0
  114. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/fibinet.yaml +0 -0
  115. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/fm.yaml +0 -0
  116. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/masknet.yaml +0 -0
  117. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/mmoe.yaml +0 -0
  118. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/ple.yaml +0 -0
  119. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/pnn.yaml +0 -0
  120. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/poso.yaml +0 -0
  121. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/share_bottom.yaml +0 -0
  122. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/widedeep.yaml +0 -0
  123. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/model_configs/xdeepfm.yaml +0 -0
  124. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/predict_config.yaml +0 -0
  125. {nextrec-0.4.4 → nextrec-0.4.5}/nextrec_cli_preset/train_config.yaml +0 -0
  126. {nextrec-0.4.4 → nextrec-0.4.5}/pytest.ini +0 -0
  127. {nextrec-0.4.4 → nextrec-0.4.5}/requirements.txt +0 -0
  128. {nextrec-0.4.4 → nextrec-0.4.5}/scripts/format_code.py +0 -0
  129. {nextrec-0.4.4 → nextrec-0.4.5}/test/__init__.py +0 -0
  130. {nextrec-0.4.4 → nextrec-0.4.5}/test/conftest.py +0 -0
  131. {nextrec-0.4.4 → nextrec-0.4.5}/test/run_tests.py +0 -0
  132. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_layers.py +0 -0
  133. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_losses.py +0 -0
  134. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_match_models.py +0 -0
  135. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_multitask_models.py +0 -0
  136. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_preprocessor.py +0 -0
  137. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_ranking_models.py +0 -0
  138. {nextrec-0.4.4 → nextrec-0.4.5}/test/test_utils.py +0 -0
  139. {nextrec-0.4.4 → nextrec-0.4.5}/test_requirements.txt +0 -0
  140. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/distributed/example_distributed_training.py +0 -0
  141. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/distributed/example_distributed_training_large_dataset.py +0 -0
  142. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/example_match_dssm.py +0 -0
  143. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/example_multitask.py +0 -0
  144. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/example_ranking_din.py +0 -0
  145. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/movielen_match_dssm.py +0 -0
  146. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/movielen_ranking_deepfm.py +0 -0
  147. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/notebooks/en/Hands on dataprocessor.ipynb +0 -0
  148. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/notebooks/en/Hands on nextrec.ipynb +0 -0
  149. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/notebooks/zh/Hands on dataprocessor.ipynb +0 -0
  150. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/notebooks/zh/Hands on nextrec.ipynb +0 -0
  151. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/run_all_match_models.py +0 -0
  152. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/run_all_multitask_models.py +0 -0
  153. {nextrec-0.4.4 → nextrec-0.4.5}/tutorials/run_all_ranking_models.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextrec
3
- Version: 0.4.4
3
+ Version: 0.4.5
4
4
  Summary: A comprehensive recommendation library with match, ranking, and multi-task learning models
5
5
  Project-URL: Homepage, https://github.com/zerolovesea/NextRec
6
6
  Project-URL: Repository, https://github.com/zerolovesea/NextRec
@@ -63,7 +63,7 @@ Description-Content-Type: text/markdown
63
63
  ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)
64
64
  ![PyTorch](https://img.shields.io/badge/PyTorch-1.10+-ee4c2c.svg)
65
65
  ![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)
66
- ![Version](https://img.shields.io/badge/Version-0.4.4-orange.svg)
66
+ ![Version](https://img.shields.io/badge/Version-0.4.5-orange.svg)
67
67
 
68
68
  English | [中文文档](README_zh.md)
69
69
 
@@ -230,11 +230,11 @@ nextrec --mode=train --train_config=path/to/train_config.yaml
230
230
  nextrec --mode=predict --predict_config=path/to/predict_config.yaml
231
231
  ```
232
232
 
233
- > As of version 0.4.4, NextRec CLI supports single-machine training; distributed training features are currently under development.
233
+ > As of version 0.4.5, NextRec CLI supports single-machine training; distributed training features are currently under development.
234
234
 
235
235
  ## Platform Compatibility
236
236
 
237
- The current version is 0.4.4. All models and test code have been validated on the following platforms. If you encounter compatibility issues, please report them in the issue tracker with your system version:
237
+ The current version is 0.4.5. All models and test code have been validated on the following platforms. If you encounter compatibility issues, please report them in the issue tracker with your system version:
238
238
 
239
239
  | Platform | Configuration |
240
240
  |----------|---------------|
@@ -7,7 +7,7 @@
7
7
  ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)
8
8
  ![PyTorch](https://img.shields.io/badge/PyTorch-1.10+-ee4c2c.svg)
9
9
  ![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)
10
- ![Version](https://img.shields.io/badge/Version-0.4.4-orange.svg)
10
+ ![Version](https://img.shields.io/badge/Version-0.4.5-orange.svg)
11
11
 
12
12
  English | [中文文档](README_zh.md)
13
13
 
@@ -174,11 +174,11 @@ nextrec --mode=train --train_config=path/to/train_config.yaml
174
174
  nextrec --mode=predict --predict_config=path/to/predict_config.yaml
175
175
  ```
176
176
 
177
- > As of version 0.4.4, NextRec CLI supports single-machine training; distributed training features are currently under development.
177
+ > As of version 0.4.5, NextRec CLI supports single-machine training; distributed training features are currently under development.
178
178
 
179
179
  ## Platform Compatibility
180
180
 
181
- The current version is 0.4.4. All models and test code have been validated on the following platforms. If you encounter compatibility issues, please report them in the issue tracker with your system version:
181
+ The current version is 0.4.5. All models and test code have been validated on the following platforms. If you encounter compatibility issues, please report them in the issue tracker with your system version:
182
182
 
183
183
  | Platform | Configuration |
184
184
  |----------|---------------|
@@ -7,7 +7,7 @@
7
7
  ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)
8
8
  ![PyTorch](https://img.shields.io/badge/PyTorch-1.10+-ee4c2c.svg)
9
9
  ![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)
10
- ![Version](https://img.shields.io/badge/Version-0.4.4-orange.svg)
10
+ ![Version](https://img.shields.io/badge/Version-0.4.5-orange.svg)
11
11
 
12
12
  [English Version](README.md) | 中文文档
13
13
 
@@ -174,11 +174,11 @@ nextrec --mode=train --train_config=path/to/train_config.yaml
174
174
  nextrec --mode=predict --predict_config=path/to/predict_config.yaml
175
175
  ```
176
176
 
177
- > 截止当前版本0.4.4,NextRec CLI支持单机训练,分布式训练相关功能尚在开发中。
177
+ > 截止当前版本0.4.5,NextRec CLI支持单机训练,分布式训练相关功能尚在开发中。
178
178
 
179
179
  ## 兼容平台
180
180
 
181
- 当前最新版本为0.4.4,所有模型和测试代码均已在以下平台通过验证,如果开发者在使用中遇到兼容问题,请在issue区提出错误报告及系统版本:
181
+ 当前最新版本为0.4.5,所有模型和测试代码均已在以下平台通过验证,如果开发者在使用中遇到兼容问题,请在issue区提出错误报告及系统版本:
182
182
 
183
183
  | 平台 | 配置 |
184
184
  |------|------|
@@ -11,7 +11,7 @@ sys.path.insert(0, str(PROJECT_ROOT / "nextrec"))
11
11
  project = "NextRec"
12
12
  copyright = "2025, Yang Zhou"
13
13
  author = "Yang Zhou"
14
- release = "0.4.4"
14
+ release = "0.4.5"
15
15
 
16
16
  extensions = [
17
17
  "myst_parser",
@@ -0,0 +1 @@
1
+ __version__ = "0.4.5"
@@ -5,7 +5,7 @@ Date: create on 13/11/2025
5
5
  Author: Yang Zhou, zyaztec@gmail.com
6
6
  """
7
7
 
8
- from typing import Any, Dict, Set,
8
+ from typing import Any, Dict, Set
9
9
 
10
10
  import torch.nn as nn
11
11
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nextrec"
3
- version = "0.4.4"
3
+ version = "0.4.5"
4
4
  description = "A comprehensive recommendation library with match, ranking, and multi-task learning models"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1 +0,0 @@
1
- __version__ = "0.4.4"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes