Skip to content

Commit 7a5fbe7

Browse files
authored
Update reward_main.py (PaddlePaddle#7880)
1 parent d4de12c commit 7a5fbe7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

examples/RLHF/reward_main.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@
3232
from paddlenlp.transformers import AutoConfig, AutoTokenizer, LlamaTokenizer
3333
from paddlenlp.utils.log import logger
3434

35-
# launch would unset http_proxy
36-
# export https_proxy=http://172.19.57.45:3128
37-
# os.environ["http_proxy"] = "http://172.19.57.45:3128"
38-
# os.environ["https_proxy"] = "http://172.19.57.45:3128"
39-
os.environ["http_proxy"] = "http://10.162.37.16:8128"
40-
os.environ["https_proxy"] = "http://10.162.37.16:8128"
41-
42-
4335
@dataclass
4436
class TrainingArguments(TrainingArguments):
4537
loss_type: Literal["token-wise", "sequence-wise"] = field(

0 commit comments

Comments
 (0)