How to use stojchet/discriminator-python with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("stojchet/discriminator-python", dtype="auto")