Instructions to use alexrodpas/Extr-QA-DistilBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexrodpas/Extr-QA-DistilBERT 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="alexrodpas/Extr-QA-DistilBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("alexrodpas/Extr-QA-DistilBERT") model = AutoModelForQuestionAnswering.from_pretrained("alexrodpas/Extr-QA-DistilBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload training_args.bin with huggingface_hub
a4f7327 -
Upload scheduler.pt with huggingface_hub
353cf08 -
Upload rng_state.pth with huggingface_hub
971905a -
Upload pytorch_model.bin with huggingface_hub
4b36ba9 -
Upload optimizer.pt with huggingface_hub
749ce32 -
Upload vocab.txt with huggingface_hub
c2489fa -
Upload trainer_state.json with huggingface_hub
7690249 -
Upload tokenizer.json with huggingface_hub
dd1f686 -
Upload tokenizer_config.json with huggingface_hub
5acadc6 -
Upload special_tokens_map.json with huggingface_hub
d652c06 -
Upload config.json with huggingface_hub
200aaa5 -
Update README.md
e9c6bc6
-
initial commit
d5b317c