Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: shenweichen/DeepCTR
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.6
Choose a base ref
...
head repository: shenweichen/DeepCTR
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 16 commits
  • 123 files changed
  • 7 contributors

Commits on Jul 12, 2021

  1. New Feature: Modify the Hash layer to support the lookup table (#387)

    New Feature: 
    
    Modify the `Hash` layer to support the lookup feature. 
    
    Now there are two hash techniques  supported in the `Hash` layer:
    
    1. Lookup Table: when setup `vocabulary_path`,  it can looks up input keys in a table  and output the corresponding values. Missed keys are always return the default value, eg. `0`.
    2. Bucket Hash: when `vocabulary_path` is not set, `Hash` will hash the input keys to [0,num_buckets). Parameter `mask_zero` can set `True`, which will set the hash value `0` when the input keys are `0` or `0.0`, and other value will be hash in range [1,num_buckets).
    
    Initializing `Hash` with `vocabulary_path` CSV file which need follow the convention:the first column as keys and second column as values which are seperated by comma. 
    
    The following is example snippet:
    
        * `1,emerson`
        * `2,lake`
        * `3,palmer`
    
        >>> hash = Hash(
        ...   num_buckets=3+1,
        ...   vocabulary_path=filename,
        ...   default_value=0)
        >>> hash(tf.constant('lake')).numpy()
        2
        >>> hash(tf.constant('lakeemerson')).numpy()
        0
    dengc367 authored Jul 12, 2021
    Copy the full SHA
    825bba1 View commit details

Commits on Jul 18, 2021

  1. update examples

    shenweichen authored Jul 18, 2021
    Copy the full SHA
    95ad62e View commit details
  2. Support pre-defined key-value vocabulary in Hash Layer

    New Feature: Support pre-defined key-value vocabulary in Hash Layer
    shenweichen authored Jul 18, 2021
    Copy the full SHA
    9f15559 View commit details

Commits on Aug 31, 2021

  1. Dev lmc: add multi task learning models (#391)

    add multi task learning models:add Shared-Bottom, ESSM, MMOE, CGC, PLE
    morningsky authored Aug 31, 2021
    Copy the full SHA
    2491dfb View commit details

Commits on Sep 3, 2021

  1. optimize and refactor codes of multitask models (#402)

    - optimize and refactor codes of multitask models
    - set dnn_hidden_units parameter to (256, 128, 64) for all models
    - adjust code structure 
    - add docs and examples
    shenweichen authored Sep 3, 2021
    Copy the full SHA
    fc49d2f View commit details
  2. fix truncated feature value error when padding string sequence in run…

    …_multivalue_movielens_hash.py
    shenweichen committed Sep 3, 2021
    Copy the full SHA
    1cbcb45 View commit details
  3. Add multitask models:SharedBottom, ESSM, MMOE, PLE

    - add multitask learning models:SharedBottom, ESSM, MMOE, PLE
    - set `dnn_hidden_units` parameter to `(256, 128, 64)`
    - add new package `deepctr.models.multitask` and `deepctr.models.sequence` 
    - fix truncated feature value error when padding string sequence in run_multivalue_movielens_hash.py
    shenweichen authored Sep 3, 2021
    Copy the full SHA
    35288ae View commit details

Commits on Sep 13, 2021

  1. Add tutorials to submit a distributed training job on Kubernetes. (#409)

    Add tutorials to submit a distributed training job on Kubernetes
    workingloong authored Sep 13, 2021
    Copy the full SHA
    cd9643c View commit details

Commits on Jun 11, 2022

  1. improve compatibility

    improve compatibility with tensorflow 2.x
    shenweichen authored Jun 11, 2022
    Copy the full SHA
    9564e05 View commit details

Commits on Oct 16, 2022

  1. support python 3.9&3.10

    - support python 3.9 and 3.10
    - support `cos` and `ln` attention_type in transformer
    - polish docstring
    shenweichen authored Oct 16, 2022
    Copy the full SHA
    ec78b9b View commit details

Commits on Nov 2, 2022

  1. Add EDCN model.

    * feat: Add EDCN model.
    
    Co-authored-by: 何意 <heyi.jack@bytedance.com>
    Co-authored-by: 浅梦 <weichenswc@163.com>
    3 people authored Nov 2, 2022
    Copy the full SHA
    c13aba6 View commit details

Commits on Nov 9, 2022

  1. update EDCN &fix typo

    update EDCN &fix typo
    shenweichen authored Nov 9, 2022
    Copy the full SHA
    91dc7c6 View commit details
  2. fix: h5py version in python>=3.9 (#500)

    * fix: h5py version in python>=3.9
    Co-authored-by: 浅梦 <weichenswc@163.com>
    orlevii authored Nov 9, 2022
    Copy the full SHA
    e756480 View commit details
  3. update doc

    shenweichen committed Nov 9, 2022
    Copy the full SHA
    6789597 View commit details

Commits on Nov 10, 2022

  1. add EDCN model

    - add EDCN model
    - fix savedmodel error in tf2.4
    - fix typo in position encoding layer
    shenweichen authored Nov 10, 2022
    Copy the full SHA
    4db36c2 View commit details

Commits on Nov 11, 2022

  1. Update ci2.yml

    shenweichen authored Nov 11, 2022
    Copy the full SHA
    e8f4d81 View commit details
Loading