GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CogStack/OpenGPT: A framework for creating grounded instruction based datasets and training conversational domain expert Large Language Models (LLMs).

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
configs
configs
 
 
data
data
 
 
experiments
experiments
 
 
opengpt
opengpt
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
llama_train_requirements.txt
llama_train_requirements.txt
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

OpenGPT

A framework for creating grounded instruction based datasets and training conversational domain expert Large Language Models (LLMs).

Learn more in our blog: AI for Healthcare | Introducing OpenGPT.

NHS-LLM

A conversational model for healthcare trained using OpenGPT. All the medical datasets used to train this model were created using OpenGPT and are available below.

Available datasets

  • NHS UK Q/A, 24,665 question and answer pairs, Prompt used: f53cf99826, Generated via OpenGPT using data available on the NHS UK Website. Download here
  • NHS UK Conversations, 2,354 unique conversations, Prompt used: f4df95ec69, Generated via OpenGPT using data available on the NHS UK Website. Download here
  • Medical Task/Solution, 4,688 pairs generated via OpenGPT using GPT-4, prompt used: 5755564c19. Download here

All datasets are in the /data folder.

Installation

pip install opengpt

If you are working with LLaMA models, you will also need some extra requirements:

pip install -r ./llama_train_requirements.txt

Tutorials

  • Making a mini conversational LLM for healthcare, Google Colab - OpenGPT | The making of Dum-E

How to

  1. We start by collecting a base dataset in a certain domain. For example, collect definitions of all disases (e.g. from NHS UK). You can find a small sample dataset here. It is important that the collected dataset has a column named text where each row of the CSV has one disease definition.

  2. Find a prompt matching your use case in the prompt database, or create a new prompt using the Prompt Creation Notebook. A prompt will be used to generate tasks/solutions based on the context (the dataset collected in step 1.)

  • Edit the config file for dataset generation and add the appropirate promtps and datasets (example config file).
  • Run the Dataset generation notebook (link)
  1. Edit the train_config file and add the datasets you want to use for training.
  2. Use the train notebook or run the training scripts to train a model on the new dataset you created.

If you have any questions please checkout discourse

More Examples

About

A framework for creating grounded instruction based datasets and training conversational domain expert Large Language Models (LLMs).

Topics

chatgptgpt-4healthhealthcarehuggingfacellmmedicinenlpopengpt

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

371 stars

Watchers

9 watching

Forks

44 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.