├── README.md ├── assets └── SEE-Few.png ├── datasets ├── conll03 │ ├── few-shot │ │ ├── 10_shot_dev_0.json │ │ ├── 10_shot_dev_1.json │ │ ├── 10_shot_dev_2.json │ │ ├── 10_shot_dev_3.json │ │ ├── 10_shot_dev_4.json │ │ ├── 10_shot_train_0.json │ │ ├── 10_shot_train_1.json │ │ ├── 10_shot_train_2.json │ │ ├── 10_shot_train_3.json │ │ ├── 10_shot_train_4.json │ │ ├── 20_shot_dev_0.json │ │ ├── 20_shot_dev_1.json │ │ ├── 20_shot_dev_2.json │ │ ├── 20_shot_dev_3.json │ │ ├── 20_shot_dev_4.json │ │ ├── 20_shot_train_0.json │ │ ├── 20_shot_train_1.json │ │ ├── 20_shot_train_2.json │ │ ├── 20_shot_train_3.json │ │ ├── 20_shot_train_4.json │ │ ├── 5_shot_dev_0.json │ │ ├── 5_shot_dev_1.json │ │ ├── 5_shot_dev_2.json │ │ ├── 5_shot_dev_3.json │ │ ├── 5_shot_dev_4.json │ │ ├── 5_shot_train_0.json │ │ ├── 5_shot_train_1.json │ │ ├── 5_shot_train_2.json │ │ ├── 5_shot_train_3.json │ │ └── 5_shot_train_4.json │ ├── test.json │ └── types.json ├── restaurant │ ├── few-shot │ │ ├── 10_shot_dev_0.json │ │ ├── 10_shot_dev_1.json │ │ ├── 10_shot_dev_2.json │ │ ├── 10_shot_dev_3.json │ │ ├── 10_shot_dev_4.json │ │ ├── 10_shot_train_0.json │ │ ├── 10_shot_train_1.json │ │ ├── 10_shot_train_2.json │ │ ├── 10_shot_train_3.json │ │ ├── 10_shot_train_4.json │ │ ├── 20_shot_dev_0.json │ │ ├── 20_shot_dev_1.json │ │ ├── 20_shot_dev_2.json │ │ ├── 20_shot_dev_3.json │ │ ├── 20_shot_dev_4.json │ │ ├── 20_shot_train_0.json │ │ ├── 20_shot_train_1.json │ │ ├── 20_shot_train_2.json │ │ ├── 20_shot_train_3.json │ │ ├── 20_shot_train_4.json │ │ ├── 5_shot_dev_0.json │ │ ├── 5_shot_dev_1.json │ │ ├── 5_shot_dev_2.json │ │ ├── 5_shot_dev_3.json │ │ ├── 5_shot_dev_4.json │ │ ├── 5_shot_train_0.json │ │ ├── 5_shot_train_1.json │ │ ├── 5_shot_train_2.json │ │ ├── 5_shot_train_3.json │ │ └── 5_shot_train_4.json │ ├── test.json │ └── types.json ├── weibo │ ├── few-shot │ │ ├── 10_shot_dev_0.json │ │ ├── 10_shot_dev_1.json │ │ ├── 10_shot_dev_2.json │ │ ├── 10_shot_dev_3.json │ │ ├── 10_shot_dev_4.json │ │ ├── 10_shot_train_0.json │ │ ├── 10_shot_train_1.json │ │ ├── 10_shot_train_2.json │ │ ├── 10_shot_train_3.json │ │ ├── 10_shot_train_4.json │ │ ├── 20_shot_dev_0.json │ │ ├── 20_shot_dev_1.json │ │ ├── 20_shot_dev_2.json │ │ ├── 20_shot_dev_3.json │ │ ├── 20_shot_dev_4.json │ │ ├── 20_shot_train_0.json │ │ ├── 20_shot_train_1.json │ │ ├── 20_shot_train_2.json │ │ ├── 20_shot_train_3.json │ │ ├── 20_shot_train_4.json │ │ ├── 5_shot_dev_0.json │ │ ├── 5_shot_dev_1.json │ │ ├── 5_shot_dev_2.json │ │ ├── 5_shot_dev_3.json │ │ ├── 5_shot_dev_4.json │ │ ├── 5_shot_train_0.json │ │ ├── 5_shot_train_1.json │ │ ├── 5_shot_train_2.json │ │ ├── 5_shot_train_3.json │ │ └── 5_shot_train_4.json │ ├── test.json │ └── types.json └── wiki │ ├── few-shot │ ├── 10_shot_dev_0.json │ ├── 10_shot_dev_1.json │ ├── 10_shot_dev_2.json │ ├── 10_shot_dev_3.json │ ├── 10_shot_dev_4.json │ ├── 10_shot_train_0.json │ ├── 10_shot_train_1.json │ ├── 10_shot_train_2.json │ ├── 10_shot_train_3.json │ ├── 10_shot_train_4.json │ ├── 20_shot_dev_0.json │ ├── 20_shot_dev_1.json │ ├── 20_shot_dev_2.json │ ├── 20_shot_dev_3.json │ ├── 20_shot_dev_4.json │ ├── 20_shot_train_0.json │ ├── 20_shot_train_1.json │ ├── 20_shot_train_2.json │ ├── 20_shot_train_3.json │ ├── 20_shot_train_4.json │ ├── 5_shot_dev_0.json │ ├── 5_shot_dev_1.json │ ├── 5_shot_dev_2.json │ ├── 5_shot_dev_3.json │ ├── 5_shot_dev_4.json │ ├── 5_shot_train_0.json │ ├── 5_shot_train_1.json │ ├── 5_shot_train_2.json │ ├── 5_shot_train_3.json │ └── 5_shot_train_4.json │ ├── test.json │ └── types.json ├── models └── model_ner.py ├── requirements.txt ├── run_ner.py ├── scripts ├── run_conll.sh ├── run_restaurant.sh ├── run_weibo.sh └── run_wiki.sh └── utils ├── args.py ├── common.py ├── data_loader.py ├── entities.py ├── evaluator.py ├── focalloss.py └── sampling.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/README.md -------------------------------------------------------------------------------- /assets/SEE-Few.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/assets/SEE-Few.png -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_train_0.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_train_1.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_train_2.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_train_3.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/10_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/10_shot_train_4.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_train_0.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_train_1.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_train_2.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_train_3.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/20_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/20_shot_train_4.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_train_0.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_train_1.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_train_2.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_train_3.json -------------------------------------------------------------------------------- /datasets/conll03/few-shot/5_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/few-shot/5_shot_train_4.json -------------------------------------------------------------------------------- /datasets/conll03/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/test.json -------------------------------------------------------------------------------- /datasets/conll03/types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/conll03/types.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_train_0.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_train_1.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_train_2.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_train_3.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/10_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/10_shot_train_4.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_train_0.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_train_1.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_train_2.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_train_3.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/20_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/20_shot_train_4.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_train_0.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_train_1.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_train_2.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_train_3.json -------------------------------------------------------------------------------- /datasets/restaurant/few-shot/5_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/few-shot/5_shot_train_4.json -------------------------------------------------------------------------------- /datasets/restaurant/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/test.json -------------------------------------------------------------------------------- /datasets/restaurant/types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/restaurant/types.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_train_0.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_train_1.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_train_2.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_train_3.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/10_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/10_shot_train_4.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_train_0.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_train_1.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_train_2.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_train_3.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/20_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/20_shot_train_4.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_train_0.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_train_1.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_train_2.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_train_3.json -------------------------------------------------------------------------------- /datasets/weibo/few-shot/5_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/few-shot/5_shot_train_4.json -------------------------------------------------------------------------------- /datasets/weibo/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/test.json -------------------------------------------------------------------------------- /datasets/weibo/types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/weibo/types.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_train_0.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_train_1.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_train_2.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_train_3.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/10_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/10_shot_train_4.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_train_0.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_train_1.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_train_2.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_train_3.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/20_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/20_shot_train_4.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_dev_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_dev_0.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_dev_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_dev_1.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_dev_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_dev_2.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_dev_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_dev_3.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_dev_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_dev_4.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_train_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_train_0.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_train_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_train_1.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_train_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_train_2.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_train_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_train_3.json -------------------------------------------------------------------------------- /datasets/wiki/few-shot/5_shot_train_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/few-shot/5_shot_train_4.json -------------------------------------------------------------------------------- /datasets/wiki/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/test.json -------------------------------------------------------------------------------- /datasets/wiki/types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/datasets/wiki/types.json -------------------------------------------------------------------------------- /models/model_ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/models/model_ner.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/run_ner.py -------------------------------------------------------------------------------- /scripts/run_conll.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/scripts/run_conll.sh -------------------------------------------------------------------------------- /scripts/run_restaurant.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/scripts/run_restaurant.sh -------------------------------------------------------------------------------- /scripts/run_weibo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/scripts/run_weibo.sh -------------------------------------------------------------------------------- /scripts/run_wiki.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/scripts/run_wiki.sh -------------------------------------------------------------------------------- /utils/args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/args.py -------------------------------------------------------------------------------- /utils/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/common.py -------------------------------------------------------------------------------- /utils/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/data_loader.py -------------------------------------------------------------------------------- /utils/entities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/entities.py -------------------------------------------------------------------------------- /utils/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/evaluator.py -------------------------------------------------------------------------------- /utils/focalloss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/focalloss.py -------------------------------------------------------------------------------- /utils/sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unveiled-the-red-hat/SEE-Few/HEAD/utils/sampling.py --------------------------------------------------------------------------------