Update README.md
Browse files
README.md
CHANGED
|
@@ -13,6 +13,36 @@ datasets:
|
|
| 13 |
- TokenBender/code_instructions_122k_alpaca_style
|
| 14 |
pipeline_tag: text-classification
|
| 15 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# Uploaded model
|
| 18 |
|
|
|
|
| 13 |
- TokenBender/code_instructions_122k_alpaca_style
|
| 14 |
pipeline_tag: text-classification
|
| 15 |
---
|
| 16 |
+
# finetuning
|
| 17 |
+
finetuinng with
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# code
|
| 21 |
+
Formated text
|
| 22 |
+
''python
|
| 23 |
+
formatted_text = f"""Below is an instruction that describes a task. \
|
| 24 |
+
Write a response that appropriately completes the request.
|
| 25 |
+
|
| 26 |
+
### Instruction:
|
| 27 |
+
{x['instruction']}
|
| 28 |
+
|
| 29 |
+
### Input:
|
| 30 |
+
{x['input']}
|
| 31 |
+
|
| 32 |
+
### Response:
|
| 33 |
+
{x['output']}<eos>"""
|
| 34 |
+
|
| 35 |
+
else:
|
| 36 |
+
formatted_text = f"""Below is an instruction that describes a task. \
|
| 37 |
+
Write a response that appropriately completes the request.
|
| 38 |
+
|
| 39 |
+
### Instruction:
|
| 40 |
+
{x['instruction']}
|
| 41 |
+
|
| 42 |
+
### Response:
|
| 43 |
+
{x['output']}<eos>"""
|
| 44 |
+
|
| 45 |
+
''
|
| 46 |
|
| 47 |
# Uploaded model
|
| 48 |
|