Run this model with HF Jobs

Run ChenWeiLi/Taiwan-inquiry_7B_v2.1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/ChenWeiLi/Taiwan-inquiry_7B_v2.1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ChenWeiLi/Taiwan-inquiry_7B_v2.1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ChenWeiLi/Taiwan-inquiry_7B_v2.1. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ChenWeiLi/Taiwan-inquiry_7B_v2.1. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

๐Ÿ”Ž Taiwan-inquiry_7B_v_2.1

"The model was fine-tuned based on the Breeze-7B-Instruct-v1_0 model using a dataset that includes 614 authentic dialogues from the National Cheng Kung University Hospital. Additionally, 336 synthetic dialogues were included in the training set, carefully crafted to encompass themes drawn from sample questions of the OSCE (่‡จๅบŠๆŠ€่ƒฝๆธฌ้ฉ—) sample questions in Taiwan. These synthetic dialogues were generated using GPT-3.5, Gemini-Pro and Breexe-8x7B-Instruct-v0_1. The training process was geared towards simulating verbal exchanges between doctors and patients within a hospital environment."

image/png

**************************** Updates ****************************

Model Description

  • Developed by: Joseph (Chen-Wei) Li, researcher assistant from National Taiwan University Hospital.
  • Model type: A 7B parameter GPT-like model fine-tuned on a combination of private and synthetic dialogue datasets.
  • Language(s) (NLP): Traditional Chinese (zh-tw)
  • Finetuned from model : Breeze-7B-Instruct-v1_0

Usage of the model

  • The user can take on the role of a doctor, and the model can engage in conversation with you as if it were a patient.
  • You can provide the model with a brief patient background in the system prompt, and the model will respond based on that prompt. (using my patient generator: colab)
  • Directly asking the certain disease about the symptoms and the possible therapies.๏ผˆWarning: It's not medical advice!)

Model evaluation

The model got the TMMLU+ (0 shot) performance using EleutherAI/lm-evaluation-harness with default settings.

Details on TMMLU+ (0 shot):
Model
Base Model STEM Social Science Humanities Other AVG
Taiwan-inquiry_7B_v2.1 Breeze-7B-Instruct-v1_0 36.06 44.61 37.49 39.61 40.29
Taiwan-inquiry_7B_v2.0 Breeze-7B-Instruct-v0_1 36.17 43.59 35.45 37.63 38.95
Taiwan-inquiry_7B_v1.0 Taiwan-LLM-7B-v2.1-chat 26.74 29.47 26.83 29.61 28.83

DEMO

  • User: doctor
  • Chatbot: patient image/png image/png
Downloads last month
36
Safetensors
Model size
7B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ChenWeiLi/Taiwan-inquiry_7B_v2.1

Quantizations
1 model

Collection including ChenWeiLi/Taiwan-inquiry_7B_v2.1