Transformers How to use ICML2022/Tranception with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="ICML2022/Tranception") # Load model directly
from transformers import AutoModelWithLMHead
model = AutoModelWithLMHead.from_pretrained("ICML2022/Tranception", dtype="auto")