Text Classification
Transformers
TensorBoard
Safetensors
roberta
zero-shot
text-embeddings-inference
Instructions to use adriansanz/test5_balanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adriansanz/test5_balanced with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adriansanz/test5_balanced")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adriansanz/test5_balanced") model = AutoModelForSequenceClassification.from_pretrained("adriansanz/test5_balanced", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from adriansanz/test5_balanced: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/adriansanz/test5_balanced/resolve/main/README.md
- Command line
-
hf download hf://adriansanz/test5_balanced/README.md
-
curl -L -o README.md https://huggingface.co/adriansanz/test5_balanced/resolve/main/README.md
1.82 kB
| license: apache-2.0 | |
| base_model: ibaucells/RoBERTa-ca-CaWikiTC | |
| tags: | |
| - zero-shot | |
| - text-classification | |
| model-index: | |
| - name: test5_balanced | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # test5_balanced | |
| This model is a fine-tuned version of [ibaucells/RoBERTa-ca-CaWikiTC](https://huggingface.co/ibaucells/RoBERTa-ca-CaWikiTC) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.6178 | |
| ## 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: 5e-05 | |
| - train_batch_size: 10 | |
| - eval_batch_size: 10 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 500 | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:----:|:---------------:| | |
| | 0.767 | 1.0 | 63 | 1.7701 | | |
| | 0.7145 | 2.0 | 126 | 1.7878 | | |
| | 0.6274 | 3.0 | 189 | 1.7128 | | |
| | 0.5223 | 4.0 | 252 | 1.8296 | | |
| | 0.4235 | 5.0 | 315 | 1.8380 | | |
| | 0.3006 | 6.0 | 378 | 1.7538 | | |
| | 0.2062 | 7.0 | 441 | 2.2563 | | |
| | 0.2264 | 8.0 | 504 | 2.1357 | | |
| | 0.0617 | 9.0 | 567 | 2.2696 | | |
| | 0.1367 | 10.0 | 630 | 2.2558 | | |
| ### Framework versions | |
| - Transformers 4.38.2 | |
| - Pytorch 2.1.0+cu121 | |
| - Datasets 2.18.0 | |
| - Tokenizers 0.15.2 | |