Jzuluaga commited on
Commit
10973df
1 Parent(s): e51f342

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -6
README.md CHANGED
@@ -77,21 +77,85 @@ It achieves the following results on the development set:
77
 
78
  Authors: Juan Zuluaga-Gomez, Karel Veselý, Igor Szöke, Petr Motlicek, Martin Kocour, Mickael Rigault, Khalid Choukri, Amrutha Prasad and others
79
 
80
- Abstract: Personal assistants, automatic speech recognizers and dialogue understanding systems are becoming more critical in our interconnected digital world. A clear example is air traffic control (ATC) communications. ATC aims at guiding aircraft and controlling the airspace in a safe and optimal manner. These voice-based dialogues are carried between an air traffic controller (ATCO) and pilots via very-high frequency radio channels. In order to incorporate these novel technologies into ATC (low-resource domain), large-scale annotated datasets are required to develop the data-driven AI systems. Two examples are automatic speech recognition (ASR) and natural language understanding (NLU). In this paper, we introduce the ATCO2 corpus, a dataset that aims at fostering research on the challenging ATC field, which has lagged behind due to lack of annotated data. The ATCO2 corpus covers 1) data collection and pre-processing, 2) pseudo-annotations of speech data, and 3) extraction of ATC-related named entities. The ATCO2 corpus is split into three subsets. 1) ATCO2-test-set corpus contains 4 hours of ATC speech with manual transcripts and a subset with gold annotations for named-entity recognition (callsign, command, value). 2) The ATCO2-PL-set corpus consists of 5281 hours of unlabeled ATC data enriched with automatic transcripts from an in-domain speech recognizer, contextual information, speaker turn information, signal-to-noise ratio estimate and English language detection score per sample. Both available for purchase through ELDA at this http URL. 3) The ATCO2-test-set-1h corpus is a one-hour subset from the original test set corpus, that we are offering for free at this https URL. We expect the ATCO2 corpus will foster research on robust ASR and NLU not only in the field of ATC communications but also in the general research community.
81
 
82
  Code — GitHub repository: https://github.com/idiap/atco2-corpus
83
 
84
- ## Model description
85
-
86
- More information needed
87
 
88
  ## Intended uses & limitations
89
 
90
- More information needed
91
 
92
  ## Training and evaluation data
93
 
94
- More information needed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
 
96
  ## Training procedure
97
 
 
77
 
78
  Authors: Juan Zuluaga-Gomez, Karel Veselý, Igor Szöke, Petr Motlicek, Martin Kocour, Mickael Rigault, Khalid Choukri, Amrutha Prasad and others
79
 
80
+ Abstract: Personal assistants, automatic speech recognizers and dialogue understanding systems are becoming more critical in our interconnected digital world. A clear example is air traffic control (ATC) communications. ATC aims at guiding aircraft and controlling the airspace in a safe and optimal manner. These voice-based dialogues are carried between an air traffic controller (ATCO) and pilots via very-high frequency radio channels. In order to incorporate these novel technologies into ATC (low-resource domain), large-scale annotated datasets are required to develop the data-driven AI systems. Two examples are automatic speech recognition (ASR) and natural language understanding (NLU). In this paper, we introduce the ATCO2 corpus, a dataset that aims at fostering research on the challenging ATC field, which has lagged behind due to lack of annotated data. The ATCO2 corpus covers 1) data collection and pre-processing, 2) pseudo-annotations of speech data, and 3) extraction of ATC-related named entities. The ATCO2 corpus is split into three subsets. 1) ATCO2-test-set corpus contains 4 hours of ATC speech with manual transcripts and a subset with gold annotations for named-entity recognition (callsign, command, value). 2) The ATCO2-PL-set corpus consists of 5281 hours of unlabeled ATC data enriched with automatic transcripts from an in-domain speech recognizer, contextual information, speaker turn information, signal-to-noise ratio estimate and English language detection score per sample. Both available for purchase through ELDA at this http URL. 3) The ATCO2-test-set-1h corpus is a one-hour subset from the original test set corpus, that we are offering for free at this url: https://www.atco2.org/data. We expect the ATCO2 corpus will foster research on robust ASR and NLU not only in the field of ATC communications but also in the general research community.
81
 
82
  Code — GitHub repository: https://github.com/idiap/atco2-corpus
83
 
 
 
 
84
 
85
  ## Intended uses & limitations
86
 
87
+ This model was fine-tuned on air traffic control data. We don't expect that it keeps the same performance on some others datasets where BERT was pre-trained or fine-tuned.
88
 
89
  ## Training and evaluation data
90
 
91
+ See Table 6 (page 18) in our paper: [ATCO2 corpus: A Large-Scale Dataset for Research on Automatic Speech Recognition and Natural Language Understanding of Air Traffic Control Communications](https://arxiv.org/abs/2211.04054). We described there the data used to fine-tune our NER model.
92
+
93
+ - We use the ATCO2 corpus to fine-tune this model. You can download a free sample here: https://www.atco2.org/data
94
+ - However, do not worry, we have prepared a script in our repository for preparing this databases:
95
+ - Dataset preparation folder: https://github.com/idiap/atco2-corpus/tree/main/data/databases/atco2_test_set_1h/data_prepare_atco2_corpus_other.sh
96
+ - Get the data in the format required by HuggingFace: speaker_role/data_preparation/prepare_spkid_atco2_corpus_test_set_1h.sh
97
+
98
+ ## Writing your own inference script
99
+
100
+ The snippet of code:
101
+
102
+ ```python
103
+ from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassification
104
+
105
+ tokenizer = AutoTokenizer.from_pretrained("Jzuluaga/bert-base-ner-atc-en-atco2-1h")
106
+ model = AutoModelForTokenClassification.from_pretrained("Jzuluaga/bert-base-ner-atc-en-atco2-1h")
107
+
108
+
109
+ ##### Process text sample
110
+ from transformers import pipeline
111
+
112
+ nlp = pipeline('ner', model=model, tokenizer=tokenizer, aggregation_strategy="first")
113
+ nlp("lufthansa three two five cleared to land runway three four left")
114
+
115
+ # output:
116
+ [{'entity_group': 'callsign', 'score': 0.8753265,
117
+ 'word': 'lufthansa three two five',
118
+ 'start': 0, 'end': 24},
119
+ {'entity_group': 'command', 'score': 0.99988264,
120
+ 'word': 'cleared to land', 'start': 25, 'end': 40},
121
+ {'entity_group': 'value', 'score': 0.9999145,
122
+ 'word': 'runway three four left', 'start': 41, 'end': 63}]
123
+
124
+ ```
125
+
126
+ # Cite us
127
+
128
+ If you use this code for your research, please cite our paper with:
129
+
130
+ ```
131
+ @article{zuluaga2022bertraffic,
132
+ title={BERTraffic: BERT-based Joint Speaker Role and Speaker Change Detection for Air Traffic Control Communications},
133
+ author={Zuluaga-Gomez, Juan and Sarfjoo, Seyyed Saeed and Prasad, Amrutha and others},
134
+ journal={IEEE Spoken Language Technology Workshop (SLT), Doha, Qatar},
135
+ year={2022}
136
+ }
137
+ ```
138
+
139
+ and,
140
+
141
+ ```
142
+ @article{zuluaga2022how,
143
+ title={How Does Pre-trained Wav2Vec2. 0 Perform on Domain Shifted ASR? An Extensive Benchmark on Air Traffic Control Communications},
144
+ author={Zuluaga-Gomez, Juan and Prasad, Amrutha and Nigmatulina, Iuliia and Sarfjoo, Saeed and others},
145
+ journal={IEEE Spoken Language Technology Workshop (SLT), Doha, Qatar},
146
+ year={2022}
147
+ }
148
+ ```
149
+ and,
150
+
151
+ ```
152
+ @article{zuluaga2022atco2,
153
+ title={ATCO2 corpus: A Large-Scale Dataset for Research on Automatic Speech Recognition and Natural Language Understanding of Air Traffic Control Communications},
154
+ author={Zuluaga-Gomez, Juan and Vesel{\`y}, Karel and Sz{\"o}ke, Igor and Motlicek, Petr and others},
155
+ journal={arXiv preprint arXiv:2211.04054},
156
+ year={2022}
157
+ }
158
+ ```
159
 
160
  ## Training procedure
161