初始化项目,由ModelHub XC社区提供模型
Model: Rev124/llama-3-pruned Source: Original Platform
This commit is contained in:
36
English_Pruned_Model/config.json
Normal file
36
English_Pruned_Model/config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 94396,
|
||||
"dtype": "bfloat16",
|
||||
"eos_token_id": 94397,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 3072,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 8192,
|
||||
"max_position_embeddings": 131072,
|
||||
"mlp_bias": false,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 24,
|
||||
"num_hidden_layers": 28,
|
||||
"num_key_value_heads": 8,
|
||||
"pad_token_id": 94397,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_parameters": {
|
||||
"factor": 32.0,
|
||||
"high_freq_factor": 4.0,
|
||||
"low_freq_factor": 1.0,
|
||||
"original_max_position_embeddings": 8192,
|
||||
"rope_theta": 500000.0,
|
||||
"rope_type": "llama3"
|
||||
},
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.5.4",
|
||||
"use_cache": true,
|
||||
"vocab_size": 94652
|
||||
}
|
||||
9
English_Pruned_Model/generation_config.json
Normal file
9
English_Pruned_Model/generation_config.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 94396,
|
||||
"eos_token_id": 94397,
|
||||
"transformers_version": "4.45.0.dev0",
|
||||
"do_sample": true,
|
||||
"temperature": 0.6,
|
||||
"top_p": 0.9
|
||||
}
|
||||
3
English_Pruned_Model/model.safetensors
Normal file
3
English_Pruned_Model/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:223955a897fee022a9b0bd8db2755ad78acc72f7f22a5010bbebb9351307ce7b
|
||||
size 6219066120
|
||||
3
English_Pruned_Model/tokenizer.json
Normal file
3
English_Pruned_Model/tokenizer.json
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7848c0ca2900b14a2c3351c6f2347fe67cea07b03d705a4a6ced53b82d43317c
|
||||
size 14248968
|
||||
14
English_Pruned_Model/tokenizer_config.json
Normal file
14
English_Pruned_Model/tokenizer_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"backend": "tokenizers",
|
||||
"bos_token": "<|begin_of_text|>",
|
||||
"clean_up_tokenization_spaces": true,
|
||||
"eos_token": "<|end_of_text|>",
|
||||
"is_local": true,
|
||||
"model_input_names": [
|
||||
"input_ids",
|
||||
"attention_mask"
|
||||
],
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|end_of_text|>",
|
||||
"tokenizer_class": "TokenizersBackend"
|
||||
}
|
||||
Reference in New Issue
Block a user