Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Anwaarma/TestForColab 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/TestForColab. 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/TestForColab 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/TestForColab with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anwaarma/TestForColab with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Anwaarma/TestForColab")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Anwaarma/TestForColab") model = AutoModelForSequenceClassification.from_pretrained("Anwaarma/TestForColab", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586---license: mitbase_model: prajjwal1/bert-tinytags:- generated_from_trainermetrics:- accuracy- f1model-index:- name: TestForColab 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. -->
# TestForColab
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.2129- Accuracy: 0.94- F1: 0.9394
## 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: 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.01 | 50 | 0.6913 | 0.55 | 0.3903 || No log | 0.02 | 100 | 0.6909 | 0.59 | 0.5186 || No log | 0.03 | 150 | 0.6934 | 0.45 | 0.2793 || No log | 0.04 | 200 | 0.6889 | 0.57 | 0.5709 || No log | 0.05 | 250 | 0.6818 | 0.56 | 0.5607 || No log | 0.06 | 300 | 0.6854 | 0.56 | 0.5607 || No log | 0.07 | 350 | 0.6878 | 0.56 | 0.5607 || No log | 0.08 | 400 | 0.7014 | 0.56 | 0.5607 || No log | 0.09 | 450 | 0.6797 | 0.56 | 0.5607 || 0.6799 | 0.1 | 500 | 0.6731 | 0.56 | 0.5607 || 0.6799 | 0.11 | 550 | 0.6490 | 0.64 | 0.6203 || 0.6799 | 0.12 | 600 | 0.6456 | 0.71 | 0.7049 || 0.6799 | 0.13 | 650 | 0.6259 | 0.64 | 0.6203 || 0.6799 | 0.14 | 700 | 0.5264 | 0.83 | 0.8304 || 0.6799 | 0.15 | 750 | 0.4671 | 0.83 | 0.8304 || 0.6799 | 0.16 | 800 | 0.3387 | 0.94 | 0.9394 || 0.6799 | 0.17 | 850 | 0.2935 | 0.94 | 0.9394 || 0.6799 | 0.18 | 900 | 0.2604 | 0.94 | 0.9394 || 0.6799 | 0.19 | 950 | 0.2443 | 0.94 | 0.9394 || 0.4884 | 0.2 | 1000 | 0.2355 | 0.94 | 0.9394 || 0.4884 | 0.2 | 1050 | 0.2286 | 0.94 | 0.9394 || 0.4884 | 0.21 | 1100 | 0.2240 | 0.94 | 0.9394 || 0.4884 | 0.22 | 1150 | 0.2201 | 0.94 | 0.9394 || 0.4884 | 0.23 | 1200 | 0.2165 | 0.94 | 0.9394 || 0.4884 | 0.24 | 1250 | 0.2129 | 0.94 | 0.9394 |
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu118- Datasets 2.15.0- Tokenizers 0.15.0123version https://git-lfs.github.com/spec/v1oid sha256:27dfe628c14d11b38103808f76548b661b52e14f1049982e5b8485a5414512b4size 11788123version https://git-lfs.github.com/spec/v1oid sha256:c502cb91114a7e00d91317c563cbbdcb120f8201675a187f89a6201f70edf5fcsize 13987
123version https://git-lfs.github.com/spec/v1oid sha256:99b92795262ff57e73a42fa8df7e2b454d80041a290b8b085bd5f37bb18c0905size 11788123version https://git-lfs.github.com/spec/v1oid sha256:7825e0755fcf28ffa180d36bac07b7e4ac6ccad0b708547f189b4b8619e9e5f8size 13987
README.mdAdded+86
runs/Dec05_16-10-07_f39ca3cb0831/events.out.tfevents.1701792614.f39ca3cb0831.1289.1+2-2
runs/Dec05_16-10-07_f39ca3cb0831/events.out.tfevents.1701792614.f39ca3cb0831.1289.2+2-2