File size: 1,325 Bytes
8608dd1
 
8cf1a9b
8608dd1
 
 
 
a5f855b
 
8608dd1
8cf1a9b
8608dd1
 
 
 
 
 
 
 
 
77d46f6
8cf1a9b
77d46f6
8cf1a9b
8608dd1
 
 
 
 
 
8cf1a9b
8608dd1
 
8cf1a9b
8608dd1
 
 
 
 
 
 
05ec398
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a5f855b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
license: mit
title: Vietnames Medical mT5 Finetune Question and Answer
sdk: gradio
colorFrom: green
colorTo: green
python_verison: 3.10.12
sdk_version: 5.42.0
pinned: true
---
# Vietnames Medical mT5 Finetune Question and Answer

## Dataset
You can download dataset at this url: https://github.com/triet2397/UIT-ViCoV19QA
## Metrics
- Loss:
  - Trainging Set: 0.306100.
  - Validation Set: 0.322764.

## Demo
### Demo Image
![Demo Image](https://github.com/danhtran2mind/vi-medical-mt5-finetune-qa/blob/main/demo_images/demo.png)
### Demo Space
You can try this project demo at: https://huggingface.co/spaces/danhtran2mind/vi-medical-mt5-finetune-qa

## Usage
- Install Denpendencies:
```bash
pip install -r requirements.txt
```
- Download download the 'danhtran2mind/vi-medical-mt5-finetune-qa' model from Hugging Face using the following commands:
```bash
cd models
git clone https://huggingface.co/danhtran2mind/vi-medical-mt5-finetune-qa
cd ..
```
- Run Gradio app:
```bash
python app.py
```
- Your app will run at `localhost:7860`

## Denpendencies Enviroment
- Python version: 3.10.12
- Libraries verions:
  ```bash
  pandas==2.2.3
  numpy==1.26.4
  matplotlib==3.7.5
  scikit-learn==1.2.2
  gensim==4.3.3
  underthesea==6.8.4
  tensorflow==2.17.1
  datasets==3.3.1
  torch==2.5.1+cu121
  transformers==4.47.0
  ```