Run this model with HF Jobs
Run MoNafea01/saudi-eou-bert-classifier on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MoNafea01/saudi-eou-bert-classifier. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MoNafea01/saudi-eou-bert-classifier on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
qwen2.5 version
Browse filesFiles changed (5)
4 unmodified lines567891011125 unmodified lines1819202122232425262721 unmodified lines495051525354555657585960616263646566676869704 unmodified lines- base_model:adapter:aubmindlab/bert-base-arabertv02- lora- transformersmetrics:- accuracymodel-index:- name: saudi-eou-bert-classifierresults: []5 unmodified lines# saudi-eou-bert-classifierThis model is a fine-tuned version of [aubmindlab/bert-base-arabertv02](https://huggingface.co/aubmindlab/bert-base-arabertv02) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.3407- Accuracy: 0.864- Auc: 0.921## Model description21 unmodified lines- lr_scheduler_warmup_ratio: 0.1- num_epochs: 10### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc ||:-------------:|:-----:|:----:|:---------------:|:--------:|:-----:|| 0.712 | 1.0 | 295 | 0.6541 | 0.619 | 0.685 || 0.5634 | 2.0 | 590 | 0.4838 | 0.781 | 0.845 || 0.4258 | 3.0 | 885 | 0.4189 | 0.819 | 0.883 || 0.3619 | 4.0 | 1180 | 0.3920 | 0.837 | 0.897 || 0.3366 | 5.0 | 1475 | 0.3684 | 0.853 | 0.907 || 0.3309 | 6.0 | 1770 | 0.3650 | 0.854 | 0.912 || 0.3191 | 7.0 | 2065 | 0.3555 | 0.856 | 0.916 || 0.3028 | 8.0 | 2360 | 0.3432 | 0.864 | 0.919 || 0.3018 | 9.0 | 2655 | 0.3437 | 0.859 | 0.92 || 0.2987 | 10.0 | 2950 | 0.3407 | 0.864 | 0.921 |### Framework versions- PEFT 0.18.04 unmodified lines56789105 unmodified lines16171819202121 unmodified lines4344454647484 unmodified lines- base_model:adapter:aubmindlab/bert-base-arabertv02- lora- transformersmodel-index:- name: saudi-eou-bert-classifierresults: []5 unmodified lines# saudi-eou-bert-classifierThis model is a fine-tuned version of [aubmindlab/bert-base-arabertv02](https://huggingface.co/aubmindlab/bert-base-arabertv02) on an unknown dataset.## Model description21 unmodified lines- lr_scheduler_warmup_ratio: 0.1- num_epochs: 10### Framework versions- PEFT 0.18.0
31 unmodified lines32333435363738394031 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["query","value","key"],"target_parameters": null,"task_type": "SEQ_CLS",31 unmodified lines32333435363738394031 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["value","key","query"],"target_parameters": null,"task_type": "SEQ_CLS",
123version https://git-lfs.github.com/spec/v1oid sha256:bc80637ef5117db13e28cfafced198b85010e2e51fb25fa40109c007d838be96size 14172320123version https://git-lfs.github.com/spec/v1oid sha256:11c19498a4f03f519f3712a148bd6c300bee7917046e6a5347c02303af713c1fsize 14172320
123456{"version": "1.0","truncation": null,"padding": null,"added_tokens": [{1234567891011{"version": "1.0","truncation": {"direction": "Right","max_length": 128,"strategy": "LongestFirst","stride": 0},"padding": null,"added_tokens": [{
123version https://git-lfs.github.com/spec/v1oid sha256:526592a08c76194e142d99f03d1298779303da87b7c5e0903b9b206fbcefe08esize 5841123version https://git-lfs.github.com/spec/v1oid sha256:5b55b434eeac5cf17db3b7d6deb2d740af3b02424655e08e845e0e75c9980016size 5841
README.md-22
adapter_config.json+2-2
adapter_model.safetensors+1-1
tokenizer.json+6-1
training_args.bin+1-1