Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLMLab/MOSS-RLHF
/ eval
Method
eval
ppo/ppo_trainer.py:42–44 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
40
self.critic_model.train(mode)
41
42
def
eval(self):
43
self.policy_model.eval()
44
self.critic_model.eval()
45
46
47
class
PPOTrainer():
Callers
4
evaluate
Method · 0.80
__init__
Method · 0.80
make_experiences
Method · 0.80
evaluate
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected