Instructions to use SeyedAli/Persian-Text-Sentiment-Bert-LORA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SeyedAli/Persian-Text-Sentiment-Bert-LORA with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("HooshvareLab/bert-base-parsbert-uncased") model = PeftModel.from_pretrained(base_model, "SeyedAli/Persian-Text-Sentiment-Bert-LORA") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!