dbmdz / t5-base-conll03-english

huggingface.co
Total runs: 305
24-hour runs: 156
7-day runs: 126
30-day runs: -28
Model's Last Updated: September 07 2023
text2text-generation

Introduction of t5-base-conll03-english

Model Details of t5-base-conll03-english

T5 Base Model for Named Entity Recognition (NER, CoNLL-2003)

In this repository, we open source a T5 Base model, that was fine-tuned on the official CoNLL-2003 NER dataset.

We use the great TANL library from Amazon for fine-tuning the model.

The exact approach of fine-tuning is presented in the "TANL: Structured Prediction as Translation between Augmented Natural Languages" paper from Giovanni Paolini, Ben Athiwaratkun, Jason Krone, Jie Ma, Alessandro Achille, Rishita Anubhai, Cicero Nogueira dos Santos, Bing Xiang and Stefano Soatto.

Fine-Tuning

We use the same hyper-parameter settings as used in the official implementation with one minor change. Instead of using 8 V100 GPUs, we train the model on one V100 GPU and used gradient accumulation. The slighly modified configuration file ( config.ini ) then looks like:

[conll03]
datasets = conll03
model_name_or_path = t5-base
num_train_epochs = 10
max_seq_length = 256
max_seq_length_eval = 512
per_device_train_batch_size = 4
per_device_eval_batch_size = 4
do_train = True
do_eval = True
do_predict = True
gradient_accumulation_steps = 8

It took around 2 hours to fine-tune that model on the 14,041 training sentences of CoNLL-2003 dataset.

Evaluation

On the development set, the following evaluation results could be achieved:

{
"entity_precision": 0.9536446086664427,
"entity_recall": 0.9555705149781218,
"entity_f1": 0.9546065904505716,
"entity_precision_no_type": 0.9773261672824992,
"entity_recall_no_type": 0.9792998990238977,
"entity_f1_no_type": 0.9783120376597176
}

The evaluation results on the test set looks like:

{
"entity_precision": 0.912182296231376,
"entity_recall": 0.9213881019830028,
"entity_f1": 0.9167620893155995,
"entity_precision_no_type": 0.953900087642419,
"entity_recall_no_type": 0.9635269121813032,
"entity_f1_no_type": 0.9586893332158901
}

To summarize: On the development set, 95.46% F1-Score and 91.68% on test set were achieved with this model. The paper reported a F1-Score of 91.7%.

License

The models is licensed under MIT .

Acknowledgments

Thanks to the generous support from the Hugging Face team, it is possible to download both cased and uncased models from their S3 storage 🤗

Runs of dbmdz t5-base-conll03-english on huggingface.co

305
Total runs
156
24-hour runs
156
3-day runs
126
7-day runs
-28
30-day runs

More Information About t5-base-conll03-english huggingface.co Model

More t5-base-conll03-english license Visit here:

https://choosealicense.com/licenses/mit

t5-base-conll03-english huggingface.co

t5-base-conll03-english huggingface.co is an AI model on huggingface.co that provides t5-base-conll03-english's model effect (), which can be used instantly with this dbmdz t5-base-conll03-english model. huggingface.co supports a free trial of the t5-base-conll03-english model, and also provides paid use of the t5-base-conll03-english. Support call t5-base-conll03-english model through api, including Node.js, Python, http.

t5-base-conll03-english huggingface.co Url

https://huggingface.co/dbmdz/t5-base-conll03-english

dbmdz t5-base-conll03-english online free

t5-base-conll03-english huggingface.co is an online trial and call api platform, which integrates t5-base-conll03-english's modeling effects, including api services, and provides a free online trial of t5-base-conll03-english, you can try t5-base-conll03-english online for free by clicking the link below.

dbmdz t5-base-conll03-english online free url in huggingface.co:

https://huggingface.co/dbmdz/t5-base-conll03-english

t5-base-conll03-english install

t5-base-conll03-english is an open source model from GitHub that offers a free installation service, and any user can find t5-base-conll03-english on GitHub to install. At the same time, huggingface.co provides the effect of t5-base-conll03-english install, users can directly use t5-base-conll03-english installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

t5-base-conll03-english install url in huggingface.co:

https://huggingface.co/dbmdz/t5-base-conll03-english

Url of t5-base-conll03-english

t5-base-conll03-english huggingface.co Url

Provider of t5-base-conll03-english huggingface.co

dbmdz
ORGANIZATIONS

Other API from dbmdz

huggingface.co

Total runs: 9.1K
Run Growth: 441
Growth Rate: 4.79%
Updated: December 14 2023