Text Classification
Transformers
PyTorch
deberta-v2
Generated from Trainer
text-embeddings-inference
Instructions to use Elron/deberta-v3-large-hate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Elron/deberta-v3-large-hate with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Elron/deberta-v3-large-hate")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Elron/deberta-v3-large-hate") model = AutoModelForSequenceClassification.from_pretrained("Elron/deberta-v3-large-hate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| jbsub -queue x86_1h -cores 4+1 -mem 30g -require a100 -o outputs/train/tweet_eval2/hate/deberta-v3-large-hate-lr7e-6-gas1-ls0.0/test.log /dccstor/tslm/envs/anaconda3/envs/tslm-gen/bin/python train_clf.py --model_name_or_path outputs/train/tweet_eval2/hate/deberta-v3-large-hate-lr7e-6-gas1-ls0.0/best_checkpoint --train_file data/tweet_eval/hate/train.csv --validation_file data/tweet_eval/hate/validation.csv --test_file data/tweet_eval/hate/test.csv --do_eval --do_predict --report_to none --per_device_eval_batch_size 16 --max_seq_length 256 --output_dir outputs/train/tweet_eval2/hate/deberta-v3-large-hate-lr7e-6-gas1-ls0.0/best_checkpoint | |