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
File size: 2,254 Bytes
f32e285 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | {
"schema": "modernbert-semantic-token-head-v1",
"labels": [
"O",
"B_ENTITY",
"I_ENTITY",
"B_RELATION",
"I_RELATION"
],
"train_rows": 3288,
"validation_rows": 1065,
"best_validation_token_f1": 0.9948555599525128,
"frozen_backbone": true,
"elapsed_seconds": 23.438019558787346,
"history": [
{
"token_precision": 0.9972908366533865,
"token_recall": 0.9881572714353387,
"token_f1": 0.9927030456852792,
"token_accuracy": 0.9926397800445557,
"epoch": 1,
"train_loss": 0.14505504634122826
},
{
"token_precision": 0.9972925625099538,
"token_recall": 0.9887888836254539,
"token_f1": 0.9930225182366,
"token_accuracy": 0.9929705858230591,
"epoch": 2,
"train_loss": 0.029710620035896602
},
{
"token_precision": 0.997296007634802,
"token_recall": 0.9900521080056846,
"token_f1": 0.9936608557844692,
"token_accuracy": 0.9936321377754211,
"epoch": 3,
"train_loss": 0.022430925611949083
},
{
"token_precision": 0.9971383147853736,
"token_recall": 0.9903679141007421,
"token_f1": 0.993741582825002,
"token_accuracy": 0.9937148690223694,
"epoch": 4,
"train_loss": 0.019456134268164057
},
{
"token_precision": 0.9969822109275731,
"token_recall": 0.9911574293383862,
"token_f1": 0.9940612875128673,
"token_accuracy": 0.9940456748008728,
"epoch": 5,
"train_loss": 0.017276593601530037
},
{
"token_precision": 0.9972994440031772,
"token_recall": 0.9913153323859151,
"token_f1": 0.9942983845422869,
"token_accuracy": 0.994293749332428,
"epoch": 6,
"train_loss": 0.015938257265076475
},
{
"token_precision": 0.9973011589141133,
"token_recall": 0.9919469445760303,
"token_f1": 0.9946168461051298,
"token_accuracy": 0.9944591522216797,
"epoch": 7,
"train_loss": 0.014872589008430543
},
{
"token_precision": 0.9973024436686766,
"token_recall": 0.9924206537186168,
"token_f1": 0.9948555599525128,
"token_accuracy": 0.9947072267532349,
"epoch": 8,
"train_loss": 0.014309850005993566
}
]
}
|