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

Model: changkaiyan/ChipGPT-Llama2-SFT-7B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-27 15:22:21 +08:00
commit 1a4479c619
50 changed files with 874802 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
---
library_name: peft
base_model:
- shakechen/Llama-2-7b-hf
---
# ChipGPT-FT-Repair
This repository contains the code for the fine-tuning of the ChipGPT model using the PEFT library. The fine-tuning process was performed using the `bitsandbytes` quantization method.
The foundation model is Llama 2.0-7B
## Training procedure
The following `bitsandbytes` quantization config was used during training:
- quant_method: bitsandbytes
- load_in_8bit: True
- load_in_4bit: False
- llm_int8_threshold: 6.0
- llm_int8_skip_modules: None
- llm_int8_enable_fp32_cpu_offload: False
- llm_int8_has_fp16_weight: False
- bnb_4bit_quant_type: fp4
- bnb_4bit_use_double_quant: False
- bnb_4bit_compute_dtype: float32
### Framework versions
- PEFT 0.7.2.dev0
- PEFT 0.6.0.dev0

View File

@@ -0,0 +1,27 @@
{
"alpha_pattern": {},
"auto_mapping": null,
"base_model_name_or_path": "../alpaca-lora/before_EDA_train_7B/",
"bias": "none",
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 32,
"lora_dropout": 0.05,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"peft_type": "LORA",
"r": 8,
"rank_pattern": {},
"revision": null,
"target_modules": [
"q_proj",
"v_proj"
],
"task_type": "CAUSAL_LM",
"use_rslora": false
}

View File

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

View File

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

View File

@@ -0,0 +1 @@
{"framework":"Pytorch","task":"text-generation"}