Downloads · 30 days
5
1% of all-time downloads
quim-motger/reviewBERT-base
reviewBERT-base is a fill-mask model from quim-motger. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as gpl-3.0.
This model is a fine-tuned version of bert-base-uncased on a large dataset of mobile app reviews. The model is designed to understand and process text from mobile app reviews, providing enhanced performance for tasks…
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
630
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.pt876 MB · 67%
From the Hugging Face model README
This model is a fine-tuned version of bert-base-uncased on a large dataset
of mobile app reviews. The model is designed to understand and process text from mobile app reviews, providing enhanced performance
for tasks such as feature extraction, sentiment analysis and review summarization from app reviews.
bert-base-uncasedThe extended pre-training was performed using a diverse dataset of mobile app reviews collected from various app stores. The dataset includes reviews of different lengths, sentiments, and topics, providing a robust foundation for understanding the nuances of mobile app user feedback.
The model was fine-tuned using the following parameters:
from transformers import BertTokenizer, BertForSequenceClassification
tokenizer = BertTokenizer.from_pretrained('quim-motger/reviewBERT-base')
model = BertForSequenceClassification.from_pretrained('quim-motger/reviewBERT-base')
from transformers import pipeline
nlp = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
review = "This app is fantastic! I love the user-friendly interface and features."
result = nlp(review)
print(result)
# Output: [{'label': 'POSITIVE', 'score': 0.98}]
from transformers import pipeline
summarizer = pipeline('summarization', model=model, tokenizer=tokenizer)
long_review = "I have been using this app for a while and it has significantly improved my productivity.
The range of features is excellent, and the user interface is intuitive. However, there are occasional
bugs that need fixing."
summary = summarizer(long_review, max_length=50, min_length=25, do_sample=False)
print(summary)
# Output: [{'summary_text': 'The app has significantly improved my productivity with its excellent features and intuitive user interface. However, occasional bugs need fixing.'}]