Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM49678
Volume:
9 |
6 |
Jun 2025
Pages:
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.
â Large language models (LLMs) have demonstrated remarkable performance in natural language understanding, yet their deployment for real-time semantic search and recommendation tasks remains impractical due to significant computational demands. This paper introduces a cost-efficient framework for fine-tuning small-scale models tailored for high-quality semantic movie recommendation. We leverage Gemma 3, a compact generative model, to produce enriched natural language descriptions of movies from structured metadata, and Granite Embedder, a lightweight transformer-based encoder, to compute dense vector representations for semantic similarity retrieval. Fine-tuning is performed using contrastive learning on curated triplet datasets derived from public movie data sources, enabling the model to learn meaningful semantic distances between similar and dissimilar movie entries. Our pipeline developed using Python with Hugging Face Transformers, PyTorch, Qdrant supports end-to-end generation, embedding, and retrieval of semantically similar movies. All experiments were conducted on an AWS EC2 instance equipped with a 24 GB GPU, allowing for efficient training and inference at scale. We demonstrate a notable improvement in recommendation quality, with Recall@10 increasing from 0.56 to 0.81, and mean cosine similarity between relevant movie vectors improving from 0.43 to 0.72 after fine-tuning. A sample system output, such as âIf you enjoyed avengers:age of ultron, you might love eternals for its mind-bending story and similar sci-fi execution,â showcases the modelâs contextual sensitivity and domain-specific relevance. This research highlights a scalable, low-cost alternative to large foundation models for semantic search and recommendation tasks, effective as of June 2, 2025.
KEYWORDS
Publication Date
6/10/2025
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
0
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...