Instructions to use cookienter/lifechart-bert-large-classifier-hptuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cookienter/lifechart-bert-large-classifier-hptuning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cookienter/lifechart-bert-large-classifier-hptuning")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cookienter/lifechart-bert-large-classifier-hptuning") model = AutoModelForSequenceClassification.from_pretrained("cookienter/lifechart-bert-large-classifier-hptuning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from cookienter/lifechart-bert-large-classifier-hptuning: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/cookienter/lifechart-bert-large-classifier-hptuning/resolve/main/README.md
- Command line
-
hf download hf://cookienter/lifechart-bert-large-classifier-hptuning/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/cookienter/lifechart-bert-large-classifier-hptuning/resolve/main/README.md
1.93 kB
metadata
library_name: transformers
license: apache-2.0
base_model: bert-large-uncased
tags:
- generated_from_trainer
metrics:
- precision
- recall
model-index:
- name: lifechart-bert-large-classifier-hptuning
results: []
lifechart-bert-large-classifier-hptuning
This model is a fine-tuned version of bert-large-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.8621
- Macro F1: 0.7954
- Precision: 0.7850
- Recall: 0.8132
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: 3.051761556062339e-05
- train_batch_size: 16
- eval_batch_size: 16
- 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
- lr_scheduler_warmup_ratio: 0.0655781666684222
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Macro F1 | Precision | Recall |
|---|---|---|---|---|---|---|
| 1.7088 | 1.0 | 821 | 0.8249 | 0.7430 | 0.7055 | 0.8019 |
| 0.5942 | 2.0 | 1642 | 0.7587 | 0.7776 | 0.7574 | 0.8110 |
| 0.2852 | 3.0 | 2463 | 0.8621 | 0.7954 | 0.7850 | 0.8132 |
Framework versions
- Transformers 4.55.4
- Pytorch 2.8.0+cu128
- Datasets 4.0.0
- Tokenizers 0.21.4