Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
dfki-nlp phucdev commited on
Commit
6f0944f
1 Parent(s): 6dfb494

Upload data files to repository and update download URLs (#6)

Browse files

- Upload data files to repository and update download URLs (c2e753be5476feb5b50201ad7e5ce34536ee3bfd)


Co-authored-by: Phuc Tran Truong <phucdev@users.noreply.huggingface.co>

Files changed (5) hide show
  1. .gitattributes +3 -0
  2. data/inter.zip +3 -0
  3. data/intra.zip +3 -0
  4. data/supervised.zip +3 -0
  5. few-nerd.py +6 -4
.gitattributes CHANGED
@@ -14,3 +14,6 @@
14
  *.pb filter=lfs diff=lfs merge=lfs -text
15
  *.pt filter=lfs diff=lfs merge=lfs -text
16
  *.pth filter=lfs diff=lfs merge=lfs -text
 
 
 
 
14
  *.pb filter=lfs diff=lfs merge=lfs -text
15
  *.pt filter=lfs diff=lfs merge=lfs -text
16
  *.pth filter=lfs diff=lfs merge=lfs -text
17
+ data/inter.zip filter=lfs diff=lfs merge=lfs -text
18
+ data/intra.zip filter=lfs diff=lfs merge=lfs -text
19
+ data/supervised.zip filter=lfs diff=lfs merge=lfs -text
data/inter.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1edeb7035f543f0b773bcce438b57198f5093ec8e656c5a2e5356f9e587e485
3
+ size 12029124
data/intra.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7936bf060fa9f98b41b8629a6059df20b16a45d4d73ef382e53754afb30bb143
3
+ size 11945789
data/supervised.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b38b77701bd50b7615c299988180595c02cca4b4060777fd399039b6336f8ad
3
+ size 14577157
few-nerd.py CHANGED
@@ -23,11 +23,13 @@ other two are few-shot: Few-NERD (INTRA) and Few-NERD (INTER).
23
 
24
  _LICENSE = "CC BY-SA 4.0"
25
 
26
- # the original data files (zip of .txt) can be downloaded from tsinghua cloud
 
 
27
  _URLs = {
28
- "supervised": "https://cloud.tsinghua.edu.cn/f/09265750ae6340429827/?dl=1",
29
- "intra": "https://cloud.tsinghua.edu.cn/f/a0d3efdebddd4412b07c/?dl=1",
30
- "inter": "https://cloud.tsinghua.edu.cn/f/165693d5e68b43558f9b/?dl=1",
31
  }
32
 
33
  # the label ids, for coarse(NER_TAGS_DICT) and fine(FINE_NER_TAGS_DICT)
 
23
 
24
  _LICENSE = "CC BY-SA 4.0"
25
 
26
+ # the original data files (zip of .txt) can be downloaded from tsinghua cloud, but we chose to host them on huggingface.co
27
+ # for better reliability and download speed
28
+ _URL = "https://huggingface.co/datasets/DFKI-SLT/few-nerd/resolve/main/data"
29
  _URLs = {
30
+ "supervised": f"{_URL}/supervised.zip",
31
+ "intra": f"{_URL}/intra.zip",
32
+ "inter": f"{_URL}/inter.zip"
33
  }
34
 
35
  # the label ids, for coarse(NER_TAGS_DICT) and fine(FINE_NER_TAGS_DICT)