Update README.md
Browse files
README.md
CHANGED
@@ -57,28 +57,8 @@ widget:
|
|
57 |
|
58 |
## MODEL DESCRIPTION
|
59 |
|
60 |
-
huBERT base model (cased) fine-tuned on
|
61 |
- huBert model + Tokenizer: https://huggingface.co/SZTAKI-HLT/hubert-base-cc
|
62 |
-
-
|
63 |
-
- This is a demo model. Date of publication: 2022.03.27.
|
64 |
|
65 |
-
## Model in action
|
66 |
-
|
67 |
-
- Fast usage with pipelines:
|
68 |
-
|
69 |
-
```python
|
70 |
-
from transformers import pipeline
|
71 |
-
qa_pipeline = pipeline(
|
72 |
-
"question-answering",
|
73 |
-
model="mcsabai/huBert-fine-tuned-hungarian-squadv1",
|
74 |
-
tokenizer="mcsabai/huBert-fine-tuned-hungarian-squadv1"
|
75 |
-
)
|
76 |
-
predictions = qa_pipeline({
|
77 |
-
'context': "Anita vagyok és Budapesten élek már több mint 4 éve.",
|
78 |
-
'question': "Hol lakik Anita?"
|
79 |
-
})
|
80 |
-
print(predictions)
|
81 |
-
# output:
|
82 |
-
# {'score': 0.9892364144325256, 'start': 16, 'end': 26, 'answer': 'Budapesten'}
|
83 |
-
```
|
84 |
|
|
|
57 |
|
58 |
## MODEL DESCRIPTION
|
59 |
|
60 |
+
huBERT base model (cased) fine-tuned on SQUADv2!! NEW
|
61 |
- huBert model + Tokenizer: https://huggingface.co/SZTAKI-HLT/hubert-base-cc
|
62 |
+
- This is a demo model. Date of publication: 2022.07.06.
|
|
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|