Run this model with HF Jobs
Run dany0407/qa_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/dany0407/qa_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/dany0407/qa_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 dany0407/qa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dany0407/qa_model 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="dany0407/qa_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("dany0407/qa_model") model = AutoModelForQuestionAnswering.from_pretrained("dany0407/qa_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse filesFiles changed (9)
- config.jsonAdded+23
- model.safetensorsAdded+3
- runs/Aug01_04-11-49_eb6effd99c7f/events.out.tfevents.1754021513.eb6effd99c7f.1523.0Added+3
- runs/Aug01_04-12-39_eb6effd99c7f/events.out.tfevents.1754021560.eb6effd99c7f.1523.1Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+56
- training_args.binAdded+3
- vocab.txtAdded
1234567891011121314151617181920212223{ "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.54.1", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:586e6333f132564495f36cfd9838efa02d4fe5ebefd521d86418802e4eea615asize 265470032123version https://git-lfs.github.com/spec/v1oid sha256:3d82b0bd81481229a5528fd5c508b8b0569f6eb8d267b23cb11aa583802a180bsize 4823123version https://git-lfs.github.com/spec/v1oid sha256:7e2b3d691fd1d461fc173d9c86e75990b277650a7879c2a279f86e22a8887705size 53051234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "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, "extra_special_tokens": {}, "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:298313d92dfc2001f6adb7011e766bef3a4408da1d124bc52030b92bc75fe82esize 5304config.jsonAdded+23
model.safetensorsAdded+3
runs/Aug01_04-11-49_eb6effd99c7f/events.out.tfevents.1754021513.eb6effd99c7f.1523.0Added+3
runs/Aug01_04-12-39_eb6effd99c7f/events.out.tfevents.1754021560.eb6effd99c7f.1523.1Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+56
training_args.binAdded+3
vocab.txtAdded