Coder Social home page Coder Social logo

zuofengli / wardwise Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marswen/wardwise

0.0 0.0 0.0 40 KB

A ward round assistant who helps medical personnel to query medical record data with LLM

License: GNU Affero General Public License v3.0

Python 100.00%

wardwise's Introduction

Wardwise

背景

  • 医务人员在查房会诊等临床行为中需要频繁查询患者的检查结果和进展情况。
  • 从电子病历里查找信息时,会涉及时间条件、逻辑条件、术语标准化等推理过程,简单的结构化查询很难满足需求。
  • 大语言模型改变了自然语言处理的任务逻辑,可以探索新的思路下的应用机会。

目标

  • 建立电子病历和大语言模型推理的流程框架。
  • 实现对电子病历信息的交互式问答接口。
  • 探索不同场景和领域内使用大模型推理的最佳实践。

使用方法

  • 加载数据:
    load_data.py:
    - digest_doc: 基于最小信息量模型,从纯文本里提取id和时间戳等必要信息。
    - load_std_data: 从符合最小信息量模型的数据里加载数据。
  • 检索病历:
    query_record.py: 找出符合要求的病历记录
  • 回答问题:
    answer_question.py: 根据病历记录回答查询问题
  • 示例:
    example.py

wardwise's People

Contributors

marswen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.