Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions Tutorial01/Tutorial_1_Introduction_to_LangChain.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,17 @@
" - For creative tasks, use higher temperature and top_p\n",
" - Consider using top_p sampling for more consistent results across different prompts\n",
"\n",
"6. Example Use Cases and Recommended Values:\n",
" Use Case | Temperature | Top_p | Description\n",
" ------------------------ | ----------- | ----- | -----------\n",
" Code Generation | 0.2 | 0.1 | Focused, convention-adhering code\n",
" Creative Writing | 0.7 | 0.8 | Diverse, exploratory text\n",
" Chatbot Responses | 0.5 | 0.5 | Balanced coherence and diversity\n",
" Code Comment Generation | 0.3 | 0.2 | Concise, relevant comments\n",
" Data Analysis Scripting | 0.2 | 0.1 | Correct, efficient scripts\n",
" Exploratory Code Writing | 0.6 | 0.7 | Creative, alternative solutions\n",
"\n",
"6. Example Use Cases and Recommended Values:\n",
"\n",
"| Use Case | Temperature | Top_p | Description |\n",
"|:--- |:--- |:--- |:--- |\n",
"| Code Generation | 0.2 | 0.1 | Focused, convention-adhering code |\n",
"| Creative Writing | 0.7 | 0.8 | Diverse, exploratory text |\n",
"| Chatbot Responses | 0.5 | 0.5 | Balanced coherence and diversity |\n",
"| Code Comment Generation | 0.3 | 0.2 | Concise, relevant comments |\n",
"| Data Analysis Scripting | 0.2 | 0.1 | Correct, efficient scripts |\n",
"| Exploratory Code Writing | 0.6 | 0.7 | Creative, alternative solutions |\n",
"\n",
"7. Advanced Techniques:\n",
" - Fine-tuning: Adapt the model to specific tasks or domains for better performance\n",
" - Prompt Engineering: Craft effective prompts to guide the model's output\n",
Expand Down