Repository navigation
Pacific AI Releases LangTest 2.8.0: MedExQA and HeadQA Support, Unified text-generation Task for Hugging Face Models, Embedding Evaluation Fixes, and Security Enhancements #1254
Pinned
chakravarthik27
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
📢 Highlights
We're excited to announce the latest LangTest release, expanding clinical benchmark coverage, unifying Hugging Face model handling, and hardening the library and documentation website.
🩺 MedExQA: Medical Question Answering Benchmark:
LangTest now supports MedExQA, a medical QA benchmark covering five underrepresented specialties: biomedical engineering, clinical laboratory science, clinical psychology, occupational therapy, and speech-language pathology.
🧠 HeadQA: Complex Healthcare Reasoning Benchmark:
We've added support for HeadQA, a multiple-choice benchmark drawn from healthcare specialization exams. It covers medicine, nursing, pharmacology, psychology, biology, and chemistry.
🔄 Unified
text-generationTask for Hugging Face Models:Translation, summarization, and text2text-generation tasks for Hugging Face models using the
transformerspackage have been migrated to a singletext-generationpathway. This removes per-task pipeline branching, aligns local model behavior with hosted LLM hubs, and makes it substantially simpler to add new Hugging Face models.🧮 Embedding-Based Functionalities Restored on the Latest OpenAI SDK:
Embedding-based functionalities have been migrated from the deprecated OpenAI interface to the current SDK client and its updated response format. Similarity scoring for embedding-driven metrics now works reliably on modern SDK versions, with no configuration changes needed on your side.
🔒 Security Enhancements:
Vulnerabilities and security issues have been resolved across both the core library and the documentation website, reinforcing LangTest's overall stability and safety.
🔥 Key Enhancements
🩺 MedExQA: Medical Question Answering with Multiple Explanations
We've added support for MedExQA, a medical question-answering benchmark built around five underrepresented specialties: biomedical engineering, clinical laboratory science, clinical psychology, occupational therapy, and speech-language pathology.
Key Features:
How it works:
Prompt:
Harness Setup:
Execution:
🧠 HeadQA: Complex Healthcare Reasoning Benchmark
LangTest now supports HeadQA, a multiple-choice benchmark sourced from healthcare specialization exams, available in LangTest. The questions are drawn from professional certification exams across medicine, nursing, pharmacology, psychology, biology, and chemistry.
Key Features:
How it works:
Prompt:
Harness Setup:
Execution:
🔄 Unified
text-generationTask for Hugging Face ModelsThe
translation,summarization, andtext2text-generationtasks for Hugging Facetransformersmodels have been consolidated into a singletext-generationpipeline, giving one consistent interface across local and hosted models.pipeline()helpers; LangTest now handles seq2seq loading internally throughAutoTokenizerandAutoModelForSeq2SeqLM.🧮 OpenAI SDK v1 Migration for Embedding-Based Evaluation
Embedding-based functionalities have been migrated from the deprecated OpenAI interface to the current SDK client, restoring reliable similarity scoring for embedding-driven metrics.
OpenaiEmbeddingsrelied on the pre-1.xopenai.Embedding.create()endpoint and module-levelopenai.api_keyassignment, both removed in the modern SDK — causing embedding functionalities to fail outright on currentopenaiversions.🔒 Security Enhancements
Vulnerabilities and security issues have been resolved across both the core library and the documentation website, reinforcing LangTest's overall stability and safety.
What's Changed
Full Changelog: 2.7.0...2.8.0
This discussion was created from the release Pacific AI Releases LangTest 2.8.0: MedExQA and HeadQA Support, Unified text-generation Task for Hugging Face Models, Embedding Evaluation Fixes, and Security Enhancements.
All reactions