openai / lm-human-preferences
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 48% | 25% | 26%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 48% | 25% | 26%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lm_human_preferences0% | 0% | 52% | 21% | 26%
ROOT0% | 0% | 0% | 69% | 30%
Longest Files (Top 22)
File# lines# units
core.py
in lm_human_preferences/utils
449 56
train_policy.py
in lm_human_preferences
388 15
model.py
in lm_human_preferences/language
268 22
train_reward.py
in lm_human_preferences
239 7
hyperparams.py
in lm_human_preferences/utils
189 17
launch.py
in root
157 4
encodings.py
in lm_human_preferences/language
130 9
rewards.py
in lm_human_preferences
129 15
policy.py
in lm_human_preferences
102 8
gcs.py
in lm_human_preferences/utils
99 8
datasets.py
in lm_human_preferences/language
92 5
cnndm.py
in lm_human_preferences/datasets
79 7
label_types.py
in lm_human_preferences
79 19
lm_tasks.py
in lm_human_preferences
73 4
trained_models.py
in lm_human_preferences/language
68 6
sample.py
in lm_human_preferences/language
62 1
sample.py
in root
59 2
launch.py
in lm_human_preferences/utils
55 4
combos.py
in lm_human_preferences/utils
39 12
tldr.py
in lm_human_preferences/datasets
21 1
books.py
in lm_human_preferences/datasets
13 1
setup.py
in root
10 -
Files With Most Units (Top 21)
File# lines# units
core.py
in lm_human_preferences/utils
449 56
model.py
in lm_human_preferences/language
268 22
label_types.py
in lm_human_preferences
79 19
hyperparams.py
in lm_human_preferences/utils
189 17
train_policy.py
in lm_human_preferences
388 15
rewards.py
in lm_human_preferences
129 15
combos.py
in lm_human_preferences/utils
39 12
encodings.py
in lm_human_preferences/language
130 9
policy.py
in lm_human_preferences
102 8
gcs.py
in lm_human_preferences/utils
99 8
cnndm.py
in lm_human_preferences/datasets
79 7
train_reward.py
in lm_human_preferences
239 7
trained_models.py
in lm_human_preferences/language
68 6
datasets.py
in lm_human_preferences/language
92 5
lm_tasks.py
in lm_human_preferences
73 4
launch.py
in lm_human_preferences/utils
55 4
launch.py
in root
157 4
sample.py
in root
59 2
tldr.py
in lm_human_preferences/datasets
21 1
books.py
in lm_human_preferences/datasets
13 1
sample.py
in lm_human_preferences/language
62 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 26 long lines.

File# lines# units# long lines
train_policy.py
in lm_human_preferences
388 15 8
launch.py
in root
157 4 6
train_reward.py
in lm_human_preferences
239 7 3
launch.py
in lm_human_preferences/utils
55 4 2
model.py
in lm_human_preferences/language
268 22 2
tldr.py
in lm_human_preferences/datasets
21 1 1
books.py
in lm_human_preferences/datasets
13 1 1
cnndm.py
in lm_human_preferences/datasets
79 7 1
core.py
in lm_human_preferences/utils
449 56 1
rewards.py
in lm_human_preferences
129 15 1
Correlations

File Size vs. Commits (all time): 5 points

lm_human_preferences/datasets/books.py x: 2 commits (all time) y: 13 lines of code launch.py x: 2 commits (all time) y: 157 lines of code lm_human_preferences/datasets/cnndm.py x: 2 commits (all time) y: 79 lines of code lm_human_preferences/datasets/tldr.py x: 2 commits (all time) y: 21 lines of code lm_human_preferences/train_policy.py x: 2 commits (all time) y: 388 lines of code
388.0
lines of code
  min: 13.0
  average: 131.6
  25th percentile: 17.0
  median: 79.0
  75th percentile: 272.5
  max: 388.0
0 2.0
commits (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (all time): 5 points

lm_human_preferences/datasets/books.py x: 1 contributors (all time) y: 13 lines of code launch.py x: 2 contributors (all time) y: 157 lines of code lm_human_preferences/datasets/cnndm.py x: 2 contributors (all time) y: 79 lines of code lm_human_preferences/datasets/tldr.py x: 2 contributors (all time) y: 21 lines of code lm_human_preferences/train_policy.py x: 2 contributors (all time) y: 388 lines of code
388.0
lines of code
  min: 13.0
  average: 131.6
  25th percentile: 17.0
  median: 79.0
  75th percentile: 272.5
  max: 388.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.8 | 25th percentile: 1.5 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".