Upload 14 files
Browse files- talc_finetuned_modelscope_t2v/.DS_Store +0 -0
- talc_finetuned_modelscope_t2v/config.yaml +57 -0
- talc_finetuned_modelscope_t2v/model_index.json +25 -0
- talc_finetuned_modelscope_t2v/scheduler/scheduler_config.json +20 -0
- talc_finetuned_modelscope_t2v/text_encoder/config.json +25 -0
- talc_finetuned_modelscope_t2v/text_encoder/model.safetensors +3 -0
- talc_finetuned_modelscope_t2v/tokenizer/merges.txt +0 -0
- talc_finetuned_modelscope_t2v/tokenizer/special_tokens_map.json +24 -0
- talc_finetuned_modelscope_t2v/tokenizer/tokenizer_config.json +33 -0
- talc_finetuned_modelscope_t2v/tokenizer/vocab.json +0 -0
- talc_finetuned_modelscope_t2v/unet/config.json +35 -0
- talc_finetuned_modelscope_t2v/unet/diffusion_pytorch_model.safetensors +3 -0
- talc_finetuned_modelscope_t2v/vae/config.json +32 -0
- talc_finetuned_modelscope_t2v/vae/diffusion_pytorch_model.safetensors +3 -0
talc_finetuned_modelscope_t2v/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
talc_finetuned_modelscope_t2v/config.yaml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pretrained_model_path: damo-vilab/text-to-video-ms-1.7b
|
2 |
+
output_dir: /local2/hbansal/mst2vg/msrvtt_vatex_modelscope_multi_lr_1e-5_constant_warmup_max_n_scenes_4_e20_wo_rescale_unfiltered_frames_8_grad_4_olddata_time_aligned
|
3 |
+
extra_train_data: []
|
4 |
+
dataset_types: json
|
5 |
+
shuffle: true
|
6 |
+
validation_steps: 100
|
7 |
+
trainable_modules: all
|
8 |
+
trainable_text_modules:
|
9 |
+
- all
|
10 |
+
extra_unet_params: null
|
11 |
+
extra_text_encoder_params: null
|
12 |
+
train_batch_size: 1
|
13 |
+
num_train_epochs: 20
|
14 |
+
learning_rate: 1.0e-05
|
15 |
+
scale_lr: false
|
16 |
+
lr_scheduler: constant_with_warmup
|
17 |
+
lr_warmup_steps: 0
|
18 |
+
adam_beta1: 0.9
|
19 |
+
adam_beta2: 0.999
|
20 |
+
adam_weight_decay: 0
|
21 |
+
adam_epsilon: 1.0e-08
|
22 |
+
max_grad_norm: 1.0
|
23 |
+
gradient_accumulation_steps: 4
|
24 |
+
gradient_checkpointing: true
|
25 |
+
text_encoder_gradient_checkpointing: false
|
26 |
+
checkpointing_steps: 1000
|
27 |
+
resume_from_checkpoint: null
|
28 |
+
resume_step: null
|
29 |
+
mixed_precision: fp16
|
30 |
+
use_8bit_adam: true
|
31 |
+
enable_xformers_memory_efficient_attention: false
|
32 |
+
enable_torch_2_attn: true
|
33 |
+
seed: 64
|
34 |
+
extend_dataset: false
|
35 |
+
cache_latents: false
|
36 |
+
cached_latent_dir: null
|
37 |
+
save_pretrained_model: true
|
38 |
+
logger_type: wandb
|
39 |
+
image: false
|
40 |
+
prediction_type: epsilon
|
41 |
+
conditioning_dropout_prob: 0.0
|
42 |
+
kwargs:
|
43 |
+
train_path: /local2/hbansal/msr-vtt/old_train_msr_vatex_16.jsonl
|
44 |
+
val_path: /local2/hbansal/msr-vtt/old_val_msr_vatex_16.jsonl
|
45 |
+
root: /local2/hbansal/mst2vg/
|
46 |
+
time_aligned_caption: true
|
47 |
+
max_scenes: 4
|
48 |
+
offset_noise_strength: 0.1
|
49 |
+
rescale_schedule: false
|
50 |
+
train_data:
|
51 |
+
width: 256
|
52 |
+
height: 256
|
53 |
+
use_bucketing: false
|
54 |
+
sample_start_idx: 1
|
55 |
+
n_sample_frames: 8
|
56 |
+
train_text_encoder: false
|
57 |
+
use_offset_noise: false
|
talc_finetuned_modelscope_t2v/model_index.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "TextToVideoSDPipeline",
|
3 |
+
"_diffusers_version": "0.25.0.dev0",
|
4 |
+
"_name_or_path": "damo-vilab/text-to-video-ms-1.7b",
|
5 |
+
"scheduler": [
|
6 |
+
"diffusers",
|
7 |
+
"DDIMScheduler"
|
8 |
+
],
|
9 |
+
"text_encoder": [
|
10 |
+
"transformers",
|
11 |
+
"CLIPTextModel"
|
12 |
+
],
|
13 |
+
"tokenizer": [
|
14 |
+
"transformers",
|
15 |
+
"CLIPTokenizer"
|
16 |
+
],
|
17 |
+
"unet": [
|
18 |
+
"diffusers",
|
19 |
+
"UNet3DConditionModel"
|
20 |
+
],
|
21 |
+
"vae": [
|
22 |
+
"diffusers",
|
23 |
+
"AutoencoderKL"
|
24 |
+
]
|
25 |
+
}
|
talc_finetuned_modelscope_t2v/scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.25.0.dev0",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"num_train_timesteps": 1000,
|
11 |
+
"prediction_type": "epsilon",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
+
"set_alpha_to_one": false,
|
15 |
+
"skip_prk_steps": true,
|
16 |
+
"steps_offset": 1,
|
17 |
+
"thresholding": false,
|
18 |
+
"timestep_spacing": "leading",
|
19 |
+
"trained_betas": null
|
20 |
+
}
|
talc_finetuned_modelscope_t2v/text_encoder/config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "damo-vilab/text-to-video-ms-1.7b",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModel"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"dropout": 0.0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 23,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"projection_dim": 512,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.28.1",
|
24 |
+
"vocab_size": 49408
|
25 |
+
}
|
talc_finetuned_modelscope_t2v/text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ec178e5f07ed24deb82bf41fdfde9392c0471755d5bf8d0576b21d7c6dafd46
|
3 |
+
size 1361597016
|
talc_finetuned_modelscope_t2v/tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
talc_finetuned_modelscope_t2v/tokenizer/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "!",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
talc_finetuned_modelscope_t2v/tokenizer/tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"clean_up_tokenization_spaces": true,
|
12 |
+
"do_lower_case": true,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "<|endoftext|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"errors": "replace",
|
22 |
+
"model_max_length": 77,
|
23 |
+
"pad_token": "<|endoftext|>",
|
24 |
+
"tokenizer_class": "CLIPTokenizer",
|
25 |
+
"unk_token": {
|
26 |
+
"__type": "AddedToken",
|
27 |
+
"content": "<|endoftext|>",
|
28 |
+
"lstrip": false,
|
29 |
+
"normalized": true,
|
30 |
+
"rstrip": false,
|
31 |
+
"single_word": false
|
32 |
+
}
|
33 |
+
}
|
talc_finetuned_modelscope_t2v/tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
talc_finetuned_modelscope_t2v/unet/config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet3DConditionModel",
|
3 |
+
"_diffusers_version": "0.25.0.dev0",
|
4 |
+
"_name_or_path": "damo-vilab/text-to-video-ms-1.7b",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"apply_history": false,
|
7 |
+
"attention_head_dim": 64,
|
8 |
+
"block_out_channels": [
|
9 |
+
320,
|
10 |
+
640,
|
11 |
+
1280,
|
12 |
+
1280
|
13 |
+
],
|
14 |
+
"cross_attention_dim": 1024,
|
15 |
+
"down_block_types": [
|
16 |
+
"CrossAttnDownBlock3D",
|
17 |
+
"CrossAttnDownBlock3D",
|
18 |
+
"CrossAttnDownBlock3D",
|
19 |
+
"DownBlock3D"
|
20 |
+
],
|
21 |
+
"downsample_padding": 1,
|
22 |
+
"in_channels": 4,
|
23 |
+
"layers_per_block": 2,
|
24 |
+
"mid_block_scale_factor": 1,
|
25 |
+
"norm_eps": 1e-05,
|
26 |
+
"norm_num_groups": 32,
|
27 |
+
"out_channels": 4,
|
28 |
+
"sample_size": 32,
|
29 |
+
"up_block_types": [
|
30 |
+
"UpBlock3D",
|
31 |
+
"CrossAttnUpBlock3D",
|
32 |
+
"CrossAttnUpBlock3D",
|
33 |
+
"CrossAttnUpBlock3D"
|
34 |
+
]
|
35 |
+
}
|
talc_finetuned_modelscope_t2v/unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d100db2564ae4569a0eeab7de0896ee9deb919bb7ac58202ea0275ee469baa1
|
3 |
+
size 5645118400
|
talc_finetuned_modelscope_t2v/vae/config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.25.0.dev0",
|
4 |
+
"_name_or_path": "damo-vilab/text-to-video-ms-1.7b",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"block_out_channels": [
|
7 |
+
128,
|
8 |
+
256,
|
9 |
+
512,
|
10 |
+
512
|
11 |
+
],
|
12 |
+
"down_block_types": [
|
13 |
+
"DownEncoderBlock2D",
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D",
|
16 |
+
"DownEncoderBlock2D"
|
17 |
+
],
|
18 |
+
"force_upcast": true,
|
19 |
+
"in_channels": 3,
|
20 |
+
"latent_channels": 4,
|
21 |
+
"layers_per_block": 2,
|
22 |
+
"norm_num_groups": 32,
|
23 |
+
"out_channels": 3,
|
24 |
+
"sample_size": 512,
|
25 |
+
"scaling_factor": 0.18215,
|
26 |
+
"up_block_types": [
|
27 |
+
"UpDecoderBlock2D",
|
28 |
+
"UpDecoderBlock2D",
|
29 |
+
"UpDecoderBlock2D",
|
30 |
+
"UpDecoderBlock2D"
|
31 |
+
]
|
32 |
+
}
|
talc_finetuned_modelscope_t2v/vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc436097e5cbb105c44df4403ae84acf7e81de1f64acfedc334888e9a8eea223
|
3 |
+
size 334643268
|