Views
No views yet
transformers library and PEFT (Parameter-Efficient Fine-Tuning) techniques such as LoRA. The pipeline is designed to handle Japanese instruction datasets and efficiently adapt large models to specific tasks.base_model_id variable. If the model is stored locally, update the path accordingly.1{
2 "task_id": "1",
3 "input": "Translate this text to Japanese.",
4 "output": "このテキストを日本語に翻訳してください。"
5}load_dataset function.r), scaling factor (lora_alpha), and dropout rate (lora_dropout).r), scaling factor (lora_alpha), and dropout rate.base_model_id and new_model_id.python fine_tune.pypython inference.py関根聡, 安藤まや, 後藤美知子, 鈴木久美, 河原大輔, 井之上直也, 乾健太郎. Ichikara Instruction: LLMのための日本語インストラクションデータの構築. 言語処理学会第30回年次大会(2024).