Instructions to use SebastianKotstein/restberta-qa-pm-ed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SebastianKotstein/restberta-qa-pm-ed 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="SebastianKotstein/restberta-qa-pm-ed")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("SebastianKotstein/restberta-qa-pm-ed") model = AutoModelForQuestionAnswering.from_pretrained("SebastianKotstein/restberta-qa-pm-ed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ Thus, RESTBERTa might be a foundation for several Web API integration tasks.
|
|
| 20 |
Technically, RESTBERTa covers the concepts for fine-tuning a Transformer Encoder model, i.e., a pre-trained BERT model, to question answering with task-specific samples in order to prepare
|
| 21 |
a model for a specific Web API integration task.
|
| 22 |
|
| 23 |
-
The paper ["RESTBERTa: a Transformer-based question answering approach for semantic search in Web API documentation"](https://link.springer.com/article/10.1007/s10586-023-04237-x
|
| 24 |
to semantic parameter matching and endpoint discovery:
|
| 25 |
|
| 26 |
# RESTBERTa for Parameter Matching and Endpoint Discovery:
|
|
|
|
| 20 |
Technically, RESTBERTa covers the concepts for fine-tuning a Transformer Encoder model, i.e., a pre-trained BERT model, to question answering with task-specific samples in order to prepare
|
| 21 |
a model for a specific Web API integration task.
|
| 22 |
|
| 23 |
+
The paper ["RESTBERTa: a Transformer-based question answering approach for semantic search in Web API documentation"](https://link.springer.com/article/10.1007/s10586-023-04237-x) demonstrates the application of RESTBERTa
|
| 24 |
to semantic parameter matching and endpoint discovery:
|
| 25 |
|
| 26 |
# RESTBERTa for Parameter Matching and Endpoint Discovery:
|