albertvillanova HF staff commited on
Commit
c6f339a
1 Parent(s): c3a9f24

Host data file (#3)

Browse files

- Host data file (537d2d3a314e263bb268ccf51e1f28a41191a449)
- Update loading script (f2e065692b4f066666d9e1e6929ae0e75465c08b)
- Delete legacy metadata JSON file (942a54e132c9ce7ac0f9a77b21ce00fd0512c33a)

data/wisesight-1000-samples-tokenised.label.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:207fa365153d420178519e102e9f32aae97c369a3ccbc492e2100a2af28ed665
3
+ size 58295
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"wisesight1000": {"description": "\n", "citation": "@software{bact_2019_3457447,\n author = {Suriyawongkul, Arthit and\n Chuangsuwanich, Ekapol and\n Chormai, Pattarawat and\n Polpanumas, Charin},\n title = {PyThaiNLP/wisesight-sentiment: First release},\n month = sep,\n year = 2019,\n publisher = {Zenodo},\n version = {v1.0},\n doi = {10.5281/zenodo.3457447},\n url = {https://doi.org/10.5281/zenodo.3457447}\n}\n", "homepage": "https://github.com/PyThaiNLP/wisesight-sentiment", "license": "CC-0 3.0", "features": {"char": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "char_type": {"feature": {"num_classes": 12, "names": ["b_e", "c", "d", "n", "o", "p", "q", "s", "s_e", "t", "v", "w"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "is_beginning": {"feature": {"num_classes": 2, "names": ["neg", "pos"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "wisesight1000", "config_name": "wisesight1000", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1735438, "num_examples": 993, "dataset_name": "wisesight1000"}}, "download_checksums": {"https://raw.githubusercontent.com/PyThaiNLP/wisesight-sentiment/master/word-tokenization/wisesight-1000-samples-tokenised.label": {"num_bytes": 222691, "checksum": "0d3f8f9958bbee6f9fcc9637fc41ca509ff0d42f1f204e7baaf633c1d2390f90"}}, "download_size": 222691, "post_processing_size": null, "dataset_size": 1735438, "size_in_bytes": 1958129}}
 
 
wisesight1000.py CHANGED
@@ -39,7 +39,8 @@ class Wisesight1000Config(datasets.BuilderConfig):
39
 
40
  class Wisesight1000(datasets.GeneratorBasedBuilder):
41
 
42
- _DOWNLOAD_URL = "https://raw.githubusercontent.com/PyThaiNLP/wisesight-sentiment/master/word-tokenization/wisesight-1000-samples-tokenised.label"
 
43
  # character type mapping from https://github.com/rkcosmos/deepcut/blob/master/deepcut/utils.py
44
  _CHAR_TYPES_DICT = {
45
  "กขฃคฆงจชซญฎฏฐฑฒณดตถทธนบปพฟภมยรลวศษสฬอ": "c",
 
39
 
40
  class Wisesight1000(datasets.GeneratorBasedBuilder):
41
 
42
+ # Source data:"https://raw.githubusercontent.com/PyThaiNLP/wisesight-sentiment/master/word-tokenization/wisesight-1000-samples-tokenised.label"
43
+ _DOWNLOAD_URL = "data/wisesight-1000-samples-tokenised.label.gz"
44
  # character type mapping from https://github.com/rkcosmos/deepcut/blob/master/deepcut/utils.py
45
  _CHAR_TYPES_DICT = {
46
  "กขฃคฆงจชซญฎฏฐฑฒณดตถทธนบปพฟภมยรลวศษสฬอ": "c",