Instructions to use mbartolo/electra-large-synqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mbartolo/electra-large-synqa 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="mbartolo/electra-large-synqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("mbartolo/electra-large-synqa") model = AutoModelForQuestionAnswering.from_pretrained("mbartolo/electra-large-synqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Librarian Bot: Update Hugging Face dataset ID
Verified signatureThis pull request updates the ID of the dataset used to train the model to the new Hub identifier `UCLNLP/adversarial_qa` (which has been migrated moved from `adversarial_qa`). We have been working to migrate datasets to their own repositories on the Hub, and this is part of that effort. Updating the dataset ID in the model card will ensure that the model card is correctly linked to the dataset repository on the Hub. This will also make it easier for people to find your model via the training data used to create it. This PR comes courtesy of [Librarian Bot](https://huggingface.co/librarian-bot). If you have any feedback, queries, or need assistance, please don't hesitate to reach out to [@davanstrien](https://huggingface.co/davanstrien).6c872ca
-
Restore license quotes
40732e9
-
Add evaluation results on the plain_text config of squad (#1)
- Add evaluation results on the plain_text config of squad (9463ddb9455e57fd51c17ee2e600bfea65b77f1f) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>c57ed3b
-
Added model card YAML
65fac8b
-
Create LICENSE
9f930a3
-
Merge branch 'main' of https://huggingface.co/mbartolo/electra-large-synqa
d70b52e
-
Update README.md
cc566fb -
Uploading model
013fef2 -
Create README.md
14a5272 -
initial commit
b3a236a