Views
No views yet
1
2from rl-framework import CustomAgent, CustomAlgorithm
3
4# Create new agent instance
5agent = CustomAgent(
6 algorithm=CustomAlgorithm.Remote-QLearning
7 algorithm_parameters={
8 ...
9 },
10)
11
12# Download existing agent from HF Hub
13repository_id = "zap-thamm/Remote-QLearning-Taxi-v3"
14file_name = "algorithm.pkl"
15agent.download(repository_id=repository_id, filename=file_name)
16