初始化项目,由ModelHub XC社区提供模型

Model: MEME-KING16/granite-3.2-8b-claude-opus-full-ft
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-27 08:35:17 +08:00
commit 69848a00fc
48 changed files with 1226164 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
{% for message in messages %}{% if message['role'] == 'user' %}{{'<|im_start|>user
' + message['content'] + '<|im_end|>
'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>assistant
' + message['content'] + '<|im_end|>
' }}{% else %}{{ '<|im_start|>system
' + message['content'] + '<|im_end|>
' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
' }}{% endif %}

View File

@@ -0,0 +1,37 @@
{
"architectures": [
"GraniteForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"attention_multiplier": 0.0078125,
"bos_token_id": 49155,
"dtype": "bfloat16",
"embedding_multiplier": 12.0,
"eos_token_id": 0,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 12800,
"logits_scaling": 16.0,
"max_position_embeddings": 131072,
"mlp_bias": false,
"model_name": "unsloth/granite-3.2-8b-instruct",
"model_type": "granite",
"num_attention_heads": 32,
"num_hidden_layers": 40,
"num_key_value_heads": 8,
"pad_token_id": 4,
"residual_multiplier": 0.22,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 10000000.0,
"rope_type": "default"
},
"tie_word_embeddings": true,
"transformers_version": "5.2.0",
"unsloth_fixed": true,
"unsloth_version": "2026.3.3",
"use_cache": false,
"vocab_size": 49155
}

View File

@@ -0,0 +1,10 @@
{
"_from_model_config": true,
"bos_token_id": 49155,
"eos_token_id": [
0
],
"max_length": 131072,
"pad_token_id": 4,
"transformers_version": "5.2.0"
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22388c92105a25450a7c646eca5b7fd03f8b43ecb3d7512ee0492058df9c7745
size 16341738952

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a699bc89e4cf7f8acd8a6fbd926dbe09425ae680ba91e7225889efea7766f556
size 32683715489

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c84512b29286becb658352103a153392a6068cd445128ed286e50675a8cea11c
size 1465

244972
checkpoint-200/tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|end_of_text|>",
"eos_token": "<|im_end|>",
"errors": "replace",
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<fim_pad>",
"tokenizer_class": "GPT2Tokenizer",
"unk_token": "�"
}

View File

@@ -0,0 +1,174 @@
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 1.5161290322580645,
"eval_steps": 500,
"global_step": 200,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.07590132827324478,
"grad_norm": 22.0,
"learning_rate": 9e-08,
"loss": 1.0496648788452148,
"step": 10
},
{
"epoch": 0.15180265654648956,
"grad_norm": 21.5,
"learning_rate": 1.8999999999999998e-07,
"loss": 1.0672600746154786,
"step": 20
},
{
"epoch": 0.22770398481973433,
"grad_norm": 23.375,
"learning_rate": 2.9e-07,
"loss": 1.074104118347168,
"step": 30
},
{
"epoch": 0.3036053130929791,
"grad_norm": 19.0,
"learning_rate": 3.8999999999999997e-07,
"loss": 1.0784456253051757,
"step": 40
},
{
"epoch": 0.3795066413662239,
"grad_norm": 21.25,
"learning_rate": 4.9e-07,
"loss": 1.0631229400634765,
"step": 50
},
{
"epoch": 0.45540796963946867,
"grad_norm": 18.625,
"learning_rate": 5.9e-07,
"loss": 1.0021364212036132,
"step": 60
},
{
"epoch": 0.5313092979127134,
"grad_norm": 19.625,
"learning_rate": 6.9e-07,
"loss": 1.0368730545043945,
"step": 70
},
{
"epoch": 0.6072106261859582,
"grad_norm": 13.1875,
"learning_rate": 7.9e-07,
"loss": 0.9585152626037597,
"step": 80
},
{
"epoch": 0.683111954459203,
"grad_norm": 10.4375,
"learning_rate": 8.9e-07,
"loss": 0.8780872344970703,
"step": 90
},
{
"epoch": 0.7590132827324478,
"grad_norm": 6.84375,
"learning_rate": 9.9e-07,
"loss": 0.8695860862731933,
"step": 100
},
{
"epoch": 0.8349146110056926,
"grad_norm": 3.3125,
"learning_rate": 9.977206495402552e-07,
"loss": 0.8098324775695801,
"step": 110
},
{
"epoch": 0.9108159392789373,
"grad_norm": 2.96875,
"learning_rate": 9.898680903107666e-07,
"loss": 0.8349854469299316,
"step": 120
},
{
"epoch": 0.9867172675521821,
"grad_norm": 2.9375,
"learning_rate": 9.76502534086636e-07,
"loss": 0.8502012252807617,
"step": 130
},
{
"epoch": 1.060721062618596,
"grad_norm": 2.78125,
"learning_rate": 9.577743974243872e-07,
"loss": 0.7735446929931641,
"step": 140
},
{
"epoch": 1.1366223908918407,
"grad_norm": 3.359375,
"learning_rate": 9.338944475962236e-07,
"loss": 0.8373490333557129,
"step": 150
},
{
"epoch": 1.2125237191650853,
"grad_norm": 2.59375,
"learning_rate": 9.051314306058933e-07,
"loss": 0.8185565948486329,
"step": 160
},
{
"epoch": 1.2884250474383303,
"grad_norm": 2.9375,
"learning_rate": 8.718090467093653e-07,
"loss": 0.8056498527526855,
"step": 170
},
{
"epoch": 1.364326375711575,
"grad_norm": 2.59375,
"learning_rate": 8.343023074779368e-07,
"loss": 0.8409146308898926,
"step": 180
},
{
"epoch": 1.4402277039848197,
"grad_norm": 3.390625,
"learning_rate": 7.930333154015465e-07,
"loss": 0.7972420215606689,
"step": 190
},
{
"epoch": 1.5161290322580645,
"grad_norm": 2.546875,
"learning_rate": 7.484665135288213e-07,
"loss": 0.8233073234558106,
"step": 200
}
],
"logging_steps": 10,
"max_steps": 396,
"num_input_tokens_seen": 0,
"num_train_epochs": 3,
"save_steps": 100,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 1.5609208575983616e+17,
"train_batch_size": 4,
"trial_name": null,
"trial_params": null
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c046e33cd8fc19c158792bb00b2580a5dcc0c5b7d92fa961dea01e4c3b0aa96
size 5585