Text Classification
Transformers
Safetensors
deberta-v2
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run avsolatorio/doc-topic-model_eval-04_train-00 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/avsolatorio/doc-topic-model_eval-04_train-00. 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/avsolatorio/doc-topic-model_eval-04_train-00 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 avsolatorio/doc-topic-model_eval-04_train-00 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use avsolatorio/doc-topic-model_eval-04_train-00 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="avsolatorio/doc-topic-model_eval-04_train-00")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("avsolatorio/doc-topic-model_eval-04_train-00") model = AutoModelForSequenceClassification.from_pretrained("avsolatorio/doc-topic-model_eval-04_train-00", device_map="auto") - Notebooks
- Google Colab
- Kaggle
avsolatorio/doc-topic-model_eval-04_train-00
Browse filesFiles changed (2)
- README.mdAdded+86
- model.safetensors+1-1
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586---library_name: transformerslicense: mitbase_model: microsoft/deberta-v3-smalltags:- generated_from_trainermetrics:- accuracy- f1- precision- recallmodel-index:- name: doc-topic-model_eval-04_train-00 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. -->
# doc-topic-model_eval-04_train-00
This model is a fine-tuned version of [microsoft/deberta-v3-small](https://huggingface.co/microsoft/deberta-v3-small) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.0377- Accuracy: 0.9880- F1: 0.6385- Precision: 0.7205- Recall: 0.5733
## 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: 2e-05- train_batch_size: 4- eval_batch_size: 256- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 100- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:------:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|| 0.0929 | 0.4931 | 1000 | 0.0906 | 0.9815 | 0.0 | 0.0 | 0.0 || 0.0785 | 0.9862 | 2000 | 0.0704 | 0.9815 | 0.0 | 0.0 | 0.0 || 0.0622 | 1.4793 | 3000 | 0.0572 | 0.9823 | 0.1022 | 0.8442 | 0.0544 || 0.0542 | 1.9724 | 4000 | 0.0499 | 0.9843 | 0.3390 | 0.7662 | 0.2176 || 0.048 | 2.4655 | 5000 | 0.0459 | 0.9853 | 0.4278 | 0.7709 | 0.2960 || 0.0436 | 2.9586 | 6000 | 0.0429 | 0.9863 | 0.5135 | 0.7466 | 0.3913 || 0.0384 | 3.4517 | 7000 | 0.0411 | 0.9868 | 0.5512 | 0.7418 | 0.4386 || 0.0385 | 3.9448 | 8000 | 0.0396 | 0.9868 | 0.5391 | 0.7659 | 0.4159 || 0.0343 | 4.4379 | 9000 | 0.0392 | 0.9870 | 0.5622 | 0.7475 | 0.4505 || 0.0343 | 4.9310 | 10000 | 0.0383 | 0.9872 | 0.5747 | 0.7490 | 0.4662 || 0.0304 | 5.4241 | 11000 | 0.0381 | 0.9873 | 0.5883 | 0.7375 | 0.4894 || 0.0299 | 5.9172 | 12000 | 0.0367 | 0.9877 | 0.6116 | 0.7341 | 0.5242 || 0.0265 | 6.4103 | 13000 | 0.0374 | 0.9876 | 0.6157 | 0.7219 | 0.5367 || 0.0261 | 6.9034 | 14000 | 0.0365 | 0.9879 | 0.6179 | 0.7448 | 0.5279 || 0.0236 | 7.3964 | 15000 | 0.0374 | 0.9877 | 0.6228 | 0.7218 | 0.5476 || 0.0236 | 7.8895 | 16000 | 0.0372 | 0.9880 | 0.6263 | 0.7356 | 0.5453 || 0.0215 | 8.3826 | 17000 | 0.0376 | 0.9879 | 0.6326 | 0.7199 | 0.5642 || 0.0216 | 8.8757 | 18000 | 0.0381 | 0.9878 | 0.6322 | 0.7149 | 0.5666 || 0.0177 | 9.3688 | 19000 | 0.0377 | 0.9880 | 0.6385 | 0.7205 | 0.5733 |
### Framework versions
- Transformers 4.44.2- Pytorch 2.4.1+cu121- Datasets 2.21.0- Tokenizers 0.19.1123version https://git-lfs.github.com/spec/v1oid sha256:ed7c9ee5f82ea171da9c8e025aacdd000fbbdd156711e258c6b8b5a101cb20dcsize 567860028123version https://git-lfs.github.com/spec/v1oid sha256:116ad19701dd5f5d25256a2a51f43d15d1202fcb04be6d0cf5615275c8222ed1size 567860028
README.mdAdded+86
model.safetensors+1-1