Text Classification
Transformers
Joblib
ONNX
Safetensors
English
bert
masterformat
masterformat-classifier
csi-masterformat
construction
construction-technology
sequence-classification
tfidf
ensemble
specs
spec-writing
specifications
takeoff
estimating
cost-code
ufgs
public-domain
Eval Results (legacy)
text-embeddings-inference
Instructions to use constructelligence/masterformat-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use constructelligence/masterformat-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="constructelligence/masterformat-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("constructelligence/masterformat-classifier") model = AutoModelForSequenceClassification.from_pretrained("constructelligence/masterformat-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,580 Bytes
b774c08 eec49a5 e42cda0 b774c08 e42cda0 | 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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | {
"val": {
"n": 11598,
"top1": 0.4661148473874806,
"top3": 0.6408001379548198,
"division": 0.5929470598379031
},
"line_items": {
"n": 194,
"top1": 0.5968586387434555,
"top3": 0.7591623036649214,
"division": 0.7371134020618557
},
"manuals": {
"n": 6890,
"top1": 0.2797942689199118,
"top3": 0.44584864070536373,
"division": 0.46357039187227866
},
"manual_sections": {
"sections": 153,
"top1": 0.6066666666666667,
"division": 0.8104575163398693
},
"txdot_bid_items": {
"_doc": "790 TxDOT bid items labelled via txdot_crosswalk.json; capped = <=20 rows per TxDOT item (n=529); 95% Wilson CI",
"transformer": {
"raw": {
"top1": 0.125,
"top1_ci": [
0.104,
0.15
],
"capped_top1": 0.161
},
"expanded": {
"top1": 0.27,
"top1_ci": [
0.24,
0.302
],
"capped_top1": 0.272,
"top3": 0.546,
"division": 0.352
}
},
"ensemble": {
"raw": {
"top1": 0.199,
"top1_ci": [
0.172,
0.228
],
"capped_top1": 0.223,
"top3": 0.416,
"division": 0.285
},
"expanded": {
"top1": 0.489,
"top1_ci": [
0.454,
0.523
],
"capped_top1": 0.369,
"capped_top1_ci": [
0.329,
0.411
],
"top3": 0.671,
"division": 0.57
}
}
},
"txdot_bid_items_bidmode": {
"_doc": "ensemble/tfidf_bid.joblib (opt-in --bid-items); item-held-out = 5-fold CV grouped by TxDOT item number; paired vs default ensemble; building-set regression with the shipped model",
"item_held_out": {
"n": 790,
"top1": 0.6076,
"ci": [
0.573,
0.641
],
"vs_published": {
"new_right_old_wrong": 104,
"old_right_new_wrong": 10,
"p": 0.0
}
},
"item_held_out_capped": {
"n": 529,
"top1": 0.4915,
"ci": [
0.449,
0.534
],
"vs_published": {
"new_right_old_wrong": 73,
"old_right_new_wrong": 8,
"p": 0.0
}
},
"default_same_rows": {
"n": 790,
"top1": 0.4886,
"ci": [
0.454,
0.523
]
},
"items_seen_optimistic": 0.9532,
"building_regression": {
"val": {
"default": 0.5875,
"bid_mode": 0.5836
},
"line_items": {
"default": 0.6907,
"bid_mode": 0.701
},
"manuals": {
"default": 0.3261,
"bid_mode": 0.3287
},
"manual_sections": {
"default": {
"sections": 153,
"top1": 0.62,
"division": 0.803921568627451
},
"bid_mode": {
"sections": 153,
"top1": 0.6133333333333333,
"division": 0.7908496732026143
}
}
},
"train_items": 2842,
"bid_weight": 3.0
}
} |