Text Classification
Transformers
PyTorch
TensorBoard
deberta-v2
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run SiddharthaM/mdeberta-hate-final 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/SiddharthaM/mdeberta-hate-final. 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/SiddharthaM/mdeberta-hate-final 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 SiddharthaM/mdeberta-hate-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SiddharthaM/mdeberta-hate-final with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SiddharthaM/mdeberta-hate-final")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SiddharthaM/mdeberta-hate-final") model = AutoModelForSequenceClassification.from_pretrained("SiddharthaM/mdeberta-hate-final", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
1d36eb0
1
Parent(s): a4f8d68
update model card README.md
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970---license: mittags:- generated_from_trainermetrics:- accuracy- precision- recall- f1model-index:- name: mdeberta-hate-final results: []---
<!-- 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. -->
# mdeberta-hate-final
This model is a fine-tuned version of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeberta-v3-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.6223- Accuracy: 0.7424- Precision: 0.7410- Recall: 0.7424- F1: 0.7363
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 32- eval_batch_size: 32- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 6
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|| No log | 1.0 | 296 | 0.5309 | 0.7519 | 0.7685 | 0.7519 | 0.7357 || 0.5358 | 2.0 | 592 | 0.5228 | 0.7510 | 0.7663 | 0.7510 | 0.7351 || 0.5358 | 3.0 | 888 | 0.5565 | 0.7510 | 0.7513 | 0.7510 | 0.7438 || 0.4295 | 4.0 | 1184 | 0.5639 | 0.7481 | 0.7488 | 0.7481 | 0.7403 || 0.4295 | 5.0 | 1480 | 0.5941 | 0.7510 | 0.7531 | 0.7510 | 0.7423 || 0.3701 | 6.0 | 1776 | 0.6223 | 0.7424 | 0.7410 | 0.7424 | 0.7363 |
### Framework versions
- Transformers 4.24.0.dev0- Pytorch 1.11.0+cu102- Datasets 2.6.1- Tokenizers 0.13.1README.mdAdded+70