hadrakey commited on
Commit
7cbf83b
·
verified ·
1 Parent(s): 52e22d7

Training in progress, step 1000

Browse files
adapter_config.json CHANGED
@@ -24,10 +24,10 @@
24
  "revision": null,
25
  "target_modules": [
26
  "intermediate.dense",
27
- "key",
28
  "output.dense",
29
- "value",
30
- "query"
 
31
  ],
32
  "task_type": null,
33
  "use_dora": false,
 
24
  "revision": null,
25
  "target_modules": [
26
  "intermediate.dense",
 
27
  "output.dense",
28
+ "query",
29
+ "key",
30
+ "value"
31
  ],
32
  "task_type": null,
33
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6fbce5278213a8595b48ef20abc7d9878d2d4a648a6250db28c6a6587912112
3
  size 1811016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3f6503009171cd004de30c1d8c928541f3bbbd913cb493a478a4b88325db654
3
  size 1811016
config.json CHANGED
@@ -173,6 +173,5 @@
173
  "processor_class": "TrOCRProcessor",
174
  "tie_word_embeddings": false,
175
  "torch_dtype": "float32",
176
- "transformers_version": "4.42.3",
177
- "vocab_size": 50265
178
  }
 
173
  "processor_class": "TrOCRProcessor",
174
  "tie_word_embeddings": false,
175
  "torch_dtype": "float32",
176
+ "transformers_version": "4.44.2"
 
177
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b5c9a57267f9760bd4a7647d8ba830dc2631f0d0cd17ce843b0c314a00d5e79
3
  size 1335747032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b14472ca382e9d96ea7efd3c778cbf0b73a412e31bc41cfec8d97e8988e6063d
3
  size 1335747032
trainer_lora.py CHANGED
@@ -57,10 +57,10 @@ root_dir = "/mnt/data1/Datasets/OCR/Alphapen/clean_data/final_cropped_rotated_"
57
  root_dir_b2 = "/mnt/data1/Datasets/OCR/Alphapen/DataBatch2/clean_data/cropped_data/cropped_"
58
  processor = TrOCRProcessor.from_pretrained(model_name)
59
 
60
- train_dataset_b1 = AphaPenDataset(root_dir=root_dir, df=train_df.iloc[:100,:], processor=processor)
61
- eval_dataset_b1 = AphaPenDataset(root_dir=root_dir, df=test_df.iloc[:100,:], processor=processor)
62
 
63
- eval_dataset_b2 = AphaPenDataset(root_dir=root_dir_b2, df=test_df_b2.iloc[:100,:], processor=processor)
64
 
65
  # train_dataset = ConcatDataset([train_dataset_b1, train_dataset_b2])
66
  eval_dataset = ConcatDataset([eval_dataset_b1, eval_dataset_b2])
 
57
  root_dir_b2 = "/mnt/data1/Datasets/OCR/Alphapen/DataBatch2/clean_data/cropped_data/cropped_"
58
  processor = TrOCRProcessor.from_pretrained(model_name)
59
 
60
+ train_dataset_b1 = AphaPenDataset(root_dir=root_dir, df=train_df, processor=processor)
61
+ eval_dataset_b1 = AphaPenDataset(root_dir=root_dir, df=test_df, processor=processor)
62
 
63
+ eval_dataset_b2 = AphaPenDataset(root_dir=root_dir_b2, df=test_df_b2, processor=processor)
64
 
65
  # train_dataset = ConcatDataset([train_dataset_b1, train_dataset_b2])
66
  eval_dataset = ConcatDataset([eval_dataset_b1, eval_dataset_b2])
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df7d1da6fa3ab122c21a544d92b49adbd26e6c8152f2ed285590b798dd3fad4a
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ed377524f08a6e8de0bd50d1c417d1890da0b044a7e0c73a385b25797d8a264
3
  size 5368