Feature Extraction
Transformers
Safetensors
English
modernbert
autonomous-driving
structured-output
compositional-semantics
research-only
text-embeddings-inference
Instructions to use UNIC0RN-Zhu/modernbert-drive-command-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UNIC0RN-Zhu/modernbert-drive-command-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="UNIC0RN-Zhu/modernbert-drive-command-base")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("UNIC0RN-Zhu/modernbert-drive-command-base") model = AutoModel.from_pretrained("UNIC0RN-Zhu/modernbert-drive-command-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "schema": "modernbert-driving-thresholds-v1", | |
| "calibration_dataset": "/root/autodl-tmp/LMM-in-AutoDrive/structured_command_parser/data/processed/english_pseudolabels/validation.jsonl", | |
| "calibration_rows": 132540, | |
| "action_thresholds": { | |
| "KEEP_LANE": 0.5, | |
| "SET_SPEED": 0.95, | |
| "ADJUST_SPEED": 0.8, | |
| "STOP": 0.85, | |
| "WAIT": 0.65, | |
| "FOLLOW": 0.8, | |
| "APPROACH": 0.7, | |
| "NAVIGATE_TO": 0.8, | |
| "CHANGE_LANE": 0.65, | |
| "MERGE": 0.7, | |
| "TURN": 0.9, | |
| "U_TURN": 0.5, | |
| "PROCEED": 0.95, | |
| "YIELD": 0.45, | |
| "PULL_OVER": 0.75, | |
| "PARK": 0.9, | |
| "OVERTAKE": 0.85, | |
| "PASS_BY": 0.95, | |
| "AVOID": 0.85, | |
| "REVERSE": 0.95, | |
| "ENTER_AREA": 0.95, | |
| "EXIT_AREA": 0.95, | |
| "EMERGENCY_BRAKE": 0.95, | |
| "RESUME": 0.5, | |
| "CANCEL": 0.5 | |
| }, | |
| "direction_thresholds": { | |
| "LEFT": 0.8, | |
| "RIGHT": 0.8, | |
| "STRAIGHT": 0.7, | |
| "BACKWARD": 0.95 | |
| }, | |
| "before": { | |
| "actions": { | |
| "exact_match": 0.9829636216163635, | |
| "micro_precision": 0.9356169331077613, | |
| "micro_recall": 0.9870056950348921, | |
| "micro_f1": 0.9606245425713588 | |
| }, | |
| "directions": { | |
| "exact_match": 0.9966274499893188, | |
| "micro_precision": 0.9812835876212243, | |
| "micro_recall": 0.9892888279985054, | |
| "micro_f1": 0.985269947592024 | |
| } | |
| }, | |
| "after": { | |
| "actions": { | |
| "exact_match": 0.9884110689163208, | |
| "micro_precision": 0.9864494240497329, | |
| "micro_recall": 0.9736905430336087, | |
| "micro_f1": 0.9800284586894874 | |
| }, | |
| "directions": { | |
| "exact_match": 0.9974271655082703, | |
| "micro_precision": 0.996396282480875, | |
| "micro_recall": 0.9814422717648524, | |
| "micro_f1": 0.9888627450980392 | |
| } | |
| } | |
| } | |