Downloads · 30 days
4
4% of all-time downloads
AdapterHub/bert-base-multilingual-uncased-hinglish-sentiment
bert-base-multilingual-uncased-hinglish-sentiment is a text classification model from AdapterHub. Use it when you need a label for a piece of text. It is set up for adapter-transformers. The card lists the license as apache-2.0.
Note: This adapter was not trained by the AdapterHub team, but by these author(s): Meghana Bhange, Nirant K. See author details below.
Downloads · 30 days
4
4% of all-time downloads
All-time downloads
114
Public
Repo size
6 MB
Likes
0
Public
Click a slice to open those files.
.bin6 MB · 100%
From the Hugging Face model README
bert-base-multilingual-uncased-hinglish-sentiment for bert-base-multilingual-uncasedNote: This adapter was not trained by the AdapterHub team, but by these author(s): Meghana Bhange, Nirant K. See author details below.
Adapter for Hinglish Sentiment Analysis, based on SemEval 2020 Task 9
This adapter was created for usage with the Adapters library.
First, install adapters:
pip install -U adapters
Now, the adapter can be loaded and activated like this:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("bert-base-multilingual-uncased")
adapter_name = model.load_adapter("AdapterHub/bert-base-multilingual-uncased-hinglish-sentiment")
model.set_active_adapters(adapter_name)
@article{Hinglish,
title={HinglishNLP: Fine-tuned Language Models for Hinglish Sentiment Detection},
author={Meghana Bhange,
Nirant Kasliwal,
journal={ArXiv},
year={2020}
}
This adapter has been auto-imported from https://github.com/Adapter-Hub/Hub/blob/master/adapters/nirantk/bert-base-multilingual-uncased-hinglish-sentiment.yaml.