Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run dd123/test_model 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/dd123/test_model. 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/dd123/test_model 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 dd123/test_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dd123/test_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dd123/test_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dd123/test_model") model = AutoModelForSequenceClassification.from_pretrained("dd123/test_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
2 unmodified lines34567893 unmodified lines1314151617181920212223242526271 unmodified line2930313233343536373813 unmodified lines525354555657584 unmodified lines6364656667686970712 unmodified linestags:- generated_from_trainerdatasets:- test_datametrics:- f1model-index:3 unmodified linesname: Text Classificationtype: text-classificationdataset:name: test_datatype: test_dataconfig: defaultsplit: testargs: defaultmetrics:- name: F1type: f1value: 0.6759600753101386---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# test_modelThis model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the test_data dataset.It achieves the following results on the evaluation set:- Loss: 0.7513- F1: 0.6760## Model description13 unmodified linesThe following hyperparameters were used during training:- learning_rate: 0.0001- train_batch_size: 64- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-084 unmodified lines| Training Loss | Epoch | Step | Validation Loss | F1 ||:-------------:|:-----:|:----:|:---------------:|:------:|| No log | 1.0 | 24 | 1.3216 | 0.6254 || No log | 2.0 | 48 | 0.9484 | 0.6670 || No log | 3.0 | 72 | 0.7513 | 0.6760 |### Framework versions2 unmodified lines34567893 unmodified lines1314151617181920212223242526271 unmodified line2930313233343536373813 unmodified lines525354555657584 unmodified lines6364656667686970712 unmodified linestags:- generated_from_trainerdatasets:- test_data_huggingfacemetrics:- f1model-index:3 unmodified linesname: Text Classificationtype: text-classificationdataset:name: test_data_huggingfacetype: test_data_huggingfaceconfig: defaultsplit: testargs: defaultmetrics:- name: F1type: f1value: 0.8838734406601743---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# test_modelThis model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the test_data_huggingface dataset.It achieves the following results on the evaluation set:- Loss: 0.6090- F1: 0.8839## Model description13 unmodified linesThe following hyperparameters were used during training:- learning_rate: 0.0001- train_batch_size: 32- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-084 unmodified lines| Training Loss | Epoch | Step | Validation Loss | F1 ||:-------------:|:-----:|:----:|:---------------:|:------:|| No log | 1.0 | 47 | 0.8159 | 0.6409 || No log | 2.0 | 94 | 0.5982 | 0.8567 || No log | 3.0 | 141 | 0.6090 | 0.8839 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:0b1be5bb90d05d6e1988e68ecc897dc7d16547af2665f0e7342ac56c820946f3size 4814123version https://git-lfs.github.com/spec/v1oid sha256:c7aa567ce8f0ad7b3e138b5e5a6b69c745130e6ff6b71e14bd94c5b6840557e7size 5796
123version https://git-lfs.github.com/spec/v1oid sha256:9138835310fc175f2f8112d3109ba60805cbd44fb347eccca9dc966d8593469asize 438035573123version https://git-lfs.github.com/spec/v1oid sha256:06df1453b0ccee7041ae0b5d194c34df70b63a1cb7a6b284b09342697d5a5de3size 438035573
README.md+11-11
logs/events.out.tfevents.1686661719.ls.3362874.0+2-2
pytorch_model.bin+1-1