Update README.md
Browse files
README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
language: en
|
3 |
datasets:
|
4 |
- squad_v2
|
|
|
|
|
|
|
|
|
5 |
---
|
6 |
|
7 |
# Longformer-base-4096 fine-tuned on SQuAD v2
|
@@ -18,20 +22,22 @@ Longformer uses a combination of a sliding window (local) attention and global a
|
|
18 |
|
19 |
## Details of the downstream task (Q&A) - Dataset 📚 🧐 ❓
|
20 |
|
21 |
-
Dataset ID: ```squad_v2``` from [
|
22 |
|
23 |
| Dataset | Split | # samples |
|
24 |
| -------- | ----- | --------- |
|
25 |
| squad_v2 | train | 130319 |
|
26 |
| squad_v2 | valid | 11873 |
|
27 |
|
28 |
-
How to load it from [
|
29 |
|
30 |
```python
|
31 |
-
|
32 |
-
|
|
|
33 |
```
|
34 |
-
|
|
|
35 |
|
36 |
|
37 |
## Model fine-tuning 🏋️
|
|
|
2 |
language: en
|
3 |
datasets:
|
4 |
- squad_v2
|
5 |
+
tags:
|
6 |
+
- QA
|
7 |
+
- long context
|
8 |
+
- Q&A
|
9 |
---
|
10 |
|
11 |
# Longformer-base-4096 fine-tuned on SQuAD v2
|
|
|
22 |
|
23 |
## Details of the downstream task (Q&A) - Dataset 📚 🧐 ❓
|
24 |
|
25 |
+
Dataset ID: ```squad_v2``` from [HuggingFace/Datasets](https://github.com/huggingface/datasets)
|
26 |
|
27 |
| Dataset | Split | # samples |
|
28 |
| -------- | ----- | --------- |
|
29 |
| squad_v2 | train | 130319 |
|
30 |
| squad_v2 | valid | 11873 |
|
31 |
|
32 |
+
How to load it from [datasets](https://github.com/huggingface/datasets)
|
33 |
|
34 |
```python
|
35 |
+
!pip install datasets
|
36 |
+
from datasets import load_dataset
|
37 |
+
dataset = load_dataset('squad_v2')
|
38 |
```
|
39 |
+
|
40 |
+
Check out more about this dataset and others in [NLP Viewer](https://huggingface.co/datasets/viewer/)
|
41 |
|
42 |
|
43 |
## Model fine-tuning 🏋️
|