Update README.md
Browse files
README.md
CHANGED
|
@@ -23,9 +23,7 @@ widget:
|
|
| 23 |
# # Our experiment
|
| 24 |
|
| 25 |
- The category mapping:
|
| 26 |
-
|
| 27 |
category_mapping = {
|
| 28 |
-
|
| 29 |
'Politics':1,
|
| 30 |
'Finance':2,
|
| 31 |
'Medical':3,
|
|
@@ -36,7 +34,6 @@ widget:
|
|
| 36 |
}
|
| 37 |
|
| 38 |
- Training parameters
|
| 39 |
-
|
| 40 |
| | |
|
| 41 |
| :-------------------: | :-----------:|
|
| 42 |
| Training batch size | `8` |
|
|
@@ -49,7 +46,6 @@ widget:
|
|
| 49 |
| | |
|
| 50 |
|
| 51 |
- Results
|
| 52 |
-
|
| 53 |
| | |
|
| 54 |
| :---------------------: | :-----------: |
|
| 55 |
| Validation Loss | `0.0479` |
|
|
@@ -76,7 +72,6 @@ widget:
|
|
| 76 |
| CGRU | 93.43% |
|
| 77 |
| HANGRU | 95.81% |
|
| 78 |
|
| 79 |
-
|
| 80 |
# # Example usage
|
| 81 |
```python
|
| 82 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
|
|
|
| 23 |
# # Our experiment
|
| 24 |
|
| 25 |
- The category mapping:
|
|
|
|
| 26 |
category_mapping = {
|
|
|
|
| 27 |
'Politics':1,
|
| 28 |
'Finance':2,
|
| 29 |
'Medical':3,
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
- Training parameters
|
|
|
|
| 37 |
| | |
|
| 38 |
| :-------------------: | :-----------:|
|
| 39 |
| Training batch size | `8` |
|
|
|
|
| 46 |
| | |
|
| 47 |
|
| 48 |
- Results
|
|
|
|
| 49 |
| | |
|
| 50 |
| :---------------------: | :-----------: |
|
| 51 |
| Validation Loss | `0.0479` |
|
|
|
|
| 72 |
| CGRU | 93.43% |
|
| 73 |
| HANGRU | 95.81% |
|
| 74 |
|
|
|
|
| 75 |
# # Example usage
|
| 76 |
```python
|
| 77 |
from transformers import T5ForConditionalGeneration, T5Tokenizer
|