Skip to content

Repository files navigation

Measure-AI-Drift

This project aims at testing souvereign LLMs in therapeutic context against propietary systems focusing on stochastic drift and consistency.

Complete Pipeline

Pipeline Data Flow

Three Level Evaluation

Evaluation Methods

Evaluation of llm therapist consistency by vignette and fused vs chained output (plan and output_message in one prompt vs split in two)

dialogue_test_evaluation plan_example

Evaluation by model (not the final ones) for Jaccard, BERTScore and Plan-output alignment for the fused mode - plan and output_message in one

model_test_evaluation

Example trials for evaluation

trial_01.json: trial_01 { "temperature": 0.5, "plan": " empowerment / mastery ", "response": "You're considering the possibility of either seeing who's entering the room or being able to move. That could significantly change the dynamics of the situation. If you could move, where would you go or what would you do as the door opens?", "plan_usage": { "prompt_tokens": 660, "completion_tokens": 10, "total_tokens": 670, "model": "llama-3.3-70b-versatile" }, "response_usage": { "prompt_tokens": 1264, "completion_tokens": 49, "total_tokens": 1313, "model": "llama-3.3-70b-versatile" }, "strategies": [ "empowerment", "mastery" ] }

trial_03-json trial_03 { "temperature": 0.5, "plan": " empowerment / mastery ", "response": "You're considering having the ability to see who's entering or being able to move as a way to regain control in this situation. If you could see who it is, what would you hope to see or experience that would make you feel more at ease or empowered?", "plan_usage": { "prompt_tokens": 660, "completion_tokens": 10, "total_tokens": 670, "model": "llama-3.3-70b-versatile" }, "response_usage": { "prompt_tokens": 1264, "completion_tokens": 54, "total_tokens": 1318, "model": "llama-3.3-70b-versatile" }, "strategies": [ "empowerment", "mastery" ] }

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages