Instructions to use Sahajtomar/German-question-answer-Electra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sahajtomar/German-question-answer-Electra 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="Sahajtomar/German-question-answer-Electra")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Sahajtomar/German-question-answer-Electra") model = AutoModelForQuestionAnswering.from_pretrained("Sahajtomar/German-question-answer-Electra", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
429a906 -
Update README.md
b725fdd -
Update README.md
efbe8b7 -
Update README.md
a408793 -
Update README.md
586f06b -
First version of the your-model-name model and tokenizer.
96cfcbd -
Update from $USER
edd6342 -
initial commit
2fb1e78