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