File size: 1,434 Bytes
cf04f6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  "model_type": "text-to-video",
  "model_name": "KalaVids",
  "num_layers": 12,
  "hidden_size": 768,
  "vocab_size": 50257,
  "video_resolution": "1080p",
  "frame_rate": 30,
  "num_frames": 300,
  "num_attention_heads": 12,
  "intermediate_size": 3072,
  "hidden_act": "gelu",
  "initializer_range": 0.02,
  "layer_norm_eps": 1e-12,
  "dropout": 0.1,
  "attention_dropout": 0.1,
  "num_labels": 2, // For classification tasks
  "use_cache": true,
  "bos_token_id": 50256, // Typically the same as vocab_size
  "eos_token_id": 50256, // Typically the same as vocab_size
  "pad_token_id": 0,
  "unk_token_id": 50257, // Typically vocab_size + 1
  "special_tokens_map": {
    "bos_token": "<bos_token>",
    "eos_token": "<eos_token>",
    "pad_token": "<pad_token>",
    "unk_token": "<unk_token>"
  },
  "tokenizer_class": "BertTokenizer",
  "additional_special_tokens": [
    "<special_token_1>",
    "<special_token_2>"
    // Add more special tokens if necessary
  ],
  "task_specific_params": {
    "text-to-video": {
      // Task-specific parameters for text-to-video generation
      "video_resolution": "1080p", // Resolution of the generated video
      "frame_rate": 30, // Frame rate of the generated video
      "num_frames": 300 // Number of frames in the generated video
      // Add more task-specific parameters if necessary
    }
  },
  "device_map": "auto" // Automatically determine the device map for layers
}