Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

verypluming/JaNLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • repository for our BlackboxNLP2021 paper "Assessing the Generalization Capacity of Pre-trained Language Models through Japanese Adversarial Natural Language Inference"
  • You can use JaNLI athuggingface dataset!

Install Tools

Python3.6pandas

Dataset Creation

$ cd JaNLI$ python scripts/generate.py

data/JaNLI_template.csv is a template for generating a JaNLI dataset andjanli.tsv is a generated JaNLI dataset.

The fields in this file are:

  • sentence_A_Ja: The premise
  • sentence_B_Ja: The hypothesis
  • entailment_label_Ja: The correct label for this sentence pair (eitherentailment ornon-entailment); in our setting,non-entailment = neutral + contradiction)
  • heuristics: The heuristics (structural pattern) tag. The tags are: subsequence, constituent, full-overlap, order-subset, and mixed-subset.
  • number_of_NPs: The number of noun phrase in a sentence.
  • semtag: The linguistic phenomena tag.
  • split: The train/test split.

Citation

If you use this dataset and code in any published research, please cite the following:

@InProceedings{yanaka-EtAl:2021:blackbox,  author    = {Yanaka, Hitomi and Mineshima, Koji},  title     = {Assessing the Generalization Capacity of Pre-trained Language Models through Japanese Adversarial Natural Language Inference},  booktitle = {Proceedings of the 2021 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP2021)},  year      = {2021},}

Contact

For questions and usage issues, please contacthyanaka@is.s.u-tokyo.ac.jp .

License

CC BY-SA 4.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp