Instructions to use Aminrhmni/Persian_text_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Aminrhmni/Persian_text_classification with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("Aminrhmni/Persian_text_classification", set_active=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -67,7 +67,7 @@ I have fine-tuned ParsBert for classifying Persian text using the "Msobhi/virgoo
|
|
| 67 |
|
| 68 |
Utilize this code snippet to test the model. It may not be very accurate, but further training epochs could enhance its performance.
|
| 69 |
|
| 70 |
-
model_path = "Aminrhmni/
|
| 71 |
|
| 72 |
from transformers import pipeline, BertForSequenceClassification, BertTokenizerFast
|
| 73 |
|
|
|
|
| 67 |
|
| 68 |
Utilize this code snippet to test the model. It may not be very accurate, but further training epochs could enhance its performance.
|
| 69 |
|
| 70 |
+
model_path = "Aminrhmni/Persian_text_classification"
|
| 71 |
|
| 72 |
from transformers import pipeline, BertForSequenceClassification, BertTokenizerFast
|
| 73 |
|