ysdede commited on
Commit
720c349
·
verified ·
1 Parent(s): b427910

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +55 -0
  2. convert_unicode.py +16 -0
  3. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/Phi-4-multimodal-instruct
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: Phi-4-multimodal-instruct-asr-tr
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # Phi-4-multimodal-instruct-asr-tr
16
+
17
+ This model is a fine-tuned version of [microsoft/Phi-4-multimodal-instruct](https://huggingface.co/microsoft/Phi-4-multimodal-instruct) on an unknown dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 1e-05
37
+ - train_batch_size: 4
38
+ - eval_batch_size: 8
39
+ - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.95) and epsilon=1e-07 and optimizer_args=No additional optimizer arguments
41
+ - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_steps: 5000
43
+ - num_epochs: 1
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.46.1
53
+ - Pytorch 2.5.1+cu124
54
+ - Datasets 3.3.2
55
+ - Tokenizers 0.20.3
convert_unicode.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ def convert_unicode_escapes(input_file, output_file):
4
+ # Read the JSON data from the input file
5
+ with open(input_file, 'r', encoding='utf-8') as f:
6
+ data = json.load(f)
7
+
8
+ # Write the JSON data to the output file with Unicode escapes decoded
9
+ with open(output_file, 'w', encoding='utf-8') as f:
10
+ json.dump(data, f, ensure_ascii=False, indent=4)
11
+
12
+ if __name__ == "__main__":
13
+ input_file = 'eval_before.json'
14
+ output_file = 'eval_before_readable.json'
15
+ convert_unicode_escapes(input_file, output_file)
16
+ print(f"Converted JSON saved to {output_file}")
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e7482a2ff9e11e12e799e70115f5683304d33e5c0f49583ab10a24cefec5002
3
+ size 5304