emotions_google_gemma / config.json
yunaseo's picture
yunaseo/google_gemma_emotion_detection
d888923 verified
raw
history blame
No virus
1.16 kB
{
"_name_or_path": "google/gemma-1.1-2b-it",
"architectures": [
"GemmaForSequenceClassification"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 2,
"eos_token_id": 1,
"head_dim": 256,
"hidden_act": "gelu_pytorch_tanh",
"hidden_activation": "gelu_pytorch_tanh",
"hidden_size": 2048,
"id2label": {
"0": "anger",
"1": "anticipation",
"2": "disgust",
"3": "fear",
"4": "joy",
"5": "love",
"6": "optimism",
"7": "pessimism",
"8": "sadness",
"9": "surprise",
"10": "trust"
},
"initializer_range": 0.02,
"intermediate_size": 16384,
"label2id": {
"anger": 0,
"anticipation": 1,
"disgust": 2,
"fear": 3,
"joy": 4,
"love": 5,
"optimism": 6,
"pessimism": 7,
"sadness": 8,
"surprise": 9,
"trust": 10
},
"max_position_embeddings": 8192,
"model_type": "gemma",
"num_attention_heads": 8,
"num_hidden_layers": 18,
"num_key_value_heads": 1,
"pad_token_id": 0,
"rms_norm_eps": 1e-06,
"rope_theta": 10000.0,
"torch_dtype": "float32",
"transformers_version": "4.40.2",
"use_cache": true,
"vocab_size": 256000
}