The app i’ve deployed can do Named Entity Recognition (NER) and Part-of-speech tagging (POS) at once, using the terrific Flair NLP Framework from Zalando Research department in collaboration with Berlin University.
Code is available on my Github account, with under 70 lines of Python hopefully worth checking out.
Feel free to give feedback on the App. It wouldn’t be possible without the community in the first place! so you’re thoughts are most welcome.
I will write a blog with more detailed info as soon as I can find the time
It is showing This app has gone over its resource limits. Please try again in a few minutes.
Kindly refer this for checking the previous post which had similar issue hopefully it will help you.
Long story short: the app uses 2 saved .pt (Torch) models. It runs locally just fine, however the recursive nature of Streamlit proved to be causing a memory leak, since every time a new input is given, a new model instance is loaded in the RAM.
I simply didn’t notice on my laptop, since i have quite a lot of RAM. However, I did end up crashing my laptop just as well, it only took quite some time.
Thanks to the community, SessionState.py has now been added and a cached version does prevent this unexpected behaviour.
It is still far from perfect, so please try again an let me now your honest feedback
The link is working now. I tried your project. It is amazing and works fine. However, I am not an expert to the related field but even a small initiative should be appreciated as you tried something out of your comfort zone.
Thank you for your feedback.
In order to answer your question:
spacy.explain("PRP$")
pronoun, possessive
Furthermore,
Functional documentation of the models used can be reviewed @ the links below (still thinking how to integrate this nicely in the App, suggestions are most welcome)
I’ve updated the App to accommodate Streamlit >= 1.8. Since I had the code under review in over a year, I also did some updating . Firstly as FlairNLP improved the Tagger functionality, it also supports Span tagging. Really useful if you have complex documents, that can easily have multiple spans of meaning across sentences.
Secondly I’ve received user feedback that the abbreviations where not clear, hence that’s fixed as well, input taken from the revised modelcards @HuggingFace.
If you care to take a look and share you’re thoughts, that would be awesome.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.