Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Anwaarma/MM05-PC 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/Anwaarma/MM05-PC. 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/Anwaarma/MM05-PC 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 Anwaarma/MM05-PC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anwaarma/MM05-PC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Anwaarma/MM05-PC")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Anwaarma/MM05-PC") model = AutoModelForSequenceClassification.from_pretrained("Anwaarma/MM05-PC", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (6)
- README.mdAdded+86
- config.json+8
- runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417577.077bfa0ad732.209.63+2-2
- runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417577.077bfa0ad732.209.64+2-2
- runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417623.077bfa0ad732.209.65Added+3
- runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417623.077bfa0ad732.209.66Added+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586---license: mitbase_model: prajjwal1/bert-tinytags:- generated_from_trainermetrics:- accuracy- f1model-index:- name: MM05-PC 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. -->
# MM05-PC
This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.3358- Accuracy: 0.99- F1: 0.9950
## 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: 4e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|| No log | 0.0 | 50 | 0.6889 | 0.58 | 0.4258 || No log | 0.01 | 100 | 0.6984 | 0.42 | 0.2485 || No log | 0.01 | 150 | 0.6948 | 0.42 | 0.2485 || No log | 0.02 | 200 | 0.6867 | 0.58 | 0.4258 || No log | 0.02 | 250 | 0.6859 | 0.75 | 0.7192 || No log | 0.02 | 300 | 0.6674 | 0.67 | 0.6705 || No log | 0.03 | 350 | 0.6093 | 0.65 | 0.6514 || No log | 0.03 | 400 | 0.5726 | 0.71 | 0.7118 || No log | 0.04 | 450 | 0.5586 | 0.73 | 0.7311 || 0.6576 | 0.04 | 500 | 0.5368 | 0.67 | 0.6680 || 0.6576 | 0.04 | 550 | 0.5532 | 0.73 | 0.7311 || 0.6576 | 0.05 | 600 | 0.5290 | 0.73 | 0.7311 || 0.6576 | 0.05 | 650 | 0.5073 | 0.73 | 0.7311 || 0.6576 | 0.06 | 700 | 0.4731 | 0.76 | 0.7489 || 0.6576 | 0.06 | 750 | 0.4519 | 0.81 | 0.7956 || 0.6576 | 0.06 | 800 | 0.4411 | 0.81 | 0.7956 || 0.6576 | 0.07 | 850 | 0.4401 | 0.81 | 0.7956 || 0.6576 | 0.07 | 900 | 0.4382 | 0.81 | 0.7956 || 0.6576 | 0.08 | 950 | 0.4351 | 0.81 | 0.7956 || 0.4885 | 0.08 | 1000 | 0.4348 | 0.81 | 0.7956 || 0.4885 | 0.08 | 1050 | 0.4289 | 0.81 | 0.7956 || 0.4885 | 0.09 | 1100 | 0.4130 | 0.81 | 0.7956 || 0.4885 | 0.09 | 1150 | 0.4087 | 0.81 | 0.7956 || 0.4885 | 0.1 | 1200 | 0.4165 | 0.81 | 0.7956 || 0.4885 | 0.1 | 1250 | 0.4088 | 0.81 | 0.7956 |
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu121- Datasets 2.16.0- Tokenizers 0.15.07 unmodified lines891011121314157 unmodified lines"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 128,"initializer_range": 0.02,"intermediate_size": 512,"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert",7 unmodified lines8910111213141516171819202122237 unmodified lines"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 128,"id2label": {"0": "Taken","1": "Not Taken"},"initializer_range": 0.02,"intermediate_size": 512,"label2id": {"Not Taken": 1,"Taken": 0},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert",
123version https://git-lfs.github.com/spec/v1oid sha256:8dcb54824279a98780fef9900110ee9afe52fbef33ea9c0089b81e371c007ae7size 11773123version https://git-lfs.github.com/spec/v1oid sha256:a08e879c3bfc321b0664edaff3914e6264f9a288ec7efd1247810fc9d996500bsize 13972
123version https://git-lfs.github.com/spec/v1oid sha256:1addee5c89f0bdfc6b736f2beb9c7164713d261f62982c32cf9c4ea4a8ede86csize 11773123version https://git-lfs.github.com/spec/v1oid sha256:88e1ad00fb6ebfdb3298447f2bcc0bf5feb860d2013545a96d9bc0fd17b2c209size 13972
123version https://git-lfs.github.com/spec/v1oid sha256:726bdc5f23c9a95a8574c41751fc01d8199e769181ebdaff5df3288530865982size 826123version https://git-lfs.github.com/spec/v1oid sha256:6f4ed505f776664119d2e13401dc47c18b8018fe0ac1e360b44808b7ccee14cfsize 826README.mdAdded+86
config.json+8
runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417577.077bfa0ad732.209.63+2-2
runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417577.077bfa0ad732.209.64+2-2
runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417623.077bfa0ad732.209.65Added+3
runs/Dec24_11-32-54_077bfa0ad732/events.out.tfevents.1703417623.077bfa0ad732.209.66Added+3