How to use KotshinZ/gpt2-RMT-2 with Transformers:
# Load model directly from transformers import RecurrentMemoryTransformer model = RecurrentMemoryTransformer.from_pretrained("KotshinZ/gpt2-RMT-2", dtype="auto")