How to use OATML-Markslab/Tranception_Small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="OATML-Markslab/Tranception_Small")
# Load model directly from transformers import AutoModelWithLMHead model = AutoModelWithLMHead.from_pretrained("OATML-Markslab/Tranception_Small", dtype="auto")
What is a pickle import?