Transformers How to use Winmodel/custom-gpt with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="Winmodel/custom-gpt", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Winmodel/custom-gpt", trust_remote_code=True, dtype="auto")