Update README.md
Browse files
README.md
CHANGED
@@ -3,8 +3,14 @@ license: mit
|
|
3 |
language:
|
4 |
- en
|
5 |
---
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
```python
|
9 |
import torch
|
10 |
from torch.utils.data import DataLoader, Dataset
|
@@ -60,4 +66,5 @@ def predict_description(model, tokenizer, text, max_length=512):
|
|
60 |
|
61 |
(['INCIDENT', 'REQUEST'])[predict_description(model, tokenizer, """My ID card is not being detected.""")]
|
62 |
|
63 |
-
```
|
|
|
|
3 |
language:
|
4 |
- en
|
5 |
---
|
6 |
+
<details>
|
7 |
+
<summary>
|
8 |
+
TinyBERT based model
|
9 |
+
</summary>
|
10 |
+
</details>
|
11 |
+
|
12 |
+
<details>
|
13 |
+
<summary>RoBERT based model</summary>
|
14 |
```python
|
15 |
import torch
|
16 |
from torch.utils.data import DataLoader, Dataset
|
|
|
66 |
|
67 |
(['INCIDENT', 'REQUEST'])[predict_description(model, tokenizer, """My ID card is not being detected.""")]
|
68 |
|
69 |
+
```
|
70 |
+
</details>
|