Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,27 @@ datasets:
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
- **Developed by:** bastienp
|
| 19 |
- **License:** gemma
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# Gemma-2 2B Instruct fine-tuned on JSON dataset
|
| 17 |
+
|
| 18 |
+
This model is a Gemma-2 2b model finetuned on the paraloq/json_data_extraction.
|
| 19 |
+
|
| 20 |
+
The model was finetuned in order to extract data from a text according to a json schema.
|
| 21 |
+
|
| 22 |
+
# Prompt
|
| 23 |
+
|
| 24 |
+
The prompt used during training is:
|
| 25 |
+
```py
|
| 26 |
+
"""Below is a text paired with input that provides further context. Write JSON output that matches the schema to extract information.
|
| 27 |
+
|
| 28 |
+
### Input:
|
| 29 |
+
{input}
|
| 30 |
+
|
| 31 |
+
### Schema:
|
| 32 |
+
{schema}
|
| 33 |
+
|
| 34 |
+
### Response:
|
| 35 |
+
"""
|
| 36 |
+
```
|
| 37 |
|
| 38 |
- **Developed by:** bastienp
|
| 39 |
- **License:** gemma
|