Instructions to use MoNafea01/saudi-eou-bert-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MoNafea01/saudi-eou-bert-classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("aubmindlab/bert-base-arabertv02") model = PeftModel.from_pretrained(base_model, "MoNafea01/saudi-eou-bert-classifier") - Transformers
How to use MoNafea01/saudi-eou-bert-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MoNafea01/saudi-eou-bert-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MoNafea01/saudi-eou-bert-classifier") model = AutoModelForSequenceClassification.from_pretrained("MoNafea01/saudi-eou-bert-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from MoNafea01/saudi-eou-bert-classifier: direct link, hf CLI and curl.
- Browser
- Download file 5.84 kB
-
https://huggingface.co/MoNafea01/saudi-eou-bert-classifier/resolve/main/training_args.bin
- Command line
-
hf download hf://MoNafea01/saudi-eou-bert-classifier/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/MoNafea01/saudi-eou-bert-classifier/resolve/main/training_args.bin
5.84 kB
- Xet hash:
- ee5e9f8d0e3928068755ec57a065c96f02766e1096f722b7c611b8486c92db44
- Size of remote file:
- 5.84 kB
- SHA256:
- 526592a08c76194e142d99f03d1298779303da87b7c5e0903b9b206fbcefe08e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.