Saving weights and logs of epoch 1
Browse files- .run_clm_flax.py.swp +0 -0
- events.out.tfevents.1626345259.t1v-n-b95d739e-w-0.658394.3.v2 +3 -0
- flax_model.msgpack +3 -0
- nohup.out +3 -0
- run.sh +0 -1
- run_clm_flax.py +2 -2
.run_clm_flax.py.swp
ADDED
Binary file (41 kB). View file
|
|
events.out.tfevents.1626345259.t1v-n-b95d739e-w-0.658394.3.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d513f0a62c7e17cf589d8d1a18ba90a33032ef92e9d9b82d0ae97293b6b045e
|
3 |
+
size 78623
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba730ec436fcc4bf257bfe0294d8c3a73ebdf7d5d4d28940fe865d60017e05ca
|
3 |
+
size 497764120
|
nohup.out
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e567ef92b569fa9ec4fae1bf321ea00722baa03cc83002a3b356f7c1752de84a
|
3 |
+
size 147736
|
run.sh
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
#!/usr/bin/env bash
|
2 |
python3 run_clm_flax.py \
|
3 |
-
--model_name_or_path="flax_model.msgpack" \
|
4 |
--output_dir="./" \
|
5 |
--model_type="gpt2" \
|
6 |
--config_name="./" \
|
|
|
1 |
#!/usr/bin/env bash
|
2 |
python3 run_clm_flax.py \
|
|
|
3 |
--output_dir="./" \
|
4 |
--model_type="gpt2" \
|
5 |
--config_name="./" \
|
run_clm_flax.py
CHANGED
@@ -388,10 +388,10 @@ def main():
|
|
388 |
cc100 = cc100.remove_columns("id")
|
389 |
|
390 |
# combine datasets
|
391 |
-
|
392 |
# split train and validation
|
393 |
# note: renamed `validation` key to `test` everywhere else in the script
|
394 |
-
|
395 |
test_size=data_args.validation_split_percentage / 100, seed=42
|
396 |
)
|
397 |
|
|
|
388 |
cc100 = cc100.remove_columns("id")
|
389 |
|
390 |
# combine datasets
|
391 |
+
dataset = concatenate_datasets([oscar, mc4, cc100, wiki["train"]])
|
392 |
# split train and validation
|
393 |
# note: renamed `validation` key to `test` everywhere else in the script
|
394 |
+
dataset = dataset.train_test_split(
|
395 |
test_size=data_args.validation_split_percentage / 100, seed=42
|
396 |
)
|
397 |
|