Commit
·
f0c0638
1
Parent(s):
1fbde83
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,8 @@ tags:
|
|
| 5 |
model-index:
|
| 6 |
- name: t5-small-generation-code-documentation
|
| 7 |
results: []
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 5 |
model-index:
|
| 6 |
- name: t5-small-generation-code-documentation
|
| 7 |
results: []
|
| 8 |
+
widget:
|
| 9 |
+
- text: "def get_training_corpus(threshold=256): dataset_corpus = dataset['train'] for start_idx in range(0, len(dataset_corpus), 1000): samples = dataset_corpus[start_idx : start_idx + 1000] samples = [sample for sample in samples['func_code_tokens'] if len(sample) < threshold] yield samples"
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|