TheBloke's picture
Add config.json, Llama modelling code and monkey patch
e4ac813
raw
history blame
867 Bytes
{
"_name_or_path": "ehartford/WizardLM-33B-V1.0-Uncensored",
"architectures": [
"LlamaForCausalLM"
],
"auto_map": {
"AutoModel": "modelling_llama.LlamaModel",
"AutoModelForCausalLM": "modelling_llama.LlamaForCausalLM",
"AutoModelForSequenceClassification": "modelling_llama.LlamaForSequenceClassification"
},
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 6656,
"initializer_range": 0.02,
"intermediate_size": 17920,
"max_position_embeddings": 8192,
"max_sequence_length": 2048,
"model_type": "llama",
"num_attention_heads": 52,
"num_hidden_layers": 60,
"pad_token_id": 0,
"rms_norm_eps": 1e-06,
"tie_word_embeddings": false,
"torch_dtype": "float16",
"transformers_version": "4.30.2",
"use_cache": true,
"vocab_size": 32000
}