Run this model with HF Jobs

Run d4data/EnviDueDiligence_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/d4data/EnviDueDiligence_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/d4data/EnviDueDiligence_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.

About the Model

An Environmental Named Entity Recognition model, trained on dataset from USEPA to recognize environmental due diligence (7 entities) from a given text corpus (remediation reports, record of decision, 5 year record etc). This model was built on top of distilbert-base-uncased

Usage

The easiest way is to load the inference api from huggingface and second method is through the pipeline object offered by transformers library.


# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="d4data/EnviDueDiligence_NER")

# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("d4data/EnviDueDiligence_NER")
model = AutoModelForTokenClassification.from_pretrained("d4data/EnviDueDiligence_NER")

Author

This model is part of the Research topic "Environmental Due Diligence" conducted by Deepak John Reji, Afreen Aman. If you use this work (code, model or dataset), please cite:

Aman, A. and Reji, D.J., 2022. EnvBert: An NLP model for Environmental Due Diligence data classification. Software Impacts, 14, p.100427.

You can support me here :)

Buy Me A Coffee

Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support