Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
### Model Card
|
| 2 |
|
| 3 |
# Information:
|
| 4 |
|
|
@@ -20,7 +20,7 @@
|
|
| 20 |
Evaluation Loss: 1.109059
|
| 21 |
|
| 22 |
|
| 23 |
-
### Loading the model
|
| 24 |
|
| 25 |
```python
|
| 26 |
from peft import PeftModel, PeftConfig
|
|
@@ -34,7 +34,7 @@
|
|
| 34 |
QG_model = PeftModel.from_pretrained(model, peft_model_id)
|
| 35 |
```
|
| 36 |
|
| 37 |
-
### At inference time
|
| 38 |
|
| 39 |
```python
|
| 40 |
def get_question(context, answer):
|
|
@@ -48,7 +48,7 @@
|
|
| 48 |
return out
|
| 49 |
```
|
| 50 |
|
| 51 |
-
### Training parameters and hyperparameters
|
| 52 |
|
| 53 |
The following were used during training:
|
| 54 |
|
|
@@ -77,7 +77,7 @@
|
|
| 77 |
|
| 78 |
lr_scheduler_type="linear"
|
| 79 |
|
| 80 |
-
### Training Results
|
| 81 |
|
| 82 |
| Epoch | Training Loss | Validation Loss |
|
| 83 |
|-------|---------------|-----------------|
|
|
|
|
| 1 |
+
### Model Card ###
|
| 2 |
|
| 3 |
# Information:
|
| 4 |
|
|
|
|
| 20 |
Evaluation Loss: 1.109059
|
| 21 |
|
| 22 |
|
| 23 |
+
### Loading the model ###
|
| 24 |
|
| 25 |
```python
|
| 26 |
from peft import PeftModel, PeftConfig
|
|
|
|
| 34 |
QG_model = PeftModel.from_pretrained(model, peft_model_id)
|
| 35 |
```
|
| 36 |
|
| 37 |
+
### At inference time ###
|
| 38 |
|
| 39 |
```python
|
| 40 |
def get_question(context, answer):
|
|
|
|
| 48 |
return out
|
| 49 |
```
|
| 50 |
|
| 51 |
+
### Training parameters and hyperparameters ###
|
| 52 |
|
| 53 |
The following were used during training:
|
| 54 |
|
|
|
|
| 77 |
|
| 78 |
lr_scheduler_type="linear"
|
| 79 |
|
| 80 |
+
### Training Results ###
|
| 81 |
|
| 82 |
| Epoch | Training Loss | Validation Loss |
|
| 83 |
|-------|---------------|-----------------|
|