nextrec 0.4.19__py3-none-any.whl → 0.4.20__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.
- nextrec/__version__.py +1 -1
- nextrec/cli.py +3 -4
- {nextrec-0.4.19.dist-info → nextrec-0.4.20.dist-info}/METADATA +4 -4
- {nextrec-0.4.19.dist-info → nextrec-0.4.20.dist-info}/RECORD +7 -7
- {nextrec-0.4.19.dist-info → nextrec-0.4.20.dist-info}/WHEEL +0 -0
- {nextrec-0.4.19.dist-info → nextrec-0.4.20.dist-info}/entry_points.txt +0 -0
- {nextrec-0.4.19.dist-info → nextrec-0.4.20.dist-info}/licenses/LICENSE +0 -0
nextrec/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.4.
|
|
1
|
+
__version__ = "0.4.20"
|
nextrec/cli.py
CHANGED
|
@@ -85,7 +85,8 @@ def train_model(train_config_path: str) -> None:
|
|
|
85
85
|
session_id = session_cfg.get("id", "nextrec_cli_session")
|
|
86
86
|
artifact_root = Path(session_cfg.get("artifact_root", "nextrec_logs"))
|
|
87
87
|
session_dir = artifact_root / session_id
|
|
88
|
-
|
|
88
|
+
|
|
89
|
+
setup_logger(session_id=session_dir.resolve())
|
|
89
90
|
|
|
90
91
|
log_cli_section("CLI")
|
|
91
92
|
log_kv_lines(
|
|
@@ -419,8 +420,7 @@ def predict_model(predict_config_path: str) -> None:
|
|
|
419
420
|
session_cfg = cfg.get("session", {}) or {}
|
|
420
421
|
session_id = session_cfg.get("id") or session_dir.name
|
|
421
422
|
|
|
422
|
-
setup_logger(session_id=
|
|
423
|
-
|
|
423
|
+
setup_logger(session_id=session_dir.resolve())
|
|
424
424
|
log_cli_section("CLI")
|
|
425
425
|
log_kv_lines(
|
|
426
426
|
[
|
|
@@ -585,7 +585,6 @@ def predict_model(predict_config_path: str) -> None:
|
|
|
585
585
|
chunk_size=predict_cfg.get("chunk_size", 20000),
|
|
586
586
|
)
|
|
587
587
|
|
|
588
|
-
|
|
589
588
|
save_format = predict_cfg.get(
|
|
590
589
|
"save_data_format", predict_cfg.get("save_format", "csv")
|
|
591
590
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nextrec
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.20
|
|
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
|
|
@@ -67,7 +67,7 @@ Description-Content-Type: text/markdown
|
|
|
67
67
|

|
|
68
68
|

|
|
69
69
|

|
|
70
|
-

|
|
71
71
|
[](https://deepwiki.com/zerolovesea/NextRec)
|
|
72
72
|
|
|
73
73
|
中文文档 | [English Version](README_en.md)
|
|
@@ -245,11 +245,11 @@ nextrec --mode=predict --predict_config=path/to/predict_config.yaml
|
|
|
245
245
|
|
|
246
246
|
预测结果固定保存到 `{checkpoint_path}/predictions/{name}.{save_data_format}`。
|
|
247
247
|
|
|
248
|
-
> 截止当前版本0.4.
|
|
248
|
+
> 截止当前版本0.4.20,NextRec CLI支持单机训练,分布式训练相关功能尚在开发中。
|
|
249
249
|
|
|
250
250
|
## 兼容平台
|
|
251
251
|
|
|
252
|
-
当前最新版本为0.4.
|
|
252
|
+
当前最新版本为0.4.20,所有模型和测试代码均已在以下平台通过验证,如果开发者在使用中遇到兼容问题,请在issue区提出错误报告及系统版本:
|
|
253
253
|
|
|
254
254
|
| 平台 | 配置 |
|
|
255
255
|
|------|------|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
nextrec/__init__.py,sha256=_M3oUqyuvQ5k8Th_3wId6hQ_caclh7M5ad51XN09m98,235
|
|
2
|
-
nextrec/__version__.py,sha256=
|
|
3
|
-
nextrec/cli.py,sha256=
|
|
2
|
+
nextrec/__version__.py,sha256=WCSj_sB9bdEmI7lwg4E_Vhy7TRLJmGYIYjp5bfMMYXE,23
|
|
3
|
+
nextrec/cli.py,sha256=rHATyy1v7ERPqkHNUf4-JTlRMdmlfgHd6VBNKR-Ik7o,24347
|
|
4
4
|
nextrec/basic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
nextrec/basic/activation.py,sha256=uzTWfCOtBSkbu_Gk9XBNTj8__s241CaYLJk6l8nGX9I,2885
|
|
6
6
|
nextrec/basic/callback.py,sha256=nn1f8FG9c52vJ-gvwteqPbk3-1QuNS1vmhBlkENdb0I,14636
|
|
@@ -72,8 +72,8 @@ nextrec/utils/embedding.py,sha256=akAEc062MG2cD7VIOllHaqtwzAirQR2gq5iW7oKpGAU,14
|
|
|
72
72
|
nextrec/utils/feature.py,sha256=rsUAv3ELyDpehVw8nPEEsLCCIjuKGTJJZuFaWB_wrPk,633
|
|
73
73
|
nextrec/utils/model.py,sha256=fHvFciUuMOVcM1oWiRva4LcArRdZ1R5Uzml-COSqqvM,4688
|
|
74
74
|
nextrec/utils/torch_utils.py,sha256=AKfYbSOJjEw874xsDB5IO3Ote4X7vnqzt_E0jJny0o8,13468
|
|
75
|
-
nextrec-0.4.
|
|
76
|
-
nextrec-0.4.
|
|
77
|
-
nextrec-0.4.
|
|
78
|
-
nextrec-0.4.
|
|
79
|
-
nextrec-0.4.
|
|
75
|
+
nextrec-0.4.20.dist-info/METADATA,sha256=k_ph4RolNDzWnSYvhiIjopNiQOJHPs2fgeUcyg7-h80,21482
|
|
76
|
+
nextrec-0.4.20.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
77
|
+
nextrec-0.4.20.dist-info/entry_points.txt,sha256=NN-dNSdfMRTv86bNXM7d3ZEPW2BQC6bRi7QP7i9cIps,45
|
|
78
|
+
nextrec-0.4.20.dist-info/licenses/LICENSE,sha256=2fQfVKeafywkni7MYHyClC6RGGC3laLTXCNBx-ubtp0,1064
|
|
79
|
+
nextrec-0.4.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|