submit prefix tuning code
parents
Showing
.gitignore
0 → 100644
Dockerfile
0 → 100755
README.md
0 → 100644
arguments.py
0 → 100644
This diff is collapsed.
Click to expand it.
data_utils/__init__.py
0 → 100644
data_utils/corpora.py
0 → 100644
This diff is collapsed.
Click to expand it.
data_utils/datasets.py
0 → 100644
This diff is collapsed.
Click to expand it.
data_utils/extraction.py
0 → 100644
data_utils/file_utils.py
0 → 100644
data_utils/lazy_loader.py
0 → 100644
data_utils/samplers.py
0 → 100644
data_utils/sp_tokenizer.py
0 → 100644
data_utils/tf_dl.py
0 → 100644
data_utils/tokenization.py
0 → 100644
This diff is collapsed.
Click to expand it.
data_utils/tokenization_gpt2.py
0 → 100644
This diff is collapsed.
Click to expand it.
data_utils/wordpiece.py
0 → 100644
This diff is collapsed.
Click to expand it.
fp16/__init__.py
0 → 100644
fp16/fp16.py
0 → 100644
This diff is collapsed.
Click to expand it.
fp16/fp16util.py
0 → 100644
fp16/loss_scaler.py
0 → 100644
generate_samples.py
0 → 100644
This diff is collapsed.
Click to expand it.
model/__init__.py
0 → 100644
model/distributed.py
0 → 100644
model/gpt2_modeling.py
0 → 100644
model/model.py
0 → 100644
model/modeling.py
0 → 100644
This diff is collapsed.
Click to expand it.
model/transformer-xl-sp.py
0 → 100644
mpu/__init__.py
0 → 100644
mpu/cross_entropy.py
0 → 100644
mpu/data.py
0 → 100644
mpu/grads.py
0 → 100644
mpu/initialize.py
0 → 100644
mpu/layers.py
0 → 100644
This diff is collapsed.
Click to expand it.
mpu/mappings.py
0 → 100644
mpu/random.py
0 → 100644
This diff is collapsed.
Click to expand it.
mpu/tests/__init__.py
0 → 100644
mpu/tests/commons.py
0 → 100644
mpu/tests/test_cross_entropy.py
0 → 100644
mpu/tests/test_data.py
0 → 100644
mpu/tests/test_initialize.py
0 → 100644
mpu/tests/test_layers.py
0 → 100644
This diff is collapsed.
Click to expand it.
mpu/tests/test_random.py
0 → 100644
mpu/transformer.py
0 → 100644
This diff is collapsed.
Click to expand it.
mpu/utils.py
0 → 100644
prefix_tuning.sh
0 → 100644
prefix_tuning_xl.py
0 → 100644
This diff is collapsed.
Click to expand it.
scripts/ds_config_2.9B.json
0 → 100644
scripts/ds_config_2.9B_finetune.json
0 → 100644
scripts/ds_finetune_gpt_2.9B.sh
0 → 100644
scripts/ds_pretrain_gpt_2.9B.sh
0 → 100644
scripts/generate_text.sh
0 → 100644
scripts/generate_text_small.sh
0 → 100644
scripts/presplit_sentences_json.py
0 → 100644
scripts/split_json.py
0 → 100644
Please
register
or
sign in
to comment