Instructions to use zelcakok/bert-base-squad2-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zelcakok/bert-base-squad2-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="zelcakok/bert-base-squad2-uncased")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("zelcakok/bert-base-squad2-uncased") model = AutoModelForQuestionAnswering.from_pretrained("zelcakok/bert-base-squad2-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForQuestionAnswering
Browse files- config.json +1 -1
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "staging",
|
| 3 |
"architectures": [
|
| 4 |
"BertForQuestionAnswering"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "staging-2",
|
| 3 |
"architectures": [
|
| 4 |
"BertForQuestionAnswering"
|
| 5 |
],
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 435642093
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82933b49837b892685703971d0dcf691585a999a9d5e75adeac24e3fdc0231c5
|
| 3 |
size 435642093
|