Dataset Preview
Viewer
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Couldn't get the size of external files in `_split_generators` because a request failed: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0) Please consider moving your data files in this dataset repository instead (e.g. inside a data/ folder).
Error code:   ExternalFilesSizeRequestTimeoutError
Exception:    ReadTimeout
Message:      HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 466, in _make_request
                  six.raise_from(e, None)
                File "<string>", line 3, in raise_from
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 461, in _make_request
                  httplib_response = conn.getresponse()
                File "/usr/local/lib/python3.9/http/client.py", line 1377, in getresponse
                  response.begin()
                File "/usr/local/lib/python3.9/http/client.py", line 320, in begin
                  version, status, reason = self._read_status()
                File "/usr/local/lib/python3.9/http/client.py", line 281, in _read_status
                  line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
                File "/usr/local/lib/python3.9/socket.py", line 704, in readinto
                  return self._sock.recv_into(b)
                File "/usr/local/lib/python3.9/ssl.py", line 1242, in recv_into
                  return self.read(nbytes, buffer)
                File "/usr/local/lib/python3.9/ssl.py", line 1100, in read
                  return self._sslobj.read(len, buffer)
              socket.timeout: The read operation timed out
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
                  resp = conn.urlopen(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 798, in urlopen
                  retries = retries.increment(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
                  raise six.reraise(type(error), error, _stacktrace)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
                  raise value
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 714, in urlopen
                  httplib_response = self._make_request(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 468, in _make_request
                  self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 357, in _raise_timeout
                  raise ReadTimeoutError(
              urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0)
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 488, in _is_too_big_from_external_data_files
                  for i, size in enumerate(pool.imap_unordered(get_size, ext_data_files)):
                File "/usr/local/lib/python3.9/multiprocessing/pool.py", line 870, in next
                  raise value
                File "/usr/local/lib/python3.9/multiprocessing/pool.py", line 125, in worker
                  result = (True, func(*args, **kwds))
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 386, in _request_size
                  response = http_head(url, headers=headers, max_retries=3)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 429, in http_head
                  response = _request_with_retry(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 328, in _request_with_retry
                  response = requests.request(method=method.upper(), url=url, timeout=timeout, **params)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/api.py", line 59, in request
                  return session.request(method=method, url=url, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
                  resp = self.send(prep, **send_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 725, in send
                  history = [resp for resp in gen]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 725, in <listcomp>
                  history = [resp for resp in gen]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 266, in resolve_redirects
                  resp = self.send(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
                  r = adapter.send(request, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/adapters.py", line 532, in send
                  raise ReadTimeout(e, request=request)
              requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=10.0)

Need help to make the dataset viewer work? Open a discussion for direct support.

unique_id
int32
source
string
acceptability
int32
sentence
string
cleft_construction
int32
copular_construction
int32
subject_verb_agreement
int32
wh_islands_violations
int32
simple
int32
question
int32
auxiliary
int32
bind
int32
indefinite_pronouns
int32
1
Graffi_1994
1
Quest'uomo mi ha colpito.
0
0
1
0
0
0
1
0
0
2
Graffi_1994
0
Questa donna mi hanno colpito.
0
0
1
0
0
0
1
0
0
3
Graffi_1994
1
Questa donna mi ha colpito.
0
0
0
0
1
0
1
0
0
4
Graffi_1994
0
Quella donna che accompagnava i bambini mi hanno colpito.
0
0
1
0
0
0
1
0
0
5
Graffi_1994
1
Quella donna che accompagnava i bambini mi ha colpito.
0
0
1
0
0
0
1
0
0
6
Graffi_1994
1
La donna che mi ha colpito è Giulia.
0
0
1
0
0
0
1
0
0
7
Graffi-Scalise_2002
1
La donna che i ragazzi dicono che mi ha colpito è Giulia.
0
0
1
0
0
0
1
0
0
8
Graffi_1994
1
La donna che i vicini credono che i ragazzi dicano che mi ha colpito è Sofia.
0
0
1
0
0
0
1
0
0
9
Graffi_1994
1
La donna che i Rossi sostengono che i vicini credono che i ragazzi dicano che mi ha colpito è Paola.
0
0
0
0
0
0
1
0
0
10
Graffi_1994
0
La donna che i Rossi sostengono che i vicini credono che i ragazzi dicano che mi hanno colpito è Giulia.
0
0
0
0
0
0
1
0
0
11
Graffi_1994
0
Quell'uomo e quella donna mi ha colpito.
0
0
1
0
0
0
1
0
0
12
Graffi_1994
1
Quest'uomo ha colpito me.
0
0
1
0
0
0
1
0
0
13
Graffi_1994
1
Io sono stato colpito da quest'uomo.
0
0
1
0
0
0
1
0
0
14
Graffi_1994
1
Chi mi ha colpito?
0
0
0
1
0
1
0
0
0
15
Graffi_1994
1
Chi dici che mi ha colpito?
0
0
0
1
0
1
0
0
0
16
Graffi_1994
1
Chi dici che Leonardo sostiene che mi ha colpito?
0
0
0
0
0
1
1
0
0
17
Graffi_1994
1
Chi dici che Tommaso sostiene che i vicini pensano che mi abbia colpito?
0
0
0
0
0
1
1
0
0
18
Graffi_1994
0
Il mio per preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
19
Graffi_1994
0
Il mio oggi preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
20
Graffi_1994
0
Il mio e preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
21
Graffi_1994
0
Il mio leggo preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
22
Graffi_1994
0
Il mio esso preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
23
Graffi_1994
0
Il mio alto preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
24
Graffi_1994
1
Il mio libro preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
25
Graffi_1994
1
Il mio poema preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
26
Graffi_1994
0
Il mio lettura preferito è la Divina Commedia.
0
0
0
0
0
0
1
0
0
27
Graffi_1994
1
La mia lettura preferita era la Divina Commedia.
0
0
0
0
1
0
1
0
0
28
Graffi_1994
1
La mia lettura preferita è stata la Divina Commedia.
0
0
1
0
0
0
1
0
0
29
Graffi_1994
1
Il sindaco parlerà dopo.
0
0
0
0
1
0
0
0
0
31
Graffi_1994
1
Lorenzo lo ha portato dentro.
0
0
1
0
0
0
0
0
0
32
Graffi_1994
1
Riccardo legge.
0
0
0
0
1
0
0
0
0
33
Graffi_1994
1
Tommaso legge il giornale.
0
0
0
0
1
0
0
0
0
35
Graffi_1994
1
Lorenzo mangia un gelato.
0
0
0
0
1
0
0
0
0
37
Graffi_1994
1
Gabriele scrive una lettera.
0
0
0
0
1
0
0
0
0
38
Graffi_1994
1
Gabriele ha detto la verità.
0
0
0
0
1
0
0
0
0
42
Graffi_1994
1
Lorenzo teme la guerra.
0
0
0
0
1
0
0
0
0
44
Graffi_1994
1
Tommaso beve un bicchiere di vino.
0
0
0
0
1
0
0
0
0
46
Graffi_1994
0
La guerra teme Francesco.
0
0
0
0
1
0
0
0
0
47
Graffi_1994
1
Il giudice ha interrogato il testimone.
0
0
0
0
1
0
0
0
0
48
Graffi_1994
0
Il giudice ha interrogato il gatto.
0
0
0
0
1
0
0
0
0
49
Graffi_1994
1
Il giudice ha domandato al testimone chi era entrato in casa.
0
0
1
0
0
0
1
0
0
50
Graffi_1994
0
Il giudice ha domandato al gatto chi era entrato in casa.
0
0
1
0
0
0
1
0
0
51
Graffi_1994
1
Il giudice ha interrogato il testimone ieri sera.
0
0
1
0
0
0
1
0
0
52
Graffi_1994
1
Il testimone ha interrogato il giudice ieri sera.
0
0
1
0
0
0
1
0
0
53
Graffi_1994
1
Ieri sera il giudice ha interrogato il testimone.
0
0
1
0
0
0
0
0
0
54
Graffi_1994
1
Lorenzo ha subito molte torture.
0
0
1
0
0
0
0
0
0
55
Graffi_1994
1
Sono arrivati molti ragazzi.
0
0
1
0
1
0
0
0
1
56
Graffi_1994
1
Hanno telefonato molti ragazzi.
0
0
1
0
0
0
0
0
0
57
Graffi_1994
1
Ne sono arrivati molti.
0
0
1
0
1
0
0
0
0
58
Graffi_1994
0
Ne hanno telefonato molti.
0
0
1
0
0
0
0
0
0
59
Graffi_1994
1
Ne è ricomparso il padre.
0
0
1
0
0
0
0
0
0
60
Graffi_1994
0
Ne ha telefonato il padre.
0
0
1
0
0
0
0
0
0
65
Graffi_1994
0
Alessandro è un grande partitore.
0
1
0
0
0
0
0
0
0
66
Graffi_1994
1
Francesco è un grande oratore.
0
1
0
0
1
0
0
0
0
67
Graffi_1994
1
I negozianti hanno aumentato i prezzi.
0
1
0
0
1
0
0
0
0
68
Graffi_1994
1
Le sue opinioni sono cambiate.
0
1
1
0
1
0
0
0
0
69
Graffi_1994
1
Quel filosofo ha cambiato le sue opinioni.
0
0
0
0
1
0
0
0
0
70
Graffi_1994
1
Edoardo ne ha salvati molti.
0
0
1
0
1
0
0
0
0
73
Graffi_1994
1
Il palazzo è crollato.
0
1
0
0
1
0
0
0
0
74
Graffi_1994
1
La partenza è prevista per le ore otto.
0
0
1
0
0
0
0
0
0
78
Graffi_1994
1
Manzoni ha descritto la peste di Milano.
0
0
0
0
1
0
0
0
0
81
Graffi_1994
1
Riccardo ha danneggiato se stesso.
0
0
1
0
0
0
0
0
0
82
Graffi_1994
1
Quegli uomini si sono denunciati.
0
0
1
0
0
0
0
0
0
85
Graffi_1994
1
Hanno dato il premio a lui.
0
0
1
0
1
0
0
0
0
86
Graffi_1994
1
Hanno dato il premio a Gabriele.
0
0
1
0
0
0
0
0
0
87
Graffi_1994
0
Hanno dato il premio gli.
0
0
1
0
0
0
0
0
0
94
Graffi_1994
1
Ho incontrato Lorenzo e Paola.
0
0
1
0
1
0
0
0
0
97
Graffi_1994
1
Ho incontrato lei, non lui.
0
0
1
0
0
0
0
0
0
99
Graffi_1994
1
L'ho incontrato ieri.
0
0
1
0
0
0
0
0
0
105
Graffi_1994
1
Sono andato più volte a Firenze.
0
0
1
0
0
0
0
0
0
106
Graffi_1994
1
Ci sono andato più volte.
0
0
1
0
0
0
0
0
0
107
Graffi_1994
1
Ne ho scoperto solo ieri il colpevole.
0
0
1
0
0
0
0
0
0
108
Graffi_1994
1
Sono stato molto colpito da quella reazione.
0
0
1
0
0
0
0
0
0
109
Graffi_1994
1
Ne sono stato molto colpito.
0
0
1
0
0
0
0
0
0
110
Graffi_1994
1
Ne ho incontrati molti.
0
0
1
0
0
0
0
0
0
111
Graffi_1994
0
Ci più volte sono andato.
0
0
1
0
0
0
0
0
0
112
Graffi_1994
0
Ne solo ieri ho scoperto il colpevole.
0
0
1
0
0
0
0
0
0
113
Graffi_1994
1
Ci sono più volte andato.
0
0
1
0
0
0
0
0
0
114
Graffi_1994
1
Ne ho solo ieri scoperto il colpevole.
0
0
1
0
0
0
0
0
0
115
Graffi_1994
1
Non ce l'ho trovato.
0
0
1
0
0
0
0
0
0
116
Graffi_1994
0
Non c'ho trovato.
0
0
1
0
0
0
0
0
0
117
Graffi_1994
1
Ho dato alcuni libri ad Edoardo.
0
0
1
0
0
0
0
0
0
118
Graffi_1994
1
Gliene ho dati.
0
0
1
0
0
0
0
0
0
119
Graffi_1994
1
In quella biblioteca non ho trovato molti libri.
0
0
1
0
0
0
0
0
0
120
Graffi_1994
1
Non ho trovato molti libri in quella biblioteca.
0
0
1
0
0
0
0
0
0
121
Graffi_1994
0
Non ne ci ho trovati molti.
0
0
1
0
1
0
0
0
1
122
Graffi_1994
1
Ho incontrato lei.
0
0
1
0
1
0
0
0
0
123
Graffi_1994
1
Ho incontrato loro.
0
0
1
0
0
0
0
0
0
124
Graffi_1994
1
Li ho incontrati.
0
0
1
0
1
0
0
0
0
125
Graffi_1994
1
Ho incontrato molti amici.
0
0
1
0
0
0
0
0
0
126
Graffi_1994
1
L'ho visto.
0
0
1
0
0
0
0
0
0
127
Graffi_1994
1
Sono andato a Roma perché volevo parlare con Tommaso, ma non l'ho visto.
0
0
1
0
0
0
0
0
0
128
Graffi_1994
0
Beatrice ha parlato di se stesso.
0
0
1
0
0
0
0
0
0
129
Graffi_1994
1
Riccardo ha ingannato se stesso.
0
0
1
0
0
0
0
0
0
130
Graffi_1994
1
Francesco lo ha ingannato.
0
0
1
0
1
0
0
0
0
131
Graffi_1994
1
Edoardo dice che Tommaso lo ha ingannato.
0
0
1
0
0
0
0
0
0
132
Graffi_1994
1
Tommaso ha detto che Emma ha fatto questo regalo a lui (e non a Francesco).
0
0
1
0
0
0
0
0
0
133
Graffi_1994
1
Lui ha detto che Paola ha fatto questo regalo a Lorenzo (e non ad Alessandro).
0
0
1
0
0
0
0
0
0
134
Graffi_1994
1
La sua arringa non ha convinto i giudici.
0
0
1
0
0
0
0
0
0
135
Graffi_1994
1
L'avvocato Azzeccagarbugli ce l'ha messa tutta, ma la sua arringa non ha convinto i giudici.
0
0
1
0
0
0
0
0
0
End of preview.

Dataset Card for ItaCoLA

Dataset Summary

The Italian Corpus of Linguistic Acceptability includes almost 10k sentences taken from linguistic literature with a binary annotation made by the original authors themselves. The work is inspired by the English Corpus of Linguistic Acceptability.

Disclaimer: The ItaCoLA corpus is hosted on Github by the Digital Humanities group at FBK. It was introduced in the article Monolingual and Cross-Lingual Acceptability Judgments with the Italian CoLA corpus by Daniela Trotta, Raffaele Guarasci, Elisa Leonardelli, Sara Tonelli

Supported Tasks and Leaderboards

Acceptability Classification

The following table is taken from Table 4 of the original paper, where an LSTM and a BERT model pretrained on the Italian languages are fine-tuned on the train split of the corpus and evaluated respectively on the test split (In-domain, in) and on the acceptability portion of the [AcCompl-it] corpus (Out-of-domain, out). Models are evaluated with accuracy (Acc.) and Matthews Correlation Coefficient (MCC) in both settings. Results are averaged over 10 runs with ±stdev. error bounds.

in, Acc. in, MCC out, Acc. out, MCC
LSTM 0.794 0.278 ± 0.029 0.605 0.147 ± 0.066
ITA-BERT 0.904 0.603 ± 0.022 0.683 0.198 ± 0.036

Languages

The language data in ItaCoLA is in Italian (BCP-47 it)

Dataset Structure

Data Instances

Scores Configuration

The scores configuration contains sentences with acceptability judgments. An example from the train split of the scores config (default) is provided below.

{
    "unique_id": 1,
    "source": "Graffi_1994",
    "acceptability": 1,
    "sentence": "Quest'uomo mi ha colpito."
}

The text is provided as-is, without further preprocessing or tokenization.

The fields are the following:

  • unique_id: Unique identifier for the sentence across configurations.
  • source: Original source for the sentence.
  • acceptability: Binary score, 1 = acceptable, 0 = not acceptable.
  • sentence: The evaluated sentence.

Phenomena Configuration

The phenomena configuration contains a sample of sentences from scores that has been manually annotated to denote the presence of 9 linguistic phenomena. An example from the train split is provided below:

{
    "unique_id": 1,
    "source": "Graffi_1994",
    "acceptability": 1,
    "sentence": "Quest'uomo mi ha colpito.",
    "cleft_construction": 0,
    "copular_construction": 0,
    "subject_verb_agreement": 1,
    "wh_islands_violations": 0,
    "simple": 0,
    "question": 0,
    "auxiliary": 1,
    "bind": 0,
    "indefinite_pronouns": 0
}

For each one of the new fields, the value of the binary score denotes the presence (1) or the absence (0) of the respective phenomenon. Refer to the original paper for a detailed description of each phenomenon.

Data Splits

config train test
scores 7801 975
phenomena 2088 -

Dataset Creation

Please refer to the original article Monolingual and Cross-Lingual Acceptability Judgments with the Italian CoLA corpus for additional information on dataset creation.

Additional Information

Dataset Curators

The authors are the curators of the original dataset. For problems or updates on this 🤗 Datasets version, please contact gabriele.sarti996@gmail.com.

Licensing Information

No licensing information available.

Citation Information

Please cite the authors if you use these corpora in your work:

@inproceedings{trotta-etal-2021-monolingual-cross,
    title = "Monolingual and Cross-Lingual Acceptability Judgments with the {I}talian {C}o{LA} corpus",
    author = "Trotta, Daniela  and
      Guarasci, Raffaele  and
      Leonardelli, Elisa  and
      Tonelli, Sara",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
    month = nov,
    year = "2021",
    address = "Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.findings-emnlp.250",
    doi = "10.18653/v1/2021.findings-emnlp.250",
    pages = "2929--2940"
}
Downloads last month
234
Edit dataset card

Models trained or fine-tuned on gsarti/itacola

Collection including gsarti/itacola