Instructions to use Jiahao123/financial_classifier_peft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jiahao123/financial_classifier_peft with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google-bert/bert-base-cased") model = PeftModel.from_pretrained(base_model, "Jiahao123/financial_classifier_peft") - Transformers
How to use Jiahao123/financial_classifier_peft with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jiahao123/financial_classifier_peft", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!