Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] inference benchmarking using transformers #1015

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
227 changes: 227 additions & 0 deletions T4Rec_repro/rees46_schema_modified.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
feature {
name: "sess_pid_seq"
value_count {
min: 2
}
type: INT
int_domain {
name: "sess_pid_seq"
min: 1
max: 390000
is_categorical: true
}
annotation {
tag: "item_id"
tag: "list"
tag: "categorical"
tag: "item"
}
}

feature {
name: "sess_ccid_seq"
value_count {
min: 2
max: 20
}
type: INT
int_domain {
name: "sess_ccid_seq"
min: 1
max: 150
is_categorical: true
}
annotation {
tag: "list"
tag: "categorical"
tag: "item"
}
}

feature {
name: "sess_csid_seq"
value_count {
min: 2
max: 20
}
type: INT
int_domain {
name: "sess_csid_seq"
min: 1
max: 1400
is_categorical: true
}
annotation {
tag: "list"
tag: "categorical"
tag: "item"
}
}


feature {
name: "sess_bid_seq"
value_count {
min: 2
max: 20
}
type: INT
int_domain {
name: "sess_bid_seq"
min: 1
max: 7000
is_categorical: true
}
annotation {
tag: "list"
tag: "categorical"
tag: "item"
}
}

feature {
name: "sess_price_log_norm_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_price_log_norm_seq"
min: 0.0
max: 10000.0
}
annotation {
tag: "item"
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_relative_price_to_avg_category_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_relative_price_to_avg_category_seq"
min: -10000.0
max: 10000.0
}
annotation {
tag: "item"
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_prod_recency_days_log_norm_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_prod_recency_days_log_norm_seq"
min: -10000.0
max: 10000.0
}
annotation {
tag: "item"
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_et_hour_sin_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_et_hour_sin_seq"
min: -1.0
max: 1.0
}
annotation {
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_et_hour_cos_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_et_hour_cos_seq"
min: -1.0
max: 1.0
}
annotation {
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_et_dayofweek_sin_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_et_dayofweek_sin_seq"
min: -1.0
max: 1.0
}
annotation {
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_et_dayofweek_cos_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_et_dayofweek_cos_seq"
min: -1.0
max: 1.0
}
annotation {
tag: "list"
tag: "continuous"
}
}

feature {
name: "sess_etime_seq"
value_count {
min: 2
max: 20
}
type: FLOAT
float_domain {
name: "sess_etime_seq"
min: 0
max: 0
}
annotation {
tag: "time"
tag: "list"
}
}
1,597 changes: 1,597 additions & 0 deletions T4Rec_repro/reproducing_T4Rec_results.ipynb

Large diffs are not rendered by default.

Loading