Instructions to use Sayan01/tiny-bert-sst2-distilled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sayan01/tiny-bert-sst2-distilled with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sayan01/tiny-bert-sst2-distilled")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sayan01/tiny-bert-sst2-distilled") model = AutoModelForSequenceClassification.from_pretrained("Sayan01/tiny-bert-sst2-distilled", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (5)
8 unmodified lines9101112131415161718192021228 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 256,"id2label": {"0": "unacceptable","1": "acceptable"},"initializer_range": 0.02,"intermediate_size": 1024,"label2id": {"acceptable": "1","unacceptable": "0"},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,8 unmodified lines9101112131415161718192021228 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 256,"id2label": {"0": "negative","1": "positive"},"initializer_range": 0.02,"intermediate_size": 1024,"label2id": {"negative": "0","positive": "1"},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,
123version https://git-lfs.github.com/spec/v1oid sha256:20eaced31dc4b01daa39811c62cd2d72d4235d5a328f5cf182a82df6e35b119csize 5347123version https://git-lfs.github.com/spec/v1oid sha256:51a86ceec44e38f2597e4b5680c30071e0ed4d580dcad0cb1379986530bdf969size 4156123version https://git-lfs.github.com/spec/v1oid sha256:cca9347eb61561f5d8935cbdf7ffc719db61277f324b2b5b6dd76862e136de83size 38383463123version https://git-lfs.github.com/spec/v1oid sha256:9408b0ec40b25775564b40353cca7736bd2e25f2a33874ca9f9b6b247ae94261size 38383463
1234567891011{"version": "1.0","truncation": {"direction": "Right","max_length": 512,"strategy": "LongestFirst","stride": 0},"padding": null,"added_tokens": [{123456{"version": "1.0","truncation": null,"padding": null,"added_tokens": [{
config.json+4-4
logs/1655811582.0901318/events.out.tfevents.1655811582.4dede0cb6010.74.3Added+3
logs/events.out.tfevents.1655811582.4dede0cb6010.74.2Added+3
pytorch_model.bin+1-1
tokenizer.json+1-6