Transformers How to use Swakin/spt3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Swakin/spt3") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Swakin/spt3", dtype="auto")