Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run gokuls/tiny-bert-sst2-distilled-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/gokuls/tiny-bert-sst2-distilled-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/gokuls/tiny-bert-sst2-distilled-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 gokuls/tiny-bert-sst2-distilled-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gokuls/tiny-bert-sst2-distilled-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gokuls/tiny-bert-sst2-distilled-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gokuls/tiny-bert-sst2-distilled-model") model = AutoModelForSequenceClassification.from_pretrained("gokuls/tiny-bert-sst2-distilled-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
5 unmodified lines6789101112131415161718192021222324255 unmodified lines- gluemetrics:- accuracymodel-index:- name: tiny-bert-sst2-distilled-modelresults:- task:name: Text Classificationtype: text-classificationdataset:name: gluetype: glueargs: sst2metrics:- name: Accuracytype: accuracyvalue: 0.838302752293578---<!-- This model card has been generated automatically according to the information the Trainer had access to. You5 unmodified lines678910111213141516171819202122232425265 unmodified lines- gluemetrics:- accuracybase_model: google/bert_uncased_L-2_H-128_A-2model-index:- name: tiny-bert-sst2-distilled-modelresults:- task:type: text-classificationname: Text Classificationdataset:name: gluetype: glueargs: sst2metrics:- type: accuracyvalue: 0.838302752293578name: Accuracy---<!-- This model card has been generated automatically according to the information the Trainer had access to. You
README.md+4-3