Text Classification
Transformers
TensorBoard
Safetensors
albert
Generated from Trainer
sentiment-analysis
Run this model with HF Jobs
Run DerivedFunction01/albert-imdb 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/DerivedFunction01/albert-imdb. 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/DerivedFunction01/albert-imdb 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 DerivedFunction01/albert-imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DerivedFunction01/albert-imdb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DerivedFunction01/albert-imdb")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DerivedFunction01/albert-imdb") model = AutoModelForSequenceClassification.from_pretrained("DerivedFunction01/albert-imdb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (6)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465---library_name: transformerslicense: apache-2.0base_model: albert/albert-base-v2tags:- generated_from_trainermetrics:- accuracymodel-index:- name: albert-imdb 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. -->
# albert-imdb
This model is a fine-tuned version of [albert/albert-base-v2](https://huggingface.co/albert/albert-base-v2) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.1795- Accuracy: 0.9479
## 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: 24- eval_batch_size: 24- 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: 2- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:------:|:----:|:---------------:|:--------:|| 0.2346 | 0.4997 | 833 | 0.1875 | 0.9291 || 0.1219 | 0.9994 | 1666 | 0.2007 | 0.9305 || 0.1825 | 1.4991 | 2499 | 0.2000 | 0.9464 || 0.1559 | 1.9988 | 3332 | 0.1795 | 0.9479 |
### Framework versions
- Transformers 5.0.0- Pytorch 2.10.0+cu128- Datasets 4.0.0- Tokenizers 0.22.2123version https://git-lfs.github.com/spec/v1oid sha256:f8055c3a4a96857b110b9cd511b5ecd7fd901870d65a215dc507243f158f2196size 46743904123version https://git-lfs.github.com/spec/v1oid sha256:7cfce5a9e13027c90024096abbf60cf161ec15aa362dbad4833663d8b657be50size 46743904
123version https://git-lfs.github.com/spec/v1oid sha256:e037f4c200068e8344d3c25d44ca236e7360a242df6df020742b7327d06a6e6csize 762881234567891011121314151617{ "add_prefix_space": true, "backend": "tokenizers", "bos_token": "[CLS]", "cls_token": "[CLS]", "do_lower_case": true, "eos_token": "[SEP]", "is_local": false, "keep_accents": false, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "<pad>", "sep_token": "[SEP]", "tokenizer_class": "AlbertTokenizer", "trim_offsets": true, "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:904088724298216ddd600e639d6d9b3e542d1057b4a5ee4b8ad3570729322f88size 5201123version https://git-lfs.github.com/spec/v1oid sha256:e952f1433291e81f3569145140f97bd722c23eb96179c1d2abf71c1d42863231size 5201
README.mdAdded+65
model.safetensors+1-1
runs/Feb27_16-12-25_bbfc1e2c4baa/events.out.tfevents.1772208745.bbfc1e2c4baa.1955.0Added+3
tokenizer.jsonAdded
tokenizer_config.jsonAdded+17
training_args.bin+1-1