Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run aomar85/M9 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/aomar85/M9. 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/aomar85/M9 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 aomar85/M9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aomar85/M9 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aomar85/M9")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aomar85/M9") model = AutoModelForSequenceClassification.from_pretrained("aomar85/M9", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files123---license: mit---1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768---tags:- generated_from_trainermetrics:- accuracy- precision- recall- f1model-index:- name: fine-tuned-arabert_mixdata_latestresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># fine-tuned-arabert_mixdata_latestThis 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.1937- Accuracy: 0.9572- Precision: 0.9695- Recall: 0.9612- F1: 0.9653## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 10- mixed_precision_training: Native AMP### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 ||:-------------:|:-----:|:------:|:---------------:|:--------:|:---------:|:------:|:------:|| 0.159 | 1.0 | 64776 | 0.1417 | 0.9537 | 0.9620 | 0.9633 | 0.9627 || 0.1303 | 2.0 | 129552 | 0.1743 | 0.9551 | 0.9697 | 0.9575 | 0.9636 || 0.1135 | 3.0 | 194328 | 0.1615 | 0.9570 | 0.9652 | 0.9654 | 0.9653 || 0.0957 | 4.0 | 259104 | 0.1937 | 0.9572 | 0.9695 | 0.9612 | 0.9653 |### Framework versions- Transformers 4.19.3- Pytorch 1.11.0+cu113- Datasets 2.2.2- Tokenizers 0.12.1
README.md+66-1