Run this model with HF Jobs
Run harish3742/bert-base-cnn-ft 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/harish3742/bert-base-cnn-ft. 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/harish3742/bert-base-cnn-ft 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 harish3742/bert-base-cnn-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use harish3742/bert-base-cnn-ft with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("harish3742/bert-base-cnn-ft") model = AutoModelForSeq2SeqLM.from_pretrained("harish3742/bert-base-cnn-ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-base-cnn-ft
This model is a fine-tuned version of on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0014
- Rouge1: 0.0294
- Rouge2: 0.0002
- Rougel: 0.0284
- Rougelsum: 0.0284
- Gen Len: 60.0
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: 1e-05
- train_batch_size: 12
- eval_batch_size: 12
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 1
- training_steps: 200
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 1.0352 | 0.0167 | 100 | 0.0099 | 0.0352 | 0.0002 | 0.0308 | 0.0308 | 60.0 |
| 0.0124 | 0.0334 | 200 | 0.0014 | 0.0294 | 0.0002 | 0.0284 | 0.0284 | 60.0 |
Framework versions
- Transformers 4.40.1
- Pytorch 2.2.1+cu121
- Datasets 2.19.0
- Tokenizers 0.19.1
- Downloads last month
- 5
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support