shradha01 commited on
Commit
07f4c35
·
verified ·
1 Parent(s): c260925

Model save

Browse files
Files changed (5) hide show
  1. README.md +53 -0
  2. config.json +4 -5
  3. generation_config.json +12 -0
  4. model.safetensors +2 -2
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: code-completion-01
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # code-completion-01
13
+
14
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
15
+
16
+ ## Model description
17
+
18
+ More information needed
19
+
20
+ ## Intended uses & limitations
21
+
22
+ More information needed
23
+
24
+ ## Training and evaluation data
25
+
26
+ More information needed
27
+
28
+ ## Training procedure
29
+
30
+ ### Training hyperparameters
31
+
32
+ The following hyperparameters were used during training:
33
+ - learning_rate: 5e-05
34
+ - train_batch_size: 48
35
+ - eval_batch_size: 96
36
+ - seed: 42
37
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
38
+ - lr_scheduler_type: linear
39
+ - lr_scheduler_warmup_steps: 1000
40
+ - num_epochs: 1
41
+ - mixed_precision_training: Native AMP
42
+ - label_smoothing_factor: 0.1
43
+
44
+ ### Training results
45
+
46
+
47
+
48
+ ### Framework versions
49
+
50
+ - Transformers 4.36.2
51
+ - Pytorch 2.4.1
52
+ - Datasets 2.16.1
53
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -1,9 +1,8 @@
1
  {
2
- "_name_or_path": "/home/user1-system11/Documents/research-shradha/CODE-SPT-Code-TreeSitterV3/SPT-Code/outputs/pre_train_20241105_105459/models",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "architectures": [
6
- "BartModel"
7
  ],
8
  "attention_dropout": 0.0,
9
  "bos_token_id": 1,
@@ -31,8 +30,8 @@
31
  "LABEL_0": 0,
32
  "LABEL_1": 1
33
  },
34
- "max_length": 256,
35
- "max_position_embeddings": 1024,
36
  "min_length": 1,
37
  "model_type": "bart",
38
  "num_beams": 5,
@@ -42,5 +41,5 @@
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.36.2",
44
  "use_cache": true,
45
- "vocab_size": 80092
46
  }
 
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "gelu",
4
  "architectures": [
5
+ "BartForClassificationAndGeneration"
6
  ],
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 1,
 
30
  "LABEL_0": 0,
31
  "LABEL_1": 1
32
  },
33
+ "max_length": 100,
34
+ "max_position_embeddings": 512,
35
  "min_length": 1,
36
  "model_type": "bart",
37
  "num_beams": 5,
 
41
  "torch_dtype": "float32",
42
  "transformers_version": "4.36.2",
43
  "use_cache": true,
44
+ "vocab_size": 3007
45
  }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 1,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "max_length": 100,
8
+ "min_length": 1,
9
+ "num_beams": 5,
10
+ "pad_token_id": 0,
11
+ "transformers_version": "4.36.2"
12
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b820619f5b5b3f7d2e91eb188d666715363b8a665e3c049dacb25ab027b1319
3
- size 1046317760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ef76a4d38031e57965ec78834cf9981599601c43e49c19cb84ad97df2932304
3
+ size 808750996
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a20f391e8e3b163098e6d63569233579889e8fae5aa65e858153195ff0ac000c
3
+ size 4984