/ Модель

Характеристики

Контекст
131 072 токена
Параметры
7,5 млрд
Размер весов
32,1 ГБ
Лицензия
Llama 3.1
Архитектура
llama · dense
Базовая модель
Llama-3.1-8B-Instruct
Библиотека
transformers
Опубликована
3 мар 2025

TxAgent-T1-Llama-3.1-8B

Генерация текстаТекст → текст3 профессии

Дообученная медицинская Llama-модель для многошагового анализа лекарственной терапии и вызова биомедицинских инструментов.

258скачиваний за 30 дней31лайквеса обновлены10 апр 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

TxAgent-T1-Llama-3.1-8B — медицинская языковая модель-агент, разработанная командой TxAgent и дообученная на основе meta-llama/Llama-3.1-8B-Instruct. Модель рассчитана на многошаговые рассуждения о лекарственной терапии и вызов внешних инструментов для поиска и проверки биомедицинских сведений. В описанном авторами сценарии агент работает с ToolUniverse, объединяющим 211 инструментов.

Модель имеет плотную архитектуру LlamaForCausalLM и около 7,5 млрд параметров; заявленная длина контекста — 131 072 токена. Она принимает текстовые запросы и генерирует текст, включая структурированные вызовы функций для поддерживаемого агентного интерфейса. Обучающие данные охватывают вопросы о терапии, лекарственных взаимодействиях, противопоказаниях и персонализации рекомендаций с учётом характеристик пациента. В README приведены результаты на разработанных авторами бенчмарках, но это не заменяет клиническую проверку.

Модель предназначена для исследовательской поддержки анализа лекарственной терапии и требует актуальных источников и инструментов для получения внешних данных. README не подтверждает мультимодальный ввод, несмотря на упоминание мультимодальных адаптивных моделей во введении. Используется лицензия Llama 3.1; применяйте модель согласно её условиям и не рассматривайте сгенерированные рекомендации как самостоятельное медицинское решение.

Сценарии применения

  • поиск потенциальных взаимодействий между лекарствами
  • выявление противопоказаний с учётом заболеваний и сопутствующих препаратов
  • подготовка персонализированных вариантов лекарственной терапии для экспертной проверки
  • ответы на вопросы о препаратах на основе биомедицинских источников
  • формирование вызовов функций для инструментов поиска медицинских данных

Ограничения

Для внешнего поиска требуется подключение соответствующих инструментов; качество и актуальность результата зависят от них. Модель не заменяет клиническую оценку, а README не подтверждает мультимодальный ввод.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

TxAgent-T1 Model

ProjectPage PaperLink TxAgent-PIP ToolUniverse-PIP TxAgent ToolUniverse HuggingFace

Model Information

TxAgent-T1-Llama-3.1-8B is instruction tuned with TxAgent-Instruct dataset, a diverse synthetic multi-step reasoning and massive function call training dataset anchored in biomedical knowledge. TxAgent-T1-Llama-3.1-8B is finetuned based on Llama3.1-88-Instrcut.

TxAgent

Introduction

Precision therapeutics require multimodal adaptive models that generate personalized treatment recommendations. We introduce TxAgent, an AI agent that leverages multi-step reasoning and real-time biomedical knowledge retrieval across a toolbox of 211 tools to analyze drug interactions, contraindications, and patient-specific treatment strategies.

  • TxAgent evaluates how drugs interact at molecular, pharmacokinetic, and clinical levels, identifies contraindications based on patient comorbidities and concurrent medications, and tailors treatment strategies to individual patient characteristics, including age, genetic factors, and disease progression.
  • TxAgent retrieves and synthesizes evidence from multiple biomedical sources, assesses interactions between drugs and patient conditions, and refines treatment recommendations through iterative reasoning. It selects tools based on task objectives and executes structured function calls to solve therapeutic tasks that require clinical reasoning and cross-source validation.
  • The ToolUniverse consolidates 211 tools from trusted sources, including all US FDA-approved drugs since 1939 and validated clinical insights from Open Targets.

TxAgent outperforms leading LLMs, tool-use models, and reasoning agents across five new benchmarks: DrugPC, BrandPC, GenericPC, TreatmentPC, and DescriptionPC, covering 3,168 drug reasoning tasks and 456 personalized treatment scenarios.

  • It achieves 92.1% accuracy in open-ended drug reasoning tasks, surpassing GPT-4o by up to 25.8% and outperforming DeepSeek-R1 (671B) in structured multi-step reasoning.
  • TxAgent generalizes across drug name variants and descriptions, maintaining a variance of < 0.01 between brand, generic, and description-based drug references, exceeding existing tool-use LLMs by over 55%.

By integrating multi-step inference, real-time knowledge grounding, and tool- assisted decision-making, TxAgent ensures that treatment recommendations align with established clinical guidelines and real-world evidence, reducing the risk of adverse events and improving therapeutic decision-making.

Model Training and Data

To generate TxAgent-Instruct dataset, we construct three datasets—a tooling dataset, a comprehensive therapeutic question dataset, and a reasoning trace dataset—using the auxiliary agent systems. The tooling dataset consists of augmented versions of 211 tools from ToolUniverse, where each tool's description is randomly rephrased to enhance variability. This enables TxAgent to learn how to use new tools rather than simply memorizing those in ToolUniverse. The comprehensive therapeutic question dataset includes 85,340 therapeutic questions and functional instructions designed to train TxAgent's abilities. These are generated by the QuestionGen agent system. The reasoning trace dataset comprises 85,340 detailed reasoning traces for answering therapeutic questions. These traces collectively encompass 177,626 reasoning steps and 281,695 function calls, all generated by the TraceGen agent system. By processing the data from these three datasets, we construct TxAgent-Instruct dataset, which comprises 378,027 instruction-tuning data samples. The agent systems generate training data grounded in biomedical knowledge and therapeutic scenarios by randomly sampling drugs and disease information from verified sources. Drug information is sourced from FDA drug labeling documents, while the disease list is derived from PrimeKG. Associations among drugs, diseases, phenotypes, and targets are compiled from Open Targets. To avoid any leakage of evaluation data into the training set, we exclude all drugs approved after 2023 from the training set and use drugs approved in 2024 as the source of evaluation data.

Please refer to our project page for more details: Project Page.

How to use

Install ToolUniverse:

# Install from source code:
git clone https://github.com/mims-harvard/ToolUniverse.git
cd ToolUniverse
python -m pip install . --no-cache-dir

# Install from pypi:
pip install tooluniverse

Install TxAgent:

# Install from source code:
git clone https://github.com/mims-harvard/TxAgent.git

python -m pip install . --no-cache-dir
# Install from pypi:
pip install txagent

Run the example with the run_example.py.

Run the gradio demo with the run_txagent_app.py.

Citation

@misc{gao2025txagent,
      title={TxAgent: An AI Agent for Therapeutic Reasoning Across a Universe of Tools}, 
      author={Shanghua Gao and Richard Zhu and Zhenglun Kong and Ayush Noori and Xiaorui Su and Curtis Ginder and Theodoros Tsiligkaridis and Marinka Zitnik},
      year={2025},
      eprint={2503.10970},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2503.10970}, 
}

Contact

If you have any questions or suggestions, please email Shanghua Gao and Marinka Zitnik.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
ad8c02c

0 моделей