salesforce / CodeT5

Home of CodeT5: Open Code LLMs for Code Understanding and Generation
https://arxiv.org/abs/2305.07922
BSD 3-Clause "New" or "Revised" License
2.71k stars 396 forks source link

Make exp_with_args.sh runnable by any user #2

Closed klavinski closed 2 years ago

klavinski commented 2 years ago

The user wang.y is hard-coded into sh/exp_with_args.sh. It would be great if one could just clone the repository, install the dependencies, and run exp_with_args.sh.

yuewang-sf commented 2 years ago

Hi @klavinski, thanks for the advice! We have improved the scripts accordingly. You just need to revise the following line into your downloaded CodeT5 path: https://github.com/salesforce/CodeT5/blob/100c7e55c1e120600a2e114e828a157d265a2411/sh/exp_with_args.sh#L1