From 9da12ba754cc647f4b9893b93d829dda9ce34d8c Mon Sep 17 00:00:00 2001 From: xxl <505279206@qq.com> Date: Mon, 30 Dec 2024 16:40:07 +0800 Subject: [PATCH] first commit --- config.json | 27 +++++++++++++++++++++++++++ configuration.json | 1 + 2 files changed, 28 insertions(+) create mode 100644 config.json create mode 100644 configuration.json diff --git a/config.json b/config.json new file mode 100644 index 0000000..44f4862 --- /dev/null +++ b/config.json @@ -0,0 +1,27 @@ +{ + "_name_or_path": "xuanyuan_6b", + "architectures": [ + "LlamaForCausalLM" + ], + "bos_token_id": 1, + "eos_token_id": 2, + "hidden_act": "silu", + "hidden_size": 4096, + "initializer_range": 0.02, + "intermediate_size": 11008, + "max_position_embeddings": 8192, + "model_type": "llama", + "num_attention_heads": 32, + "num_hidden_layers": 30, + "num_key_value_heads": 32, + "pad_token_id": 0, + "pretraining_tp": 1, + "rms_norm_eps": 1e-05, + "rope_scaling": null, + "rope_theta": 10000.0, + "tie_word_embeddings": false, + "torch_dtype": "float16", + "transformers_version": "4.33.1", + "use_cache": true, + "vocab_size": 39438 +} diff --git a/configuration.json b/configuration.json new file mode 100644 index 0000000..f9291c3 --- /dev/null +++ b/configuration.json @@ -0,0 +1 @@ +{"framework":"Pytorch","task":"text-generation"} \ No newline at end of file