Skip to content

Commit df1fae5

Browse files
committed
Update README.md
1 parent e363b57 commit df1fae5

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ You can directly utilize the provided checkpoints on Hugging Face for evaluation
158158

159159
### Text-based Zero-shot Recommendation
160160

161-
To evaluate EasyRec for text-based zero-shot recommendation, we conduct experiments on the `sports`, `steam`, and `yelp` datasets. First, run the following commands to encode the text embeddings for user/item profiles under these three datasets (to utilize the checkpoints obtained from your own training, simply change the argument to `--model ./checkpoints/easyrec-roberta-large`):
161+
To evaluate EasyRec for text-based zero-shot recommendation, we conduct experiments on the `movies` dataset. First, run the following commands to encode the text embeddings for user/item profiles under these three datasets (to utilize the checkpoints obtained from your own training, simply change the argument to `--model ./checkpoints/easyrec-roberta-large`):
162162

163163
```bash
164-
python encode_easyrec.py --model hkuds/easyrec-roberta-large --cuda 0
164+
python encode_easyrec.py --model hkuds/easyrec-roberta-base --cuda 0
165165
```
166166

167167
To encode text embeddings for all models:
@@ -173,7 +173,7 @@ sh encode.sh
173173
Then, conduct the evaluation (only the model name for the argument `--model` here):
174174

175175
```bash
176-
python eval_text_emb.py --model easyrec-roberta-large --cuda 0
176+
python eval_text_emb.py --model easyrec-roberta-base --cuda 0
177177
```
178178

179179
To evaluate all models:
@@ -190,15 +190,15 @@ Since there are 3 diversified profiles for both user and item in each dataset, w
190190
We conduct evaluation on text-enhanced collaborative filtering performance on the `steam` dataset. To evaluate EasyRec, please ensure that you have already encoded text embeddings for the `steam` dataset with the command:
191191

192192
```bash
193-
python encode_easyrec.py --model hkuds/easyrec-roberta-large --cuda 0
193+
python encode_easyrec.py --model hkuds/easyrec-roberta-base --cuda 0
194194
```
195195

196196
Then, navigate to the `cf_rec` folder by running `cd cf_rec`. After that, execute the following commands to evaluate:
197197

198198
- Base model
199199

200200
```bash
201-
python run.py --model {model_name} --dataset steam --cuda 0
201+
python run.py --model {model_name} --dataset movies --cuda 0
202202
```
203203

204204
or
@@ -210,7 +210,7 @@ Then, navigate to the `cf_rec` folder by running `cd cf_rec`. After that, execut
210210
- Text-enhanced model
211211

212212
```bash
213-
python run.py --model {model_name}_plus --semantic easyrec-roberta-large --dataset steam --cuda 0
213+
python run.py --model {model_name}_plus --semantic easyrec-roberta-base --dataset movies --cuda 0
214214
```
215215

216216
or

cf_rec/cf_text_enhanced.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
models=(
44
# HF models
5-
# "easyrec-roberta-small"
6-
# "easyrec-roberta-base"
7-
# "easyrec-roberta-large"
8-
# "roberta-base"
9-
# "roberta-large"
10-
# "bert-base-uncased"
11-
# "bert-large-uncased"
12-
# "sup-simcse-roberta-base"
13-
# "sup-simcse-roberta-large"
14-
# # Local models
15-
# "easyrec-small"
16-
# "easyrec-base"
5+
"easyrec-roberta-small"
6+
"easyrec-roberta-base"
7+
"easyrec-roberta-large"
8+
"roberta-base"
9+
"roberta-large"
10+
"bert-base-uncased"
11+
"bert-large-uncased"
12+
"sup-simcse-roberta-base"
13+
"sup-simcse-roberta-large"
14+
# Local models
15+
"easyrec-small"
16+
"easyrec-base"
1717
"easyrec-large"
1818
)
1919

0 commit comments

Comments
 (0)