Downloads · 30 days
0
trl-lib/ddpo-aesthetic-predictor
ddpo-aesthetic-predictor is a machine learning model from trl-lib. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This reprository contains the weights of the aesthetic predictor that you can find in the repository: https://github.com/christophschuhmann/improved-aesthetic-predictor so that any use can load it easily using hugging…
Downloads · 30 days
0
Access
Public
Updated Aug 18, 2023
Repo size
3.7 MB
Likes
4
Public
Click a slice to open those files.
.pth3.7 MB · 100%
From the Hugging Face model README
This reprository contains the weights of the aesthetic predictor that you can find in the repository: https://github.com/christophschuhmann/improved-aesthetic-predictor so that any use can load it easily using huggingface_hub library.
import torch
from huggingface_hub import hf_hub_download
cached_path = hf_hub_download(
'trl-lib',
'aesthetic-model.pth'
)
state_dict = torch.load(cached_path)