haifengl/smile
A Java/Scala/Kotlin machine learning framework for the JVM with LLM inference, deep learning, and classical ML algorithms.

SMILE (Statistical Machine Intelligence & Learning Engine) is a comprehensive machine learning framework for the JVM with idiomatic APIs for Java, Scala, and Kotlin. It provides implementations of classical ML algorithms (SVM, decision trees, random forests, gradient boosting), deep learning with LibTorch/GPU support, LLM inference including LLaMA-3 with OpenAI-compatible REST serving, NLP tools with tiktoken tokenization, computer vision models, and data visualization capabilities.