Instructions to use AzadDjan/modernbert-large-banking77-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AzadDjan/modernbert-large-banking77-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("answerdotai/ModernBERT-large") model = PeftModel.from_pretrained(base_model, "AzadDjan/modernbert-large-banking77-lora") - Transformers
How to use AzadDjan/modernbert-large-banking77-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AzadDjan/modernbert-large-banking77-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!