Instructions to use sahithya20/techdistillbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sahithya20/techdistillbert with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="sahithya20/techdistillbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("sahithya20/techdistillbert") model = AutoModelForQuestionAnswering.from_pretrained("sahithya20/techdistillbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 150
Browse filesFiles changed (8)
- config.jsonAdded+24
- model.safetensorsAdded+3
- runs/Dec13_06-09-10_5cdfb98fc5a6/events.out.tfevents.1734070153.5cdfb98fc5a6.1407.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+55
- training_args.binAdded+3
- vocab.txtAdded
123456789101112131415161718192021222324{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForQuestionAnswering" ], "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": 6, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.46.3", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:187d358e3a5b717fca8b65b52f3dbc00651320b49595537c64e35830583cad24size 265470032123version https://git-lfs.github.com/spec/v1oid sha256:f9994a0987f3193f0465c1b51fc7062b70a827d21de0d3a88a7bd60076dac93fsize 54671234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": false, "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": "DistilBertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:68887ce5b7d96b07bdfeff11df320030387d1ed471c8b5e6222dedf76723bc0esize 5304config.jsonAdded+24
model.safetensorsAdded+3
runs/Dec13_06-09-10_5cdfb98fc5a6/events.out.tfevents.1734070153.5cdfb98fc5a6.1407.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+55
training_args.binAdded+3
vocab.txtAdded