Knowledge Graph,Question Answering System,基于知识图谱和向量检索的医疗诊断问答系统

Overview

基于知识图谱的医疗诊断知识问答系统

环境

  • python 3.7
  • tensorflow 1.14.0
  • keras 2.2.0
  • bert4keras 0.10.0
  • gensim 3.8.3
  • pyahocorasick 1.4.0

后期计划

系列视频持续更新中……,后期代码也将一并上传

点击这里观看视频

本项目系列视频大纲如下,最后可能会有细微差别,影响不大

imang

imang

You might also like...
chaii - hindi & tamil question answering

chaii - hindi & tamil question answering This is the solution for rank 5th in Kaggle competition: chaii - Hindi and Tamil Question Answering. The comp

Contact Extraction with Question Answering.

contactsQA Extraction of contact entities from address blocks and imprints with Extractive Question Answering. Goal Input: Dr. Max Mustermann Hauptstr

🚀 RocketQA, dense retrieval for information retrieval and question answering, including both Chinese and English state-of-the-art models.
🚀 RocketQA, dense retrieval for information retrieval and question answering, including both Chinese and English state-of-the-art models.

In recent years, the dense retrievers based on pre-trained language models have achieved remarkable progress. To facilitate more developers using cutt

open-information-extraction-system, build open-knowledge-graph(SPO, subject-predicate-object) by pyltp(version==3.4.0)

中文开放信息抽取系统, open-information-extraction-system, build open-knowledge-graph(SPO, subject-predicate-object) by pyltp(version==3.4.0)

Convolutional 2D Knowledge Graph Embeddings resources

ConvE Convolutional 2D Knowledge Graph Embeddings resources. Paper: Convolutional 2D Knowledge Graph Embeddings Used in the paper, but do not use thes

Beta Distribution Guided Aspect-aware Graph for Aspect Category Sentiment Analysis with Affective Knowledge. Proceedings of EMNLP 2021

AAGCN-ACSA EMNLP 2021 Introduction This repository was used in our paper: Beta Distribution Guided Aspect-aware Graph for Aspect Category Sentiment An

A framework for evaluating Knowledge Graph Embedding Models in a fine-grained manner.

A framework for evaluating Knowledge Graph Embedding Models in a fine-grained manner.

Switch spaces for knowledge graph embeddings

SwisE Switch spaces for knowledge graph embeddings. Requirements: python3 pytorch numpy tqdm Reproduce the results To reproduce the reported results,

Large-scale Knowledge Graph Construction with Prompting

Large-scale Knowledge Graph Construction with Prompting across tasks (predictive and generative), and modalities (language, image, vision + language, etc.)

Comments
  • entity_normalization时发生TypeError: 'float' object is not iterable

    entity_normalization时发生TypeError: 'float' object is not iterable

    Traceback (most recent call last): File "D:/PyCharm/PycharmProjects/MedicalKnowledgeGraph/entity_normalization/train.py", line 35, in p, h, y = load_char_data('./data/train.csv', data_size=None, maxlen=esim_params['input_shapes'][0][0]) File "D:\PyCharm\PycharmProjects\MedicalKnowledgeGraph\entity_normalization\data_helper.py", line 223, in load_char_data p_c_index, h_c_index = char_index(p, h, maxlen=maxlen) File "D:\PyCharm\PycharmProjects\MedicalKnowledgeGraph\entity_normalization\data_helper.py", line 196, in char_index word2idx, idx2word = load_char_vocab() File "D:\PyCharm\PycharmProjects\MedicalKnowledgeGraph\entity_normalization\data_helper.py", line 178, in load_char_vocab vocab.extend(list(ent)) TypeError: 'float' object is not iterable

    opened by LakersUpAma 0
  • 运行bulid_kg_utils.py时出现以下错误:

    运行bulid_kg_utils.py时出现以下错误:

    写入 疾病 实体的属性 22%|████████▋ | 1765/7916 [01:48<06:42, 15.27it/s][Statement.SyntaxError] Unexpected end of input: expected whitespace or an expression (line 3, column 40 (offset: 96))

    MATCH (n:疾病) WHERE n.name='肺纤维化'

    报这个错,有伙伴帮忙看下吗?是什么问题?

    opened by tandao6 0
  • 报错keyerror wxsid

    报错keyerror wxsid

    Traceback (most recent call last): File "itchat_app.py", line 59, in itchat.auto_login(hotReload=True, enableCmdQR=2, statusStorageDir='D:/GitHubDesktop/KBQA-for-Diagnosis/logs/loginInfo.pkl') File "D:\anaconda3\lib\site-packages\itchat\components\register.py", line 32, in auto_login loginCallback=loginCallback, exitCallback=exitCallback) File "D:\anaconda3\lib\site-packages\itchat\components\login.py", line 55, in login status = self.check_login() File "D:\anaconda3\lib\site-packages\itchat\components\login.py", line 141, in check_login if process_login_info(self, r.text): File "D:\anaconda3\lib\site-packages\itchat\components\login.py", line 183, in process_login_info core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]

    有没有兄弟遇到这个问题 解决了么?

    opened by baobaotql 1
Owner
wangle
Deep Learning, NLP, Knowledge Graph
wangle
Question answering app is used to answer for a user given question from user given text.

Question answering app is used to answer for a user given question from user given text.It is created using HuggingFace's transformer pipeline and streamlit python packages.

Siva Prakash 3 Apr 5, 2022
BERT-based Financial Question Answering System

BERT-based Financial Question Answering System In this example, we use Jina, PyTorch, and Hugging Face transformers to build a production-ready BERT-b

Bithiah Yuan 61 Sep 18, 2022
:mag: Transformers at scale for question answering & neural search. Using NLP via a modular Retriever-Reader-Pipeline. Supporting DPR, Elasticsearch, HuggingFace's Modelhub...

Haystack is an end-to-end framework for Question Answering & Neural search that enables you to ... ... ask questions in natural language and find gran

deepset 6.4k Jan 9, 2023
:house_with_garden: Fast & easy transfer learning for NLP. Harvesting language models for the industry. Focus on Question Answering.

(Framework for Adapting Representation Models) What is it? FARM makes Transfer Learning with BERT & Co simple, fast and enterprise-ready. It's built u

deepset 1.6k Dec 27, 2022
NeuralQA: A Usable Library for Question Answering on Large Datasets with BERT

NeuralQA: A Usable Library for (Extractive) Question Answering on Large Datasets with BERT Still in alpha, lots of changes anticipated. View demo on n

Victor Dibia 220 Dec 11, 2022
:house_with_garden: Fast & easy transfer learning for NLP. Harvesting language models for the industry. Focus on Question Answering.

(Framework for Adapting Representation Models) What is it? FARM makes Transfer Learning with BERT & Co simple, fast and enterprise-ready. It's built u

deepset 1.1k Feb 14, 2021
NeuralQA: A Usable Library for Question Answering on Large Datasets with BERT

NeuralQA: A Usable Library for (Extractive) Question Answering on Large Datasets with BERT Still in alpha, lots of changes anticipated. View demo on n

Victor Dibia 184 Feb 10, 2021
Baseline code for Korean open domain question answering(ODQA)

Open-Domain Question Answering(ODQA)는 다양한 주제에 대한 문서 집합으로부터 자연어 질의에 대한 답변을 찾아오는 task입니다. 이때 사용자 질의에 답변하기 위해 주어지는 지문이 따로 존재하지 않습니다. 따라서 사전에 구축되어있는 Knowl

VUMBLEB 69 Nov 4, 2022
Disfl-QA: A Benchmark Dataset for Understanding Disfluencies in Question Answering

Disfl-QA is a targeted dataset for contextual disfluencies in an information seeking setting, namely question answering over Wikipedia passages. Disfl-QA builds upon the SQuAD-v2 (Rajpurkar et al., 2018) dataset, where each question in the dev set is annotated to add a contextual disfluency using the paragraph as a source of distractors.

Google Research Datasets 52 Jun 21, 2022
CCQA A New Web-Scale Question Answering Dataset for Model Pre-Training

CCQA: A New Web-Scale Question Answering Dataset for Model Pre-Training This is the official repository for the code and models of the paper CCQA: A N

Meta Research 29 Nov 30, 2022