Model: davidramos/t5-small-generation-code-documentation
Author: davidramos
Pipeline: text-generation
Tags: generated_from_trainer, text2text-generation, license:apache-2.0, region:us
Card metadata: license: apache-2.0
tags: generated_from_trainer
model-index: name: t5-small-generation-code-documentation
widget: 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
pipeline_tag: text2text-generation
Likes: 0 | All-time downloads: 0
Created: 2023-10-01 20:37:58