Downloads · 30 days
14
7% of all-time downloads
Riyuechang/gemma-2-2b-PTT-Chat-v2
gemma-2-2b-PTT-Chat-v2 is a text generation model from Riyuechang. Use it when you need the model to write or continue text. The card lists the license as gemma.
使用新的噪聲較小(理論上)的數據訓練 Lora使用了更大的r(32) 取消了Dora 因為Dora的提升有限,還會大幅降低訓練和推理的效率
Downloads · 30 days
14
7% of all-time downloads
All-time downloads
192
Public
Parameters
2.6B
5.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.2 GB · 100%
From the Hugging Face model README
使用新的噪聲較小(理論上)的數據訓練
Lora使用了更大的r(32)
取消了Dora
因為Dora的提升有限,還會大幅降低訓練和推理的效率
本模型是基於google/gemma-2-2b-it微調後的產物
模型使用來自PTT網站中的Gossiping分類的資料訓練
過程中使用了一些方法從海量的數據中,過濾出噪聲較小(理論上)的部份作為訓練數據
訓練資料: Riyuechang/PTT-Corpus-100K_Gossiping-1400-39400_v2
r=32,
lora_alpha=32,
lora_dropout=0.1,
task_type="CAUSAL_LM",
target_modules="all-linear",
bias="none",
use_rslora=True
per_device_train_batch_size=28,
gradient_accumulation_steps=1,
num_train_epochs=3,
warmup_ratio=0.1,
learning_rate=5e-5,
bf16=True,
save_strategy="steps",
save_steps=1000,
save_total_limit=5,
logging_steps=10,
output_dir=log_output,
optim="paged_adamw_8bit",
gradient_checkpointing=True