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