Similar Items: Strategies for computational efficiency in small language models