Translation
Transformers
Safetensors
bert
question-answering
question answering
Generated from Trainer
Run this model with HF Jobs
Run Prience91/Question_Answering_extractive 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/Prience91/Question_Answering_extractive. 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/Prience91/Question_Answering_extractive 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 Prience91/Question_Answering_extractive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prience91/Question_Answering_extractive with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" 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("translation", model="Prience91/Question_Answering_extractive")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Prience91/Question_Answering_extractive") model = AutoModelForQuestionAnswering.from_pretrained("Prience91/Question_Answering_extractive", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (3)
- config.jsonAdded+30
- model.safetensorsAdded+3
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930{ "add_cross_attention": false, "architectures": [ "BertForQuestionAnswering" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": null, "classifier_dropout": null, "dtype": "float32", "eos_token_id": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "position_embedding_type": "absolute", "tie_word_embeddings": true, "transformers_version": "5.14.1", "type_vocab_size": 2, "use_cache": false, "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:35e89703bc268f19eb64f64897697257a2b140cc68ed6f94b02f73ae09db5647size 430908184123version https://git-lfs.github.com/spec/v1oid sha256:91d72b2c5e2fd3a4c0180aafa0f36e2d09f4ff1fe4f0b1afff824987b7844c77size 5201config.jsonAdded+30
model.safetensorsAdded+3
training_args.binAdded+3