Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -73,7 +73,6 @@ pip install datasets transformers sentencepiece safetensors accelerate evaluate
|
|
| 73 |
|
| 74 |
*(Install PyTorch separately from [pytorch.org](https://pytorch.org) if not installed yet.)*
|
| 75 |
|
| 76 |
-
---
|
| 77 |
### 📥 Load Dataset from Hugging Face Hub
|
| 78 |
```python
|
| 79 |
from datasets import load_dataset
|
|
@@ -81,7 +80,6 @@ from datasets import load_dataset
|
|
| 81 |
ds = load_dataset("DANGDOCAO/GeneratingQuestions", split="train")
|
| 82 |
print(ds[0])
|
| 83 |
```
|
| 84 |
-
---
|
| 85 |
## 🚀 Example Usage
|
| 86 |
|
| 87 |
### 🔹 Fine-tuning
|
|
@@ -98,7 +96,6 @@ This will:
|
|
| 98 |
|
| 99 |
*(Or download the pre-trained model: [t5-viet-qg-finetuned](https://huggingface.co/datasets/DANGDOCAO/GeneratingQuestions/tree/main).)*
|
| 100 |
|
| 101 |
-
---
|
| 102 |
### 🔹 Generating Questions
|
| 103 |
```bash
|
| 104 |
python generate_question.py
|
|
@@ -124,7 +121,6 @@ Number of questions: 5
|
|
| 124 |
|
| 125 |
- `top_k`, `top_p`, `temperature`, `no_repeat_ngram_size`, `repetition_penalty`
|
| 126 |
|
| 127 |
-
---
|
| 128 |
## 📌 Citation
|
| 129 |
If you use **HVU_QA** in your research, please cite:
|
| 130 |
|
|
|
|
| 73 |
|
| 74 |
*(Install PyTorch separately from [pytorch.org](https://pytorch.org) if not installed yet.)*
|
| 75 |
|
|
|
|
| 76 |
### 📥 Load Dataset from Hugging Face Hub
|
| 77 |
```python
|
| 78 |
from datasets import load_dataset
|
|
|
|
| 80 |
ds = load_dataset("DANGDOCAO/GeneratingQuestions", split="train")
|
| 81 |
print(ds[0])
|
| 82 |
```
|
|
|
|
| 83 |
## 🚀 Example Usage
|
| 84 |
|
| 85 |
### 🔹 Fine-tuning
|
|
|
|
| 96 |
|
| 97 |
*(Or download the pre-trained model: [t5-viet-qg-finetuned](https://huggingface.co/datasets/DANGDOCAO/GeneratingQuestions/tree/main).)*
|
| 98 |
|
|
|
|
| 99 |
### 🔹 Generating Questions
|
| 100 |
```bash
|
| 101 |
python generate_question.py
|
|
|
|
| 121 |
|
| 122 |
- `top_k`, `top_p`, `temperature`, `no_repeat_ngram_size`, `repetition_penalty`
|
| 123 |
|
|
|
|
| 124 |
## 📌 Citation
|
| 125 |
If you use **HVU_QA** in your research, please cite:
|
| 126 |
|