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 files7 unmodified lines891011121314151617181920211 unmodified line23242526272829303132333435363725 unmodified lines63646566676869707172737 unmodified linesmodel-index:- name: IKT_classifier_conditional_bestresults: []widget:- text: "Brick Kilns. Enforcement and Improved technology use. Residential and Commercial. Enhanced use of energy- efficient appliances in household and commercial buildings. F-Gases. Implement Montreal Protocol targets. Industry. Achieve 10% Energy efficiency in the Industry sub-sector through measures according to the Energy Efficiency and Conservation Master Plan (EECMP). Agriculture. Implementation of 5925 Nos. solar irrigation pumps (generating 176.38MW) for agriculture. Brick Kilns. 14% emission reduction through Banning Fixed Chimney kiln (FCK), encourage advanced technology and non-fired brick use. Residential and Commercial."example_title: UNCONDITIONAL- text: "Achieve 20% Energy efficiency in the Industry sub-sector through measures according to the Energy Efficiency and Conservation Master Plan (EECMP). Promote green Industry. Promote carbon financing. Agriculture. Enhanced use of solar energy in Agriculture. Agriculture. Implementation of 4102 Nos. solar irrigation pumps (generating 164 MW) for agriculture. Brick Kilns. Enforcement and Improved technology use. Brick Kilns. 47% emission reduction through Banning Fixed Chimney kiln (FCK), encourage advanced technology and non-fired brick use. Residential and Commercial."example_title: CONDITIONAL- text: "The GHG emission reductions from Cairo metro network includes the rehabilitation of existing lines 1, 2, and 3. • The development of Alexandria Metro (Abu Qir – Alexandria railway line) and rehabilitation of the Raml tram line."example_title: CONDITIONAL---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# IKT_classifier_conditional_bestThis model is a fine-tuned version of [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) on the [GIZ/policy_qa_v0_1](https://huggingface.co/datasets/GIZ/policy_qa_v0_1) 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 description25 unmodified lines| 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 versions7 unmodified lines89101112131 unmodified line15161718192021222324252627282925 unmodified lines55565758596061626364657 unmodified linesmodel-index:- name: IKT_classifier_conditional_bestresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# IKT_classifier_conditional_bestThis 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.5371- Precision Macro: 0.8714- Precision Weighted: 0.8713- Recall Macro: 0.8711- Recall Weighted: 0.8712- F1-score: 0.8712- Accuracy: 0.8712## Model description25 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision Macro | Precision Weighted | Recall Macro | Recall Weighted | F1-score | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------------:|:------------------:|:------------:|:---------------:|:--------:|:--------:|| 0.6658 | 1.0 | 698 | 0.7196 | 0.7391 | 0.7381 | 0.7102 | 0.7124 | 0.7028 | 0.7124 || 0.6301 | 2.0 | 1396 | 0.4965 | 0.8073 | 0.8075 | 0.8071 | 0.8069 | 0.8069 | 0.8069 || 0.5252 | 3.0 | 2094 | 0.5307 | 0.8300 | 0.8297 | 0.8279 | 0.8283 | 0.8279 | 0.8283 || 0.3513 | 4.0 | 2792 | 0.5261 | 0.8626 | 0.8627 | 0.8626 | 0.8627 | 0.8626 | 0.8627 || 0.2979 | 5.0 | 3490 | 0.5371 | 0.8714 | 0.8713 | 0.8711 | 0.8712 | 0.8712 | 0.8712 |### Framework versions
README.md+13-21