graphcore-rahult
commited on
Commit
•
e9946a6
1
Parent(s):
54e6a0a
Training in progress, step 500
Browse files- .gitignore +1 -0
- config.json +27 -0
- ipu_config.json +30 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"PoptorchPipelinedRobertaForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 514,
|
17 |
+
"model_type": "roberta",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.20.1",
|
24 |
+
"type_vocab_size": 1,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 50265
|
27 |
+
}
|
ipu_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_loss_scaling": false,
|
3 |
+
"device_iterations": 1,
|
4 |
+
"embedding_serialization_factor": 0,
|
5 |
+
"enable_half_partials": true,
|
6 |
+
"executable_cache_dir": "/tmp/lmcache/",
|
7 |
+
"execute_encoder_on_cpu_for_generation": false,
|
8 |
+
"gradient_accumulation_steps": 16,
|
9 |
+
"inference_device_iterations": 5,
|
10 |
+
"inference_replication_factor": 4,
|
11 |
+
"ipus_per_replica": 4,
|
12 |
+
"layers_per_ipu": [
|
13 |
+
0,
|
14 |
+
4,
|
15 |
+
4,
|
16 |
+
4
|
17 |
+
],
|
18 |
+
"matmul_proportion": [
|
19 |
+
0.25
|
20 |
+
],
|
21 |
+
"optimizer_state_offchip": true,
|
22 |
+
"optimum_version": "1.5.1",
|
23 |
+
"output_mode": "final",
|
24 |
+
"recompute_checkpoint_every_layer": true,
|
25 |
+
"replicated_tensor_sharding": true,
|
26 |
+
"replication_factor": 4,
|
27 |
+
"seed": 42,
|
28 |
+
"sharded_execution_for_inference": false,
|
29 |
+
"transformers_version": "4.20.1"
|
30 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c46b9dce35d1478d85575c0ca4ba90750a525885439356a8e3d59391161d0b3f
|
3 |
+
size 249463979
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6aeab10e041217dddff8fc1e0aed251579109410d0e5cd59d0cf23b3e835f7ef
|
3 |
+
size 2735
|