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

FEA: Replace 'neg_sampling' #1570

Merged
merged 1 commit into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/user_guide/model/general/cdae.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ And then:

python run.py

**Note**: Because this model is a non-sampling model, so you must set ``neg_sampling=None`` when you run this model.
**Note**: Because this model is a non-sampling model, so you must set ``train_neg_sample_args=None`` when you run this model.

Tuning Hyper Parameters
-------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user_guide/model/general/macridvae.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Write the following code to a python file, such as `run.py`
from recbole.quick_start import run_recbole

parameter_dict = {
'neg_sampling': None,
'train_neg_sample_args': None,
}
run_recbole(model='MacridVAE', dataset='ml-100k', config_dict=parameter_dict)

Expand All @@ -71,7 +71,7 @@ And then:

python run.py

**Note**: Because this model is a non-sampling model, so you must set ``neg_sampling=None`` when you run this model.
**Note**: Because this model is a non-sampling model, so you must set ``train_neg_sample_args=None`` when you run this model.

Tuning Hyper Parameters
-------------------------
Expand Down