"csrc/transformer_bak/general_kernels.cu" did not exist on "f0f2a7026877d3fd2f6f5565a67cdffc89750cf0"
Unverified Commit 6db21a06 authored by Branden Chan's avatar Branden Chan Committed by GitHub
Browse files

Clearer Model Versioning Example (#8562)

parent daaa6845
......@@ -5,7 +5,11 @@ datasets:
# roberta-base for QA
NOTE: This is version 2 of the model. See [this github issue](https://github.com/deepset-ai/FARM/issues/552) from the FARM repository for an explanation of why we updated. If you'd like to use version 1, specify `revision="v1.0"` when loading the model in Transformers 3.5.
NOTE: This is version 2 of the model. See [this github issue](https://github.com/deepset-ai/FARM/issues/552) from the FARM repository for an explanation of why we updated. If you'd like to use version 1, specify `revision="v1.0"` when loading the model in Transformers 3.5. For exmaple:
```
model_name = "deepset/roberta-base-squad2"
pipeline(model=model_name, tokenizer=model_name, revision="v1.0", task="question-answering")
```
## Overview
**Language model:** roberta-base
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment