mrm8488 commited on
Commit
6ecbefa
1 Parent(s): 160d2be

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -5
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 [HugginFace/NLP](https://github.com/huggingface/nlp)
22
 
23
  | Dataset | Split | # samples |
24
  | -------- | ----- | --------- |
25
  | squad_v2 | train | 130319 |
26
  | squad_v2 | valid | 11873 |
27
 
28
- How to load it from [nlp](https://github.com/huggingface/nlp)
29
 
30
  ```python
31
- train_dataset = nlp.load_dataset('squad_v2', split=nlp.Split.TRAIN)
32
- valid_dataset = nlp.load_dataset('squad_v2', split=nlp.Split.VALIDATION)
 
33
  ```
34
- Check out more about this dataset and others in [NLP Viewer](https://huggingface.co/nlp/viewer/)
 
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 🏋️‍