Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Instructions to use themeetjani/esg-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use themeetjani/esg-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="themeetjani/esg-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("themeetjani/esg-classification") model = AutoModelForSequenceClassification.from_pretrained("themeetjani/esg-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e7736d1
1
Parent(s): 76d681e
update model card README.md
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---license: apache-2.0base_model: bert-base-multilingual-casedtags:- generated_from_trainermetrics:- accuracymodel-index:- name: esg-classification 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. -->
# esg-classification
This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.6731- Accuracy: 0.8283
## 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: 16- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| No log | 1.0 | 54 | 1.9865 | 0.2704 || No log | 2.0 | 108 | 1.2289 | 0.6824 || No log | 3.0 | 162 | 0.8492 | 0.7811 || No log | 4.0 | 216 | 0.7125 | 0.8069 || No log | 5.0 | 270 | 0.6731 | 0.8283 |
### Framework versions
- Transformers 4.31.0- Pytorch 2.0.1+cu118- Datasets 2.14.4- Tokenizers 0.13.3README.mdAdded+64