Text Classification
Transformers
TensorFlow
bert
generated_from_keras_callback
text-embeddings-inference
Run this model with HF Jobs
Run felixshier/ac-01-bert-finetuned 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/felixshier/ac-01-bert-finetuned. 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/felixshier/ac-01-bert-finetuned 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 felixshier/ac-01-bert-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use felixshier/ac-01-bert-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="felixshier/ac-01-bert-finetuned")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("felixshier/ac-01-bert-finetuned") model = AutoModelForSequenceClassification.from_pretrained("felixshier/ac-01-bert-finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ac-01-bert-finetuned
This model is a fine-tuned version of bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Train Loss: 0.1172
- Validation Loss: 0.5493
- Train F1: 0.8137
- Epoch: 4
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:
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 4030, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
- training_precision: float32
Training results
| Train Loss | Validation Loss | Train F1 | Epoch |
|---|---|---|---|
| 0.5556 | 0.4472 | 0.7965 | 0 |
| 0.3877 | 0.4268 | 0.8107 | 1 |
| 0.2931 | 0.4459 | 0.8165 | 2 |
| 0.1734 | 0.5071 | 0.8223 | 3 |
| 0.1172 | 0.5493 | 0.8137 | 4 |
Framework versions
- Transformers 4.31.0
- TensorFlow 2.13.0
- Datasets 2.14.4
- Tokenizers 0.13.3
- Downloads last month
- 4
Model tree for felixshier/ac-01-bert-finetuned
Base model
google-bert/bert-base-uncased