Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run jysh1023/tiny-bert-sst2-distilled_original 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/jysh1023/tiny-bert-sst2-distilled_original. 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/jysh1023/tiny-bert-sst2-distilled_original 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 jysh1023/tiny-bert-sst2-distilled_original with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jysh1023/tiny-bert-sst2-distilled_original with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jysh1023/tiny-bert-sst2-distilled_original")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jysh1023/tiny-bert-sst2-distilled_original") model = AutoModelForSequenceClassification.from_pretrained("jysh1023/tiny-bert-sst2-distilled_original", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.mdAdded+59
- model.safetensors+1-1
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859---license: apache-2.0base_model: google/bert_uncased_L-2_H-128_A-2tags:- generated_from_trainerdatasets:- gluemodel-index:- name: tiny-bert-sst2-distilled_original 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. -->
# tiny-bert-sst2-distilled_original
This model is a fine-tuned version of [google/bert_uncased_L-2_H-128_A-2](https://huggingface.co/google/bert_uncased_L-2_H-128_A-2) on the glue dataset.It achieves the following results on the evaluation set:- eval_loss: 1.8486- eval_accuracy: 0.7936- eval_runtime: 2.677- eval_samples_per_second: 325.739- eval_steps_per_second: 2.615- epoch: 1.0- step: 527
## 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: 0.00023791117612513647- train_batch_size: 128- eval_batch_size: 128- seed: 33- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 2- mixed_precision_training: Native AMP
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu118- Datasets 2.15.0- Tokenizers 0.15.01223version https://git-lfs.github.com/spec/v1oid sha256:ae2f8f49c85729f3689e5feadf6201bab74b8b26160800707dfda17c5e446d79oid sha256:07e25efe90b6e7a6d439708cd6ee0dbbb0d8dc8c4c963d4c11014bccd23528e5size 17549312README.mdAdded+59
model.safetensors+1-1