Machine Learning, Fine Tuning, Kids And Tech, Language Model, Kids Education.
task_type="CAUSAL_LM" ) model = get_peft_model(model, config) 6. Tokenize and Process Dataset : def tokenize(sample): model_inps = tokenizer(sample["text"], padding=True, truncation=True, max_length=256) return model_inps data = load_dataset("gsm8k", "main", split="train") data_df =