Views
No views yet
Thesis Context:
As part of the thesis project, this model works in tandem with a DistilBERT-based sentiment analyzer to revolutionize tourism feedback collection. The combined approach overcomes language barriers and inefficiencies in traditional survey methods, enhancing data-driven decision-making for tourism management.
paraphrase-multilingual-MiniLM-L12-v21from bertopic import BERTopic
2from safetensors.torch import load_file
3
4# Load the BERTopic model
5model = BERTopic.load("path/to/model.safetensors")1# Sample documents for topic modeling
2docs = [
3 "The hotel had a great view of the beach and excellent service.",
4 "Transportation was a bit difficult to find late at night."
5]
6
7# Extract topics from the documents
8topics, probs = model.transform(docs)
9print("Topics:", topics)
10print("Probabilities:", probs)safetensors, bertopic, and sentence-transformers are included in your deployment package for platforms like AWS Lambda or FastAPI.1@inproceedings{your_citation,
2 title={BERTopic Model for Multilingual Tourism Feedback},
3 author={Paul Andre D. Tadiar},
4 year={2025}
5}