CoolFace
Modelpublic

jjae/Midm-KCulture-2.0-Base-Instruct

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes5downloads
Model Card

Midm-KCulture-2.0-Base-Instruct

  • —This model is fine-tuned from KT/Midm-2.0-Base-Instruct on the 'Korean Culture Q&A Corpus' using the LoRA (Low-Rank Adaptation) methodology.

GitHub

Check out the full training code here.

Training Hyperparameters

HyperparameterValue
SFTConfig
torch_dtypebfloat16
seed42
epoch3
per_device_train_batch_size2
per_device_eval_batch_size2
learning_rate0.0002
lr_scheduler_type"linear"
max_grad_norm1.0
neftune_noise_alphaNone
gradient_accumulation_steps1
gradient_checkpointingFalse
max_seq_length1024
LoraConfig
r16
lora_alpha16
lora_dropout0.1
target_modules["q_proj", "v_proj"]

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "jjae/Midm-KCulture-2.0-Base-Instruct"
model = AutoModelForCausalLM.from_pretrained(
      model_name,
      torch_dtype=torch.bfloat16,
      trust_remote_code=True,
      device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(model_name)