Discovering new materials often involves predicting their properties before investing time and resources in making and testing them in the laboratory. Machine-learning models are widely used to estimate important properties, such as band gap and formation energy, helping researchers narrow down candidate materials. More recently, large language models (LLMs) have offered a flexible way to represent materials through text for property prediction.