PubMed ML Platform

•
1
•

Establishes an end-to-end machine learning platform for semantic search across PubMed biomedical abstracts.

The PubMed ML Platform is a comprehensive machine learning infrastructure designed for semantic search over PubMed biomedical abstracts. It covers the entire ML lifecycle, from data ingestion using Airflow and PubMed's E-utilities API, to generating optimized vector embeddings with HuggingFace models and MLflow experiment tracking. The platform includes advanced techniques like contrastive fine-tuning, cross-encoder re-ranking, knowledge distillation, and ONNX export with INT8 quantization for superior performance. A robust FastAPI serving layer provides semantic search, similarity finding, and A/B testing capabilities, all wrapped as MCP tools for seamless integration with large language models, enabling powerful AI-driven research exploration.

Key Features

01End-to-end ML infrastructure for semantic search
02Advanced embedding pipeline with fine-tuning, re-ranking, and ONNX optimization
03FastAPI serving layer with A/B testing and Prometheus metrics
04Integrated with Model Context Protocol (MCP) for LLM tool utilization
05Scalable architecture with Docker Compose, Kubernetes, and pgvector for local and production deployments
061 GitHub stars

Use Cases

01Discover semantically similar research papers based on an existing article's content
02Perform semantic searches across a vast collection of biomedical abstracts from PubMed
03Integrate with large language models to enable advanced, context-aware queries and research workflows