alphagov / govuk-content-metadata

GovNER: an encoder-based language model (RoBERTa) fine-tuned to perform Named Entity Recognition (NER) on GOV.UK content
MIT License
4 stars 1 forks source link

update streamlit app to take outputs from 2 models and visualise spans #89

Closed rory-hurley-gds closed 1 year ago

rory-hurley-gds commented 1 year ago

Summary

Add your summary here - keep it brief, to the point, and in plain English. For further information about pull requests, check out the GDS Way.

Checklists

This pull/merge request meets the following requirements:

Comments have been added below around the incomplete checks.

exfalsoquodlibet commented 1 year ago

Thanks @rory-hurley-gds. Could you freeze the requirements-original.txt to requirements.txt and commit both files?

Before doing this, ensure your environment is aligned to remote main (beside the new "protobuf" package you're adding now). I mean, ensure you are not freezing any other unnecessary package local to you perhaps because of experimentation but unnecessary to the project.

pip freeze -r  requirements-original.txt > requirements.txt

Hopefully, there'll be no conflict.