Instructions to use szymonpindur/bert-onomatopoeia-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use szymonpindur/bert-onomatopoeia-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="szymonpindur/bert-onomatopoeia-recognition")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("szymonpindur/bert-onomatopoeia-recognition") model = AutoModelForTokenClassification.from_pretrained("szymonpindur/bert-onomatopoeia-recognition") - Notebooks
- Google Colab
- Kaggle
BERT Onomatopoeia Recognition
This model is a finetuned BERT large model (cased) on a sample of 18 000 manually filtered sentences containing onomatopoeia from the British National Corpus (http://bncweb.lancs.ac.uk/). The model allows to detect onomatopoeia in the form of interjections, nouns, and verbs in any given text.
Model Details
Model Description
- Developed by Szymon Pindur, Jagiellonian University in Krakow
- Model type Token classification
- Language(s) (NLP) English
- Finetuned from model [optional] bert-large-cased (https://huggingface.co/bert-large-cased)
- Downloads last month
- 3