Instructions to use Sayan01/DBERT2_sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sayan01/DBERT2_sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sayan01/DBERT2_sst2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sayan01/DBERT2_sst2") model = AutoModelForSequenceClassification.from_pretrained("Sayan01/DBERT2_sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (11)
- .gitignoreAdded+1
- config.jsonAdded+26
- logs/1684228929.3019338/events.out.tfevents.1684228929.418f83ca7927Added+3
- logs/events.out.tfevents.1684228863.418f83ca7927Added+3
- logs/events.out.tfevents.1684228928.418f83ca7927Added+3
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+13
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/1234567891011121314151617181920212223242526{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "initializer_range": 0.02, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 2, "output_hidden_states": true, "pad_token_id": 0, "problem_type": "single_label_classification", "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.29.1", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:7bbfc9104888ce23eea7d8c55c22e8417d16a68146bfe2f50c61909f1b76d630size 5578123version https://git-lfs.github.com/spec/v1oid sha256:8db634132989c286cc7625bbd06b2fe7697a47e7b21341cc3ffef51909c2cf65size 298123version https://git-lfs.github.com/spec/v1oid sha256:70f4a74461644e6754118d07acec7e5ac9483cabac42b2c1a28f7a559609c668size 4313123version https://git-lfs.github.com/spec/v1oid sha256:e36d738ac2235d9b22e3a9b82097f94dd7f36d6bb31bd4607a0f5e0b18c427adsize 1544274971234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:4963b24d24a774e8e76236e254093db48f42b60cbcd3d571ce582ef93c9460b7size 3963.gitignoreAdded+1
config.jsonAdded+26
logs/1684228929.3019338/events.out.tfevents.1684228929.418f83ca7927Added+3
logs/events.out.tfevents.1684228863.418f83ca7927Added+3
logs/events.out.tfevents.1684228928.418f83ca7927Added+3
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+13
training_args.binAdded+3
vocab.txtAdded