Commit
·
63b033e
1
Parent(s):
ed7cc1b
Update parquet files
Browse files
.gitattributes
DELETED
|
@@ -1,54 +0,0 @@
|
|
| 1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
# Audio files - uncompressed
|
| 37 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 40 |
-
# Audio files - compressed
|
| 41 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
# Image files - uncompressed
|
| 47 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
# Image files - compressed
|
| 52 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
DELETED
|
@@ -1,109 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
language:
|
| 4 |
-
- sl
|
| 5 |
-
- ur
|
| 6 |
-
- sd
|
| 7 |
-
- pl
|
| 8 |
-
- vi
|
| 9 |
-
- sv
|
| 10 |
-
- am
|
| 11 |
-
- da
|
| 12 |
-
- mr
|
| 13 |
-
- no
|
| 14 |
-
- gu
|
| 15 |
-
- in
|
| 16 |
-
- ja
|
| 17 |
-
- el
|
| 18 |
-
- lv
|
| 19 |
-
- it
|
| 20 |
-
- ca
|
| 21 |
-
- is
|
| 22 |
-
- cs
|
| 23 |
-
- te
|
| 24 |
-
- tl
|
| 25 |
-
- ro
|
| 26 |
-
- ckb
|
| 27 |
-
- pt
|
| 28 |
-
- ps
|
| 29 |
-
- zh
|
| 30 |
-
- sr
|
| 31 |
-
- pa
|
| 32 |
-
- si
|
| 33 |
-
- ml
|
| 34 |
-
- ht
|
| 35 |
-
- kn
|
| 36 |
-
- ar
|
| 37 |
-
- hu
|
| 38 |
-
- nl
|
| 39 |
-
- bg
|
| 40 |
-
- bn
|
| 41 |
-
- ne
|
| 42 |
-
- hi
|
| 43 |
-
- de
|
| 44 |
-
- ko
|
| 45 |
-
- fi
|
| 46 |
-
- fr
|
| 47 |
-
- es
|
| 48 |
-
- et
|
| 49 |
-
- en
|
| 50 |
-
- fa
|
| 51 |
-
- lt
|
| 52 |
-
- or
|
| 53 |
-
- cy
|
| 54 |
-
- eu
|
| 55 |
-
- iw
|
| 56 |
-
- ta
|
| 57 |
-
- th
|
| 58 |
-
- tr
|
| 59 |
-
tags:
|
| 60 |
-
- Twitter
|
| 61 |
-
- Multilingual
|
| 62 |
-
- Classification
|
| 63 |
-
- Benchmark
|
| 64 |
-
---
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
# Hashtag Prediction Dataset from paper TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations
|
| 68 |
-
[](https://huggingface.co/datasets/Twitter/HashtagPrediction/discussions) [](https://arxiv.org/abs/2209.07562) [](https://github.com/xinyangz/TwHIN-BERT)
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
This repo contains the Hashtag prediction dataset from our paper [TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations](https://arxiv.org/abs/2209.07562). <br />
|
| 72 |
-
[[arXiv]](https://arxiv.org/abs/2209.07562)
|
| 73 |
-
[[HuggingFace Models]](https://huggingface.co/Twitter/twhin-bert-base)
|
| 74 |
-
[[Github repo]](https://github.com/xinyangz/TwHIN-BERT)
|
| 75 |
-
|
| 76 |
-
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
| 77 |
-
|
| 78 |
-
## Download
|
| 79 |
-
Use the `hashtag-classification-id.zip` in this repo. [Link](https://huggingface.co/datasets/Twitter/HashtagPrediction/blob/main/hashtag-classification-id.zip).
|
| 80 |
-
|
| 81 |
-
Check the first-author's GitHub repo for any supplemental dataset material or code. [Link](https://github.com/xinyangz/TwHIN-BERT)
|
| 82 |
-
|
| 83 |
-
## Dataset Description
|
| 84 |
-
|
| 85 |
-
The hashtag prediction dataset is a multilingual classification dataset. Separate datasets are given for different languages. We first select 500 (or all available) popular hashtags of each language and then sample 10k (or all available) popular Tweets that contain these hashtags. We make sure each Tweet will have exactly one of the selected hashtags.
|
| 86 |
-
|
| 87 |
-
The evaluation task is a multiclass classification task, with hashtags as labels. We remove the hashtag from the Tweet, and let the model predict the removed hashtag.
|
| 88 |
-
|
| 89 |
-
We provide Tweet ID and raw text hashtag labels in `tsv` files. For each language, we provide train, development, and test splits.
|
| 90 |
-
|
| 91 |
-
To use the dataset, you must hydrate the Tweet text with [Twitter API](https://developer.twitter.com/en/docs/twitter-api), and **remove the hashtag used for label from each Tweet** .
|
| 92 |
-
|
| 93 |
-
The data format is displayed below.
|
| 94 |
-
|
| 95 |
-
| ID | label |
|
| 96 |
-
| ------------- | ------------- |
|
| 97 |
-
| 1 | hashtag |
|
| 98 |
-
| 2 | another hashtag |
|
| 99 |
-
|
| 100 |
-
## Citation
|
| 101 |
-
If you use our dataset in your work, please cite the following:
|
| 102 |
-
```bib
|
| 103 |
-
@article{zhang2022twhin,
|
| 104 |
-
title={TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations},
|
| 105 |
-
author={Zhang, Xinyang and Malkov, Yury and Florez, Omar and Park, Serim and McWilliams, Brian and Han, Jiawei and El-Kishky, Ahmed},
|
| 106 |
-
journal={arXiv preprint arXiv:2209.07562},
|
| 107 |
-
year={2022}
|
| 108 |
-
}
|
| 109 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hashtag-classification-id.zip → Twitter--HashtagPrediction/csv-train.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a979409fd8574aa700d915b877bb80a7132a8aca77925e9dcd97d43b035f6125
|
| 3 |
+
size 17987091
|