Run this model with HF Jobs
Run boeing/aviation-ner on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/boeing/aviation-ner. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/boeing/aviation-ner on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use boeing/aviation-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Aviation NER
How to use boeing/aviation-ner with Aviation NER:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files123---license: mit---12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667---license: mitpipeline_tag: token-classificationtags:- GLiNER,- entity recognition,- NER,- aviation safetylanguage:- enbase_model:- numind/NuNER_Zero---aviation-ner is a fine-tuned a transformer based model to identify and extract aviation hazards associated with product factors from Service Difficulty Reports. The work is a collaboration between FAA and Boeing data scientist teams. The NER model will enhance searchability and facilitate clustering and trend analysis of safety events.Entity Definition Flight Phase (FLT)It references to the IATA taxonomy that focuses on safety management. IATA includes flight planning and ground servicing phases since these phases can directly impact a flight.Product Location (LOC)A location within the airplane and directional information which disambiguates one Product Factor from another or helps to identify each aircraft component specificallyCrew Action (ACT)A task which is/was carried out to attempt to resolve/correct a Product Condition excluding maintenance action. Examples: follow QRH, complied with procedure, run or accomplished procedure, disable/enable systems, turn on/off systems, change state of the airplane or its systems, change flight phase, change flight altitude, etc. Communication related actions such as request, call, notify, and notice are excluded.Product (PROD)Airplane and components/equipment/systems installed on the delivered product. Typically, this means something that you can touch, hold, remove, replace, control or interact with. Examples: tire pressure, software, navigation database, and cabin pressure.Product Condition (PCON)A specific quality, behavior, or situation with regards to a Product Factor or Product Location. Examples: Smoke, Fire, Fumes, Odor, Loss of Aircraft Control, FOD, Fuel Issue, Gear Up Landing, Ground Strike, Jet Blast, Loss of VLOSBird strike or Animal strike (BIRD)Bird strike or a near miss between an aircraft and wildlife, during high-speed take-off or landing. For animal strike, an impact/collision between an aircraft and wildlife (Deer, elk, coyote, fox), during high-speed take-off or landingEmergency or Abnormal Situation (SIT)An emergency situation is one in which the safety of the aircraft or of persons on board or on the ground is endangered for any reason. An abnormal situation is one in which it is no longer possible to continue the flight using normal procedures but the safety of the aircraft or persons on board or on the ground is not in danger. Examples: Evacuated, Flight Cancelled/Delayed, Diverted, Executed Go Around / Missed Approach, Inflight Shutdown, Exited Penetrated Airspace, FLC Overrode Automation, FLC Complied with Automation / Advisory, Landed as Precaution, Landed in Emergency Condition, Overcame Equipment Problem, Regained Aircraft Control, Rejected Takeoff, Requested ATC Assistance/Clarification, Returned to Clearance, Returned to Departure Airport, Returned to Gate, Returned to Home, Took Evasive Action## Installation & Usage```!pip install gliner==0.1.12```**NuZero requires labels to be lower-cased**```pythonfrom gliner import GLiNERdef merge_entities(entities):if not entities:return []merged = []current = entities[0]for next_entity in entities[1:]:if next_entity['label'] == current['label'] and (next_entity['start'] == current['end'] + 1 or next_entity['start'] == current['end']):current['text'] = text[current['start']: next_entity['end']].strip()current['end'] = next_entity['end']else:merged.append(current)current = next_entity# Append the last entitymerged.append(current)return mergedmodel = GLiNER.from_pretrained("numind/NuNerZero")
README.md+67-3