Instructions to use borisdiakur/distilbert-ATC-pilot-classifier-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use borisdiakur/distilbert-ATC-pilot-classifier-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="borisdiakur/distilbert-ATC-pilot-classifier-onnx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("borisdiakur/distilbert-ATC-pilot-classifier-onnx") model = AutoModelForSequenceClassification.from_pretrained("borisdiakur/distilbert-ATC-pilot-classifier-onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
DistilBERT ATC/Pilot Role Classifier (ONNX)
A lightweight DistilBERT-based sequence classifier fineβtuned to distinguish between Air Traffic Controller (ATC) and Pilot utterances.
Exported to ONNX format for fast, local, offline inference β ideal for realβtime aviation communication systems and compatible with Transformers.js v5.
This model is used to automatically label transcripts from aviation radio communications, especially when paired with ASR systems such as Whisper.
βοΈ What the model does
Given a short text snippet (typically a single radio transmission), the model predicts:
ATCPILOT
It is robust to noisy, imperfect ASR output and realβworld phraseology.
π§ Base model
This classifier was fineβtuned from:
distilbert-base-uncased
π¦ ONNX export
The model is exported using the Hugging Face Optimum ONNX exporter and organized in the folder structure expected by Transformers.js v5:
distilbert-atc-pilot-classifier-onnx
βββ config.json
βββ onnx
β βββ model.onnx
βββ special_tokens_map.json
βββ tokenizer.json
βββ tokenizer_config.json
βββ vocab.txt
π§ͺ Training data
This model was trained on the excellent ATC/Pilot Speaker Role Classification Dataset created by jacktol:
Dataset: https://huggingface.co/datasets/jacktol/atc-pilot-speaker-role-classification-dataset
Author: https://huggingface.co/jacktol
Huge thanks to jacktol for making this dataset publicly available.
- Downloads last month
- 11
Model tree for borisdiakur/distilbert-ATC-pilot-classifier-onnx
Base model
distilbert/distilbert-base-uncased