nielsr HF staff commited on
Commit
81fb7ca
1 Parent(s): 74215da

Upload GitForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +105 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "GitForCausalLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 101,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 102,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 1024,
17
+ "model_type": "git",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 6,
20
+ "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "tie_word_embeddings": false,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": null,
25
+ "use_cache": true,
26
+ "vision_config": {
27
+ "_name_or_path": "",
28
+ "add_cross_attention": false,
29
+ "architectures": null,
30
+ "attention_dropout": 0.0,
31
+ "bad_words_ids": null,
32
+ "begin_suppress_tokens": null,
33
+ "bos_token_id": null,
34
+ "chunk_size_feed_forward": 0,
35
+ "cross_attention_hidden_size": null,
36
+ "decoder_start_token_id": null,
37
+ "diversity_penalty": 0.0,
38
+ "do_sample": false,
39
+ "dropout": 0.0,
40
+ "early_stopping": false,
41
+ "encoder_no_repeat_ngram_size": 0,
42
+ "eos_token_id": null,
43
+ "exponential_decay_length_penalty": null,
44
+ "finetuning_task": null,
45
+ "forced_bos_token_id": null,
46
+ "forced_eos_token_id": null,
47
+ "hidden_act": "quick_gelu",
48
+ "hidden_size": 768,
49
+ "id2label": {
50
+ "0": "LABEL_0",
51
+ "1": "LABEL_1"
52
+ },
53
+ "image_size": 224,
54
+ "initializer_factor": 1.0,
55
+ "initializer_range": 0.02,
56
+ "intermediate_size": 3072,
57
+ "is_decoder": false,
58
+ "is_encoder_decoder": false,
59
+ "label2id": {
60
+ "LABEL_0": 0,
61
+ "LABEL_1": 1
62
+ },
63
+ "layer_norm_eps": 1e-05,
64
+ "length_penalty": 1.0,
65
+ "max_length": 20,
66
+ "min_length": 0,
67
+ "model_type": "git_vision_model",
68
+ "no_repeat_ngram_size": 0,
69
+ "num_attention_heads": 12,
70
+ "num_beam_groups": 1,
71
+ "num_beams": 1,
72
+ "num_channels": 3,
73
+ "num_hidden_layers": 12,
74
+ "num_return_sequences": 1,
75
+ "output_attentions": false,
76
+ "output_hidden_states": false,
77
+ "output_scores": false,
78
+ "pad_token_id": null,
79
+ "patch_size": 16,
80
+ "prefix": null,
81
+ "problem_type": null,
82
+ "projection_dim": 512,
83
+ "pruned_heads": {},
84
+ "remove_invalid_values": false,
85
+ "repetition_penalty": 1.0,
86
+ "return_dict": true,
87
+ "return_dict_in_generate": false,
88
+ "sep_token_id": null,
89
+ "suppress_tokens": null,
90
+ "task_specific_params": null,
91
+ "temperature": 1.0,
92
+ "tf_legacy_loss": false,
93
+ "tie_encoder_decoder": false,
94
+ "tie_word_embeddings": true,
95
+ "tokenizer_class": null,
96
+ "top_k": 50,
97
+ "top_p": 1.0,
98
+ "torch_dtype": null,
99
+ "torchscript": false,
100
+ "transformers_version": "4.25.0.dev0",
101
+ "typical_p": 1.0,
102
+ "use_bfloat16": false
103
+ },
104
+ "vocab_size": 30522
105
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:200cd65b7ae9b89dc2c1967671936c5cf3c4d80affcbd2f1843a9b4f6aba728d
3
+ size 706590425