Instructions to use d4data/environmental-due-diligence-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d4data/environmental-due-diligence-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="d4data/environmental-due-diligence-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("d4data/environmental-due-diligence-model") model = AutoModelForSequenceClassification.from_pretrained("d4data/environmental-due-diligence-model") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +12 -12
config.json
CHANGED
|
@@ -24,18 +24,18 @@
|
|
| 24 |
},
|
| 25 |
"initializer_range": 0.02,
|
| 26 |
"label2id": {
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
},
|
| 40 |
"max_position_embeddings": 512,
|
| 41 |
"model_type": "distilbert",
|
|
|
|
| 24 |
},
|
| 25 |
"initializer_range": 0.02,
|
| 26 |
"label2id": {
|
| 27 |
+
"Contaminants":"10",
|
| 28 |
+
"Remediation Standards":"0",
|
| 29 |
+
"Geology":"5",
|
| 30 |
+
"Contaminated media":"6",
|
| 31 |
+
"Remediation Goals":"8",
|
| 32 |
+
"Source of contamination":"9",
|
| 33 |
+
"Extent of Contamination":"1",
|
| 34 |
+
"Extent of contamination":"1",
|
| 35 |
+
"Groundwater-Surfacewater interaction":"3",
|
| 36 |
+
"Remediation Activities":"7",
|
| 37 |
+
"Depth to Water":"2",
|
| 38 |
+
"GW Velocity":"4"
|
| 39 |
},
|
| 40 |
"max_position_embeddings": 512,
|
| 41 |
"model_type": "distilbert",
|