Views
No views yet
1from huggingface_hub import hf_hub_download
2import pickle5 as pickle
3
4model_file = hf_hub_download(repo_id="atorre/Taxi-v3", filename="q-learning.pkl")
5with open(model_file, 'rb') as f:
6 model = pickle.load(f)
7
8env = gym.make(model["env_id"])