Run this model with HF Jobs
Run irfanamal/bert-base-uncased-classification-chain-3 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/irfanamal/bert-base-uncased-classification-chain-3. 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/irfanamal/bert-base-uncased-classification-chain-3 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 irfanamal/bert-base-uncased-classification-chain-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use irfanamal/bert-base-uncased-classification-chain-3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, BertForChainClassification2 tokenizer = AutoTokenizer.from_pretrained("irfanamal/bert-base-uncased-classification-chain-3") model = BertForChainClassification2.from_pretrained("irfanamal/bert-base-uncased-classification-chain-3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-base-uncased-classification-chain-3
This model is a fine-tuned version of irfanamal/bert-base-uncased-finetuned-amazonreviews on the None dataset. It achieves the following results on the evaluation set:
- Loss: 2.2311
- Accuracy: 0.5304
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: 32
- eval_batch_size: 32
- 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 |
|---|---|---|---|---|
| 3.3468 | 1.0 | 1250 | 2.9103 | 0.434 |
| 2.28 | 2.0 | 2500 | 2.4665 | 0.4919 |
| 1.9336 | 3.0 | 3750 | 2.3106 | 0.5161 |
| 1.6268 | 4.0 | 5000 | 2.2438 | 0.5259 |
| 1.5101 | 5.0 | 6250 | 2.2311 | 0.5304 |
Framework versions
- Transformers 4.29.2
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.13.3
- Downloads last month
- 4
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support