Text Classification
Transformers
TensorBoard
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Forecast-ing/modernBERT-content-regression 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/Forecast-ing/modernBERT-content-regression. 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/Forecast-ing/modernBERT-content-regression 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 Forecast-ing/modernBERT-content-regression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Forecast-ing/modernBERT-content-regression with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Forecast-ing/modernBERT-content-regression")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Forecast-ing/modernBERT-content-regression") model = AutoModelForSequenceClassification.from_pretrained("Forecast-ing/modernBERT-content-regression", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---library_name: transformerslicense: apache-2.0base_model: answerdotai/ModernBERT-basetags:- generated_from_trainermodel-index:- name: modernBERT-content-regression 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. -->
# modernBERT-content-regression
This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 3.6211- Mse: 3.6211- Rmse: 1.9029- Mae: 1.2271- R2: 0.0086- Smape: 46.4502
## 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: 5.939762584910739e-07- train_batch_size: 4- eval_batch_size: 4- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 1
### Training results
| Training Loss | Epoch | Step | Validation Loss | Mse | Rmse | Mae | R2 | Smape ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:------:|:-------:|| 0.0949 | 1.0 | 124 | 3.6211 | 3.6211 | 1.9029 | 1.2271 | 0.0086 | 46.4502 |
### Framework versions
- Transformers 4.48.0.dev0- Pytorch 2.5.1+cu124- Datasets 3.2.0- Tokenizers 0.21.0123version https://git-lfs.github.com/spec/v1oid sha256:9e1493a8b90f6a231239aa3636ab7b3cfa8fecf39e5bc575e392dfbf8ff3f545size 31455123version https://git-lfs.github.com/spec/v1oid sha256:ead6e865ed156fbb7ce9e07d5c755abbb76e1920da9e0e6421f7c7915c8a1ee0size 32301
123version https://git-lfs.github.com/spec/v1oid sha256:1f25716f95ec4a237f854c7a7bc689a23126a731f32e987550801e99b674b5f0size 40README.mdAdded+63
runs/Jan09_12-13-49_bazzite/events.out.tfevents.1736453630.bazzite+2-2
runs/Jan09_12-13-49_bazzite/events.out.tfevents.1736453710.bazziteAdded+3