The distribution of size of files (measured in lines of code).
File | # lines | # units |
---|---|---|
tensorizers.py in pytext/data |
1787 | 190 |
module.py in pytext/torchscript |
1706 | 129 |
config_adapter.py in pytext/config |
981 | 94 |
__init__.py in pytext/metrics |
835 | 39 |
luna_attention.py in pytext/models/representations/transformer |
602 | 25 |
trainer.py in pytext/trainers |
562 | 23 |
data_handler.py in pytext/data |
555 | 38 |
main.py in pytext |
552 | 19 |
fp16_optimizer.py in pytext/optimizer |
534 | 61 |
annotation.py in pytext/data/data_structures |
508 | 62 |
sparsifier.py in pytext/optimizer/sparsifiers |
506 | 42 |
conv_decoder.py in pytext/models/seq_models |
475 | 21 |
doc_model.py in pytext/models |
462 | 24 |
roberta.py in pytext/models |
455 | 24 |
rnng_parser.py in pytext/models/semantic_parsers/rnng |
436 | 15 |
workflow.py in pytext |
436 | 21 |
loss.py in pytext/loss |
426 | 34 |
mask_generator.py in pytext/models/seq_models |
413 | 20 |
field.py in pytext/legacy/data |
393 | 19 |
squad_metric_reporter.py in pytext/metric_reporters |
390 | 20 |
luna_sentence_encoder.py in pytext/models/representations/transformer |
386 | 13 |
squad_for_bert_tensorizer.py in pytext/data |
384 | 22 |
new_task.py in pytext/task |
377 | 14 |
batchutils.py in pytext/torchscript |
354 | 25 |
mask_compositional.py in pytext/metric_reporters |
347 | 18 |
intent_slot_metrics.py in pytext/metrics |
340 | 20 |
tasks.py in pytext/task |
335 | 11 |
augmented_lstm.py in pytext/models/representations |
329 | 10 |
scheduler.py in pytext/optimizer |
324 | 38 |
rnn_decoder.py in pytext/models/seq_models |
321 | 14 |
conv_encoder.py in pytext/models/seq_models |
310 | 15 |
tsv.py in pytext/data/sources |
300 | 22 |
squad.py in pytext/data/sources |
294 | 12 |
constants.py in pytext/common |
289 | 2 |
utils.py in pytext/data |
285 | 26 |
token_tensorizer.py in pytext/data |
281 | 20 |
tokenizer.py in pytext/data/tokenizers |
280 | 30 |
field.py in pytext/fields |
274 | 21 |
multi_span_qa_metric_reporter.py in pytext/metric_reporters |
273 | 19 |
bert_classification_models.py in pytext/models |
272 | 15 |
utils.py in pytext/torchscript |
271 | 20 |
bert_tensorizer.py in pytext/data |
268 | 20 |
data.py in pytext/data |
259 | 17 |
squad_tensorizer.py in pytext/data |
257 | 13 |
pytext_config.py in pytext/config |
256 | 50 |
word_tagging_metric_reporter.py in pytext/metric_reporters |
251 | 27 |
squad_output_layer.py in pytext/models/output_layers |
245 | 8 |
mask_metrics.py in pytext/metrics |
243 | 6 |
regularized_loss.py in pytext/loss |
243 | 8 |
language_model_metric_reporter.py in pytext/metric_reporters |
243 | 21 |
File | # lines | # units |
---|---|---|
tensorizers.py in pytext/data |
1787 | 190 |
module.py in pytext/torchscript |
1706 | 129 |
config_adapter.py in pytext/config |
981 | 94 |
annotation.py in pytext/data/data_structures |
508 | 62 |
fp16_optimizer.py in pytext/optimizer |
534 | 61 |
pytext_config.py in pytext/config |
256 | 50 |
sparsifier.py in pytext/optimizer/sparsifiers |
506 | 42 |
__init__.py in pytext/metrics |
835 | 39 |
scheduler.py in pytext/optimizer |
324 | 38 |
data_handler.py in pytext/data |
555 | 38 |
data_source.py in pytext/data/sources |
218 | 35 |
loss.py in pytext/loss |
426 | 34 |
tokenizer.py in pytext/data/tokenizers |
280 | 30 |
word_tagging_metric_reporter.py in pytext/metric_reporters |
251 | 27 |
model.py in pytext/models |
216 | 26 |
utils.py in pytext/data |
285 | 26 |
batchutils.py in pytext/torchscript |
354 | 25 |
luna_attention.py in pytext/models/representations/transformer |
602 | 25 |
metric_reporter.py in pytext/metric_reporters |
202 | 25 |
tensorizer.py in pytext/torchscript/tensorizer |
180 | 24 |
There are 5 files with lines longer than 120 characters. In total, there are 5 long lines.
File | # lines | # units | # long lines |
---|---|---|---|
batchutils.py in pytext/torchscript |
354 | 25 | 1 |
label.py in pytext/utils |
96 | 6 | 1 |
int_weighted_multi_category_embedding.py in pytext/models/embeddings |
126 | 4 | 1 |
attention.py in pytext/models/seq_models |
223 | 12 | 1 |
workflow.py in pytext |
436 | 21 | 1 |