Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Instructions to use HCKLab/BiBert-Classification-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HCKLab/BiBert-Classification-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HCKLab/BiBert-Classification-V2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HCKLab/BiBert-Classification-V2") model = AutoModelForSequenceClassification.from_pretrained("HCKLab/BiBert-Classification-V2") - Notebooks
- Google Colab
- Kaggle
BiBert-Classification-V2
This model is a fine-tuned version of nlptown/bert-base-multilingual-uncased-sentiment on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.7627
- Accuracy: 0.8180
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
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.8285 | 1.0 | 4290 | 0.8182 | 0.7934 |
| 0.7496 | 2.0 | 8580 | 0.7750 | 0.8108 |
| 0.6738 | 3.0 | 12870 | 0.7627 | 0.8180 |
Framework versions
- Transformers 4.26.0
- Pytorch 1.13.1+cu116
- Datasets 2.9.0
- Tokenizers 0.13.2
- Downloads last month
- 7