Text Generation
Transformers
Safetensors
English
mega
Generated from Trainer
Inference Endpoints
File size: 1,332 Bytes
e2915c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
{
  "_name_or_path": "pszemraj/mega-ar-350m-v0.12-napierone_epub",
  "activation": "silu",
  "add_lm_hidden_dense_layer": false,
  "add_token_type_embeddings": false,
  "architectures": [
    "MegaForCausalLM"
  ],
  "attention_activation": "softmax",
  "attention_probs_dropout_prob": 0,
  "bidirectional": false,
  "bos_token_id": 128000,
  "chunk_size": -1,
  "classifier_dropout": null,
  "dropout_prob": 0.0,
  "ema_beta_range": 0.02,
  "ema_delta_alpha_range": 0.2,
  "ema_gamma_omega_range": 1.0,
  "ema_projection_size": 16,
  "eos_token_id": 128001,
  "hidden_dropout_prob": 0.0,
  "hidden_size": 1024,
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "is_decoder": true,
  "max_positions": 4096,
  "model_type": "mega",
  "nffn_activation_dropout_prob": 0.0,
  "nffn_hidden_size": 3072,
  "norm_affine": true,
  "normalization_type": "layernorm",
  "normalize_before_ffn": true,
  "normalize_before_mega": true,
  "num_attention_heads": 1,
  "num_hidden_layers": 12,
  "pad_token_id": null,
  "relative_positional_bias": "rotary",
  "shared_representation_size": 256,
  "torch_dtype": "float32",
  "transformers_version": "4.40.2",
  "truncation": null,
  "type_vocab_size": 1,
  "use_cache": true,
  "use_chunking": false,
  "use_feature_dropout": false,
  "use_normalized_ffn": true,
  "vocab_size": 128256
}