Run this model with HF Jobs
Run irfanamal/bert-base-uncased-classification-chain-2 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-2. 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-2 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-2 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-2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, BertForChainClassification1 tokenizer = AutoTokenizer.from_pretrained("irfanamal/bert-base-uncased-classification-chain-2") model = BertForChainClassification1.from_pretrained("irfanamal/bert-base-uncased-classification-chain-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-base-uncased-classification-chain-2
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: 1.3798
- Accuracy: 0.6552
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 |
|---|---|---|---|---|
| 1.5764 | 1.0 | 1250 | 1.4531 | 0.6294 |
| 1.059 | 2.0 | 2500 | 1.3263 | 0.6491 |
| 0.8329 | 3.0 | 3750 | 1.3236 | 0.6526 |
| 0.6588 | 4.0 | 5000 | 1.3594 | 0.654 |
| 0.5614 | 5.0 | 6250 | 1.3798 | 0.6552 |
Framework versions
- Transformers 4.29.2
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.13.3
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support