DeepMatch icon indicating copy to clipboard operation
DeepMatch copied to clipboard

A deep matching model library for recommendations & advertising. It's easy to train models and to export representation vectors which can be used for ANN search.

Results 44 DeepMatch issues
Sort by recently updated
recently updated
newest added

我想在MIND里添加多个item features。比如movielens里面的movie_id和genres。我是新手,所以尽量基于你的代码改。我现在遇到的问题是,需要给SampledSoftmaxLayer传递所有的item features的embedding。不同的tem feature的embedding的vocabulary_size是不一样的。怎样才能把多个item features的embedding给链接起来呢。 具体是mind.py里面的这段代码。如果item_features是多个的话,怎么办。 item_inputs_list = list(item_features.values()) item_embedding_matrix = embedding_matrix_dict[item_feature_name] item_index = EmbeddingIndex(list(range(item_vocabulary_size)))(item_features[item_feature_name]) item_embedding_weight = NoMask()(item_embedding_matrix(item_index)) pooling_item_embedding_weight = PoolingLayer()([item_embedding_weight]) output = SampledSoftmaxLayer(num_sampled=num_sampled)( inputs=(pooling_item_embedding_weight,user_embedding_final, item_features[item_feature_name])) 万分感谢

question

只能导出h5格式模型,pb格式无法导出: 导出模型code如下: tf.saved_model.save(model, outputDir + 'YouTubeNet_model2') 或: from tensorflow.python.keras.models import Model, load_model, save_model save_model(model, 'YouTubeNet_model.pb',save_format='tf') 报错如下: Traceback (most recent call last): File "F:/python/DeepMatch-master/examples/**run_youtubednn**.py", line 70, in tf.saved_model.save(model, outputDir + 'YouTubeNet_model2')...

运行dssm的sample时出现AttributeError: 'Model' object has no attribute 'user_input',请问怎么解决?

question

Please refer to the [FAQ](https://deepmatch.readthedocs.io/en/latest/FAQ.html) in doc and search for the [related issues](https://github.com/shenweichen/DeepMatch/issues) before you ask the question. **Describe the question(问题描述)** A clear and concise description of what the question...

question

目前版本是否支持分布式训练呢,能简单介绍一下从哪些方面改进以支持分布式训练吗

question

_SymbolicException: Inputs to eager execution function cannot be Keras symbolic tensors, but found []

目前在SDM模型代码60行打印不支持dense feature,raise ValueError("Now SDM don't support dense feature"),能否加上?

Please refer to the [FAQ](https://deepmatch.readthedocs.io/en/latest/FAQ.html) in doc and search for the [related issues](https://github.com/shenweichen/DeepMatch/issues) before you ask the question. **Describe the question(问题描述)** 如FM代码这里[链接](https://github.com/shenweichen/DeepMatch/blob/master/deepmatch/models/fm.py#L39),实际上会把类别特征向量相加,但是对于数值特征不参与建模,是吗 **Additional context** Add any other context about the...

question