Text Classification
Transformers
PyTorch
TensorBoard
mpnet
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run mtyrrell/CPU_Conditional_Classifier 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/mtyrrell/CPU_Conditional_Classifier. 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/mtyrrell/CPU_Conditional_Classifier 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 mtyrrell/CPU_Conditional_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mtyrrell/CPU_Conditional_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mtyrrell/CPU_Conditional_Classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mtyrrell/CPU_Conditional_Classifier") model = AutoModelForSequenceClassification.from_pretrained("mtyrrell/CPU_Conditional_Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970---license: apache-2.0base_model: sentence-transformers/all-mpnet-base-v2tags:- generated_from_trainermetrics:- accuracymodel-index:- name: IKT_classifier_conditional_best 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. -->
# IKT_classifier_conditional_best
This model is a fine-tuned version of [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9766- Precision Macro: 0.8010- Precision Weighted: 0.8078- Recall Macro: 0.7928- Recall Weighted: 0.8093- F1-score: 0.7963- Accuracy: 0.8093
## 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: 4.112924307850544e-05- train_batch_size: 3- eval_batch_size: 3- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 400.0- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision Macro | Precision Weighted | Recall Macro | Recall Weighted | F1-score | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------------:|:------------------:|:------------:|:---------------:|:--------:|:--------:|| 0.6562 | 1.0 | 696 | 0.5617 | 0.7283 | 0.7423 | 0.7283 | 0.7423 | 0.7283 | 0.7423 || 0.6091 | 2.0 | 1392 | 0.6492 | 0.7345 | 0.7443 | 0.7251 | 0.7474 | 0.7287 | 0.7474 || 0.3892 | 3.0 | 2088 | 0.7730 | 0.7848 | 0.7872 | 0.7612 | 0.7887 | 0.7687 | 0.7887 || 0.2509 | 4.0 | 2784 | 0.9735 | 0.7778 | 0.7937 | 0.7858 | 0.7887 | 0.7807 | 0.7887 || 0.1648 | 5.0 | 3480 | 0.9766 | 0.8010 | 0.8078 | 0.7928 | 0.8093 | 0.7963 | 0.8093 |
### Framework versions
- Transformers 4.31.0- Pytorch 2.0.1+cu118- Datasets 2.13.1- Tokenizers 0.13.3README.mdAdded+70