Comments (4)
feat_dict_10.pkl2这个文件在rank下的fm,deepfm等模型中的数据处理过程中使用,是下载数据集时自带的文件。在get_slot_data.py文件中用于生成特征字典。将数据集中的格式转化为可以直接输入模型的slot格式数据。如果您需要使用自己的数据集的话,需要自己根据数据集做数据处理。关于slot的数据格式您可以参考这个:https://github.com/PaddlePaddle/PaddleRec/blob/master/doc/slot_reader.md
如果您需要将数据集用自定义的方式输入模型,可以参考这个:https://github.com/PaddlePaddle/PaddleRec/blob/master/doc/custom_reader.md
from paddlerec.
@yinhaofeng 谢谢,但是和
https://github.com/PaddlePaddle/PaddleRec/blob/master/models/rank/deepfm/data/get_slot_data.py
的写法还是有些区别的,那我应该以哪种为标准呢?
from paddlerec.
处理方式不同是由于dnn模型和deepfm模型在各自的config.yaml中输入时写法不同而引起的,两种写法都能正常输入。您看的是deepfm模型的数据处理的话,可以结合deepfm模型的config.yaml中的sparse_slots,dense_slots输入方式进行理解。一个slot_name可以只对应一个值,也可以根据需要对应多个值。
from paddlerec.
处理方式不同是由于dnn模型和deepfm模型在各自的config.yaml中输入时写法不同而引起的
好的,多谢您。
from paddlerec.
Related Issues (20)
- ValueError: The ``path`` (output_model_xdeepfm/0/rec.pdparams) to load model not exists.
- 关于MHCN代码的Loss function问题请教。
- 同样是Session Based Recommendation算法,为什么GRU4Rec是用于召回,而BERT4Rec用于排序? HOT 1
- Ple模型获取数据时出错 HOT 1
- 关于escm2中的操作 HOT 1
- 运行paddlerec报错OSError: (External) adam XDNN Error, XDNN_RUNTIME_ERROR (at /data/paddle/Paddle/paddle/phi/kernels/selected_rows/xpu/adam_kernel.cc:318)
- 运行paddlerec报错OSError: (External) adam XDNN Error, XDNN_RUNTIME_ERROR (at /data/paddle/Paddle/paddle/phi/kernels/selected_rows/xpu/adam_kernel.cc:318) HOT 1
- Implement Fastformer in the rank models for the experiments on MIND dataset HOT 1
- config.yaml文件中save_inference_fetch_varnames参数的问题 HOT 3
- Warning:: 0D Tensor cannot be used as 'Tensor.numpy()[0]' . HOT 1
- 排序模型
- ModuleNotFoundError: No module named 'paddle.fluid' HOT 5
- 运行paddle_infer.py报错
- PaddleRec的deepfm模型不明原因出core #61629
- mmoe模型配置缺少auc_num导致AUC计算错误
- Word2Vec 负样本 id 没有做到单词的映射
- Requirement.parse Error
- MMOE\PLE模型sparse特征为什么没有转化为embedding啊?
- ESCM2模型的IPW代码
- config.yaml开启了use_inference: True,为什么执行静态图训练(static_trainer.py)保存的模型缺少rec_inference.pdiparams
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddlerec.