Instructions to use IIIT-L/roberta-large-finetuned-code-mixed-DS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IIIT-L/roberta-large-finetuned-code-mixed-DS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IIIT-L/roberta-large-finetuned-code-mixed-DS")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IIIT-L/roberta-large-finetuned-code-mixed-DS") model = AutoModelForSequenceClassification.from_pretrained("IIIT-L/roberta-large-finetuned-code-mixed-DS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
84eabc6
1
Parent(s): edcaa28
update model card README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374---license: mittags:- generated_from_trainermetrics:- accuracy- precision- recall- f1model-index:- name: roberta-large-finetuned-code-mixed-DS 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. -->
# roberta-large-finetuned-code-mixed-DS
This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 2.0032- Accuracy: 0.7344- Precision: 0.6701- Recall: 0.6682- F1: 0.6688
## 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: 16- eval_batch_size: 32- seed: 43- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|| 0.9813 | 1.0 | 248 | 0.8133 | 0.6197 | 0.5679 | 0.5797 | 0.5139 || 0.7795 | 1.99 | 496 | 0.7135 | 0.7183 | 0.6739 | 0.6963 | 0.6782 || 0.6188 | 2.99 | 744 | 0.7418 | 0.7324 | 0.6726 | 0.6860 | 0.6761 || 0.4741 | 3.98 | 992 | 0.8716 | 0.7123 | 0.6495 | 0.6615 | 0.6501 || 0.3326 | 4.98 | 1240 | 1.1437 | 0.7163 | 0.6502 | 0.6470 | 0.6475 || 0.2636 | 5.98 | 1488 | 1.3626 | 0.7264 | 0.6832 | 0.6583 | 0.6587 || 0.1783 | 6.97 | 1736 | 1.5554 | 0.7445 | 0.6958 | 0.6833 | 0.6823 || 0.1258 | 7.97 | 1984 | 1.6650 | 0.7404 | 0.6773 | 0.6731 | 0.6747 || 0.099 | 8.96 | 2232 | 1.8831 | 0.7304 | 0.6637 | 0.6622 | 0.6627 || 0.0932 | 9.96 | 2480 | 2.0032 | 0.7344 | 0.6701 | 0.6682 | 0.6688 |
### Framework versions
- Transformers 4.20.1- Pytorch 1.10.1+cu111- Datasets 2.3.2- Tokenizers 0.12.1README.mdAdded+74