Update README.md
Browse files
README.md
CHANGED
|
@@ -60,4 +60,27 @@ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
|
| 60 |
json_template =json.loads(response)
|
| 61 |
|
| 62 |
print(json_template)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
```
|
|
|
|
| 60 |
json_template =json.loads(response)
|
| 61 |
|
| 62 |
print(json_template)
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Output
|
| 66 |
+
|
| 67 |
+
```json
|
| 68 |
+
{
|
| 69 |
+
'Person': {
|
| 70 |
+
'Name': '',
|
| 71 |
+
'Stage name': '',
|
| 72 |
+
'Real name': '',
|
| 73 |
+
'Birth date': '',
|
| 74 |
+
'Nationality': '',
|
| 75 |
+
'Occupations': [],
|
| 76 |
+
'Debut': {
|
| 77 |
+
'Age': '',
|
| 78 |
+
'Year': '',
|
| 79 |
+
'Company': '',
|
| 80 |
+
'Contract type': '',
|
| 81 |
+
'EP': '',
|
| 82 |
+
'EP title': ''
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
```
|