Downloads · 30 days
6
12% of all-time downloads
tdossett/aircraft-risk-assessment
aircraft-risk-assessment is a text classification model from tdossett. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model predicts ICAO/FAA risk assessment codes for aircraft maintenance tasks based on: - Commodity type (e.g., "ATA 28 FUEL") - Sub-commodity (e.g., "ATA 28-00 General") - Aircraft type (e.g., "B737") - Severity…
Downloads · 30 days
6
12% of all-time downloads
All-time downloads
50
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model predicts ICAO/FAA risk assessment codes for aircraft maintenance tasks based on:
The model predicts risk codes like:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
# Load model and tokenizer
model_name = "your-username/aircraft-risk-assessment"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Example prediction
input_text = "Commodity: ATA 28 FUEL | Sub-Commodity: ATA 28-00 General | Aircraft: B737 | Severity: Immediate production line"
inputs = tokenizer(input_text, return_tensors="pt", truncation=True, padding=True)
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)
predicted_class = predictions.argmax().item()
confidence = predictions.max().item()
print(f"Predicted class: {predicted_class}, Confidence: {confidence:.2%}")
Trained on aircraft maintenance task cards with the following features:
If you use this model, please cite:
Aircraft Risk Assessment Model
Trained on aviation maintenance data
Base model: DistilBERT