Skip to content

Commit e624f7d

Browse files
authored
Merge branch 'main' into KOR_translation_fine_tuning_detr_custom_dataset
2 parents 2f6d09d + b120e70 commit e624f7d

24 files changed

+51276
-8132
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.vscode
22
.idea/
33
.venv/
4+
.env
45

56
**/.ipynb_checkpoints
67
**/.DS_Store

notebooks/en/_toctree.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
title: Building RAG with Custom Unstructured Data
5555
- local: fine_tuning_llm_to_generate_persian_product_catalogs_in_json_format
5656
title: Fine-tuning LLM to Generate Persian Product Catalogs in JSON Format
57+
- local: finetune_t5_for_search_tag_generation
58+
title: Fine-tuning T5 for Automatic GitHub Tag Generation with PEFT
5759
- local: llm_gateway_pii_detection
5860
title: LLM Gateway for PII Detection
5961
- local: information_extraction_haystack_nuextract
@@ -76,10 +78,16 @@
7678
title: Scaling Test-Time Compute for Longer Thinking in LLMs
7779
- local: fine_tuning_llm_grpo_trl
7880
title: Post training an LLM for reasoning with GRPO in TRL
79-
- local: medical_rag_and_Reasoning
81+
- local: trl_grpo_reasoning_advanced_reward
82+
title: TRL GRPO Reasoning with Advanced Reward
83+
- local: medical_rag_and_reasoning
8084
title: HuatuoGPT-o1 Medical RAG and Reasoning
8185
- local: fine_tune_chatbot_docs_synthetic
8286
title: Documentation Chatbot with Meta Synthetic Data Kit
87+
- local: optuna_hpo_with_transformers
88+
title: Hyperparameter Optimization with Optuna and Transformers
89+
- local: function_calling_fine_tuning_llms_on_xlam
90+
title: Fine-tuning LLMs for Function Calling with the xLAM Dataset
8391

8492

8593

@@ -122,6 +130,12 @@
122130
title: Structured Generation from Images or Documents Using Vision Language Models
123131
- local: fine_tuning_granite_vision_sft_trl
124132
title: Fine-tuning Granite Vision with TRL
133+
- local: fine_tuning_vlm_object_detection_grounding
134+
title: Fine tuning a VLM for Object Detection Grounding using TRL
135+
- local: fine_tuning_vlm_mpo
136+
title: Fine-Tuning a Vision Language Model with TRL using MPO
137+
- local: fine_tuning_vlm_grpo_trl
138+
title: Post training an VLM for reasoning with GRPO using TRL
125139

126140
- title: Search Recipes
127141
isExpanded: false

notebooks/en/fine_tune_chatbot_docs_synthetic.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4799,7 +4799,7 @@
47994799
"\n",
48004800
"trainer = SFTTrainer(\n",
48014801
" model = model,\n",
4802-
" tokenizer = tokenizer,\n",
4802+
" processing_class = tokenizer,\n",
48034803
" train_dataset = dataset,\n",
48044804
" eval_dataset = None, # Can set up evaluation!\n",
48054805
" args = SFTConfig(\n",

notebooks/en/fine_tuning_granite_vision_sft_trl.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@
844844
" train_dataset=train_dataset,\n",
845845
" data_collator=collate_fn,\n",
846846
" peft_config=peft_config,\n",
847-
" tokenizer=processor.tokenizer,\n",
847+
" processing_class=processor.tokenizer,\n",
848848
")"
849849
]
850850
},

notebooks/en/fine_tuning_llm_to_generate_persian_product_catalogs_in_json_format.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420
" formatting_func=formatting_func,\n",
421421
" data_collator=collator,\n",
422422
" max_seq_length=max_seq_length,\n",
423-
" tokenizer=tokenizer,\n",
423+
" processing_class=tokenizer,\n",
424424
" args=training_arguments,\n",
425425
" packing=packing\n",
426426
")"

0 commit comments

Comments
 (0)