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