Correct variable used in pickle dump in `mind_utils.ipynb`

Fixed an issue where the incorrect variable `word_dict` was being dumped to word_dict_all.pkl instead of `word_dict_all` in the `mind_utils.ipynb` notebook.

Signed-off-by: aaron <aaron_palpallatoc@dlsu.edu.ph>
This commit is contained in:
aaronpal 2024-08-27 20:33:12 +08:00 коммит произвёл aaron
Родитель 10d0c2960e
Коммит 1eb6619e7d
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -52,6 +52,8 @@ To contributors: please add your name to the list when you submit a patch to the
* **[Aaron He](https://github.com/AaronHeee)**
* Reco utils of NCF
* Deep dive notebook demonstrating the use of NCF
* **[Aaron Palpallatoc](https://github.com/ubergonmx)**
* Corrected variable in pickle dump in `mind_utils.ipynb` notebook
* **[Abir Chakraborty](https://github.com/aeroabir)**
* Self-Attentive Sequential Recommendation (SASRec)
* Sequential Recommendation Via Personalized Transformer (SSEPT)

Просмотреть файл

@ -306,7 +306,7 @@
" pickle.dump(word_dict, f)\n",
" \n",
"with open(os.path.join(output_path, 'word_dict_all.pkl'), 'wb') as f:\n",
" pickle.dump(word_dict, f)"
" pickle.dump(word_dict_all, f)"
]
},
{