প্রম্পট নকশা কৌশল

এই পৃষ্ঠাটি আপনাকে কিছু সাধারণ প্রম্পট ডিজাইন কৌশলগুলির সাথে পরিচয় করিয়ে দেয় যা আপনি প্রম্পট ডিজাইন করার সময় ব্যবহার করতে পারেন। যদিও প্রম্পট ডিজাইন করার কোন সঠিক বা ভুল উপায় নেই, সেখানে সাধারণ কৌশল রয়েছে যা আপনি মডেলের প্রতিক্রিয়াগুলিকে প্রভাবিত করতে ব্যবহার করতে পারেন। মডেল কর্মক্ষমতা অপ্টিমাইজ করার জন্য কঠোর পরীক্ষা এবং মূল্যায়ন অত্যন্ত গুরুত্বপূর্ণ।

বৃহৎ ভাষার মডেলগুলি (LLM) ভাষার এককগুলির মধ্যে নিদর্শন এবং সম্পর্কগুলি শিখতে প্রচুর পরিমাণে পাঠ্য ডেটাতে প্রশিক্ষিত হয়। কিছু পাঠ্য (প্রম্পট) দেওয়া হলে, ভাষার মডেলগুলি একটি অত্যাধুনিক স্বয়ংসম্পূর্ণ টুলের মতো পরবর্তীতে কী হতে পারে তা ভবিষ্যদ্বাণী করতে পারে। অতএব, প্রম্পট ডিজাইন করার সময়, মডেলের পরবর্তী ভবিষ্যদ্বাণী কী হবে তা প্রভাবিত করতে পারে এমন বিভিন্ন কারণ বিবেচনা করুন।

স্পষ্ট এবং সুনির্দিষ্ট নির্দেশনা দিন

মডেল আচরণ কাস্টমাইজ করার একটি কার্যকরী এবং কার্যকর উপায় কি করতে হবে সে সম্পর্কে মডেল নির্দেশাবলী দেওয়া। নিশ্চিত করুন যে আপনার দেওয়া নির্দেশাবলী স্পষ্ট এবং নির্দিষ্ট। নির্দেশাবলী ধাপে ধাপে নির্দেশাবলীর তালিকার মতো সহজ বা ব্যবহারকারীর অভিজ্ঞতা এবং মানসিকতার ম্যাপিংয়ের মতো জটিল হতে পারে।

কার্য সম্পাদনের সংজ্ঞা দাও

আপনি মডেলটি যে কাজটি সম্পাদন করতে চান তা বিশদভাবে বর্ণনা করুন। কাজটি নির্দেশাবলীর ধাপে ধাপে তালিকার মতো সহজ বা ব্যবহারকারীর অভিজ্ঞতা এবং মানসিকতার ম্যাপিংয়ের মতো জটিল হতে পারে। নিম্নলিখিত প্রম্পটটি মডেলটিকে পাঠ্যের একটি ব্লকের সারসংক্ষেপ করতে বলে:

Summarize this text.
Text: A quantum computer exploits quantum mechanical phenomena to perform calculations exponentially
faster than any modern traditional computer. At very tiny scales, physical matter acts as both
particles and as waves, and quantum computing uses specialized hardware to leverage this behavior.
The operating principles of quantum devices is beyond the scope of classical physics. When deployed
at scale, quantum computers could be used in a wide variety of applications such as: in
cybersecurity to break existing encryption methods while helping researchers create new ones, in
meteorology to develop better weather forecasting etc. However, the current state of the art quantum
computers are still largely experimental and impractical.
  
Quantum computers utilize quantum mechanical phenomena to perform computations significantly faster
than traditional computers. By exploiting the particle-wave duality of matter at tiny scales,
quantum computers leverage specialized hardware to solve problems beyond classical physics.
Potential applications include breaking encryption, developing better weather forecasting, and more.
However, current quantum computers are still largely experimental and impractical.
  

কোন সীমাবদ্ধতা উল্লেখ করুন

প্রম্পট পড়ার বা একটি প্রতিক্রিয়া তৈরি করার ক্ষেত্রে কোনো সীমাবদ্ধতা উল্লেখ করুন। আপনি মডেল বলতে পারেন কি করবেন এবং কি করবেন না। পূর্ববর্তী উদাহরণ থেকে, সারসংক্ষেপটি মূল পাঠ্যের চেয়ে ছোট, কিন্তু আপনি হয়তো সংক্ষিপ্ত হতে চান। এই ক্ষেত্রে, আপনি সারসংক্ষেপটি কতক্ষণ রাখতে চান তার প্রম্পটে একটি সীমাবদ্ধতা নির্দিষ্ট করতে পারেন:

Summarize this text in two sentences.
Text: A quantum computer exploits quantum mechanical phenomena to perform calculations exponentially
faster than any modern traditional computer. At very tiny scales, physical matter acts as both
particles and as waves, and quantum computing uses specialized hardware to leverage this behavior.
The operating principles of quantum devices is beyond the scope of classical physics. When deployed
at scale, quantum computers could be used in a wide variety of applications such as: in
cybersecurity to break existing encryption methods while helping researchers create new ones, in
meteorology to develop better weather forecasting etc. However, the current state of the art quantum
computers are still largely experimental and impractical.
    

Quantum computers use quantum mechanical phenomena to perform calculations much faster than
traditional computers. They have the potential to revolutionize various fields, but current quantum
computers are still experimental and impractical.
    

প্রতিক্রিয়ার বিন্যাস সংজ্ঞায়িত করুন

আপনি প্রতিক্রিয়ার বিন্যাস নির্দিষ্ট করে এমন নির্দেশাবলীও দিতে পারেন। উদাহরণস্বরূপ, আপনি প্রতিক্রিয়াটিকে একটি টেবিল, বুলেটেড তালিকা, লিফট পিচ, কীওয়ার্ড, বাক্য বা অনুচ্ছেদ হিসাবে ফর্ম্যাট করার জন্য জিজ্ঞাসা করতে পারেন। নিম্নলিখিত প্রম্পটটি মডেলটিকে পাঠ্যের মূল তথ্যের বুলেট পয়েন্ট দেওয়ার নির্দেশ দেয়:

Summarize this text as bullets points of key information.
Text: A quantum computer exploits quantum mechanical phenomena to perform calculations exponentially
faster than any modern traditional computer. At very tiny scales, physical matter acts as both
particles and as waves, and quantum computing uses specialized hardware to leverage this behavior.
The operating principles of quantum devices is beyond the scope of classical physics. When deployed
at scale, quantum computers could be used in a wide variety of applications such as: in
cybersecurity to break existing encryption methods while helping researchers create new ones, in
meteorology to develop better weather forecasting etc. However, the current state of the art quantum
computers are still largely experimental and impractical.
  
- Quantum computers leverage quantum mechanical phenomena for exponentially faster calculations than
  traditional computers.
- Quantum devices utilize specialized hardware to exploit tiny-scale matter behavior as both
  particles and waves.
- Their operating principles transcend classical physics.
- Potential applications include cybersecurity, weather forecasting, and more.
- Current quantum computers are largely experimental and impractical.
  

সারসংক্ষেপ

  • কি করতে হবে তার মডেল নির্দেশাবলী দিন।
  • নির্দেশাবলী পরিষ্কার এবং নির্দিষ্ট করুন।
  • আউটপুট জন্য কোনো সীমাবদ্ধতা বা বিন্যাস প্রয়োজনীয়তা নির্দিষ্ট করুন.

কয়েকটি শট উদাহরণ অন্তর্ভুক্ত করুন

আপনি প্রম্পটে উদাহরণগুলি অন্তর্ভুক্ত করতে পারেন যা মডেলটি দেখায় যে এটি সঠিকভাবে পাওয়া কেমন দেখাচ্ছে। মডেল উদাহরণ থেকে নিদর্শন এবং সম্পর্ক সনাক্ত করার চেষ্টা করে এবং একটি প্রতিক্রিয়া তৈরি করার সময় তাদের প্রয়োগ করে। যে প্রম্পটগুলিতে কয়েকটি উদাহরণ থাকে তাকে কয়েক-শট প্রম্পট বলা হয়, যখন কোনও উদাহরণ দেয় না এমন প্রম্পটগুলিকে জিরো-শট প্রম্পট বলা হয়। কিছু-শট প্রম্পট প্রায়শই ফর্ম্যাটিং, বাক্যাংশ, স্কোপিং, বা মডেল প্রতিক্রিয়াগুলির সাধারণ প্যাটার্নিং নিয়ন্ত্রণ করতে ব্যবহৃত হয়। মডেলটিকে তার ফোকাস সংকুচিত করতে এবং আরও সঠিক ফলাফল তৈরি করতে সহায়তা করার জন্য নির্দিষ্ট এবং বৈচিত্র্যময় উদাহরণ ব্যবহার করুন।

আমরা সবসময় আপনার প্রম্পটে কয়েকটি শট উদাহরণ অন্তর্ভুক্ত করার পরামর্শ দিই। কয়েকটি-শট উদাহরণ ছাড়া প্রম্পটগুলি কম কার্যকর হওয়ার সম্ভাবনা রয়েছে, কারণ তারা নির্দেশাবলী কীভাবে প্রয়োগ করতে হয় তা মডেল দেখায়। আসলে, আপনি আপনার প্রম্পট থেকে নির্দেশাবলী সরাতে পারেন যদি আপনার উদাহরণগুলি হাতে টাস্ক দেখানোর ক্ষেত্রে যথেষ্ট পরিষ্কার হয়।

জিরো-শট বনাম কয়েক-শট প্রম্পট

নিম্নলিখিত জিরো-শট প্রম্পট মডেলটিকে সর্বোত্তম ব্যাখ্যা চয়ন করতে বলে।

Please choose the best explanation to the question:

Question: How is snow formed?
Explanation1: Snow is formed when water vapor in the air freezes into ice crystals in the
atmosphere, which can combine and grow into snowflakes as they fall through the atmosphere and
accumulate on the ground.
Explanation2: Water vapor freezes into ice crystals forming snow.
Answer:
  
Explanation1
  

যদি আপনার ব্যবহারের ক্ষেত্রে সংক্ষিপ্ত প্রতিক্রিয়াগুলি তৈরি করার জন্য মডেলটির প্রয়োজন হয়, আপনি প্রম্পটে উদাহরণগুলি অন্তর্ভুক্ত করতে পারেন যা সংক্ষিপ্ত প্রতিক্রিয়াগুলিকে অগ্রাধিকার দেয়।

নিম্নলিখিত প্রম্পট দুটি উদাহরণ প্রদান করে যা সংক্ষিপ্ত ব্যাখ্যাকে অগ্রাধিকার দেখায়। প্রতিক্রিয়াতে, আপনি দেখতে পাচ্ছেন যে উদাহরণগুলি মডেলটিকে সংক্ষিপ্ত ব্যাখ্যা (ব্যাখ্যা2) বেছে নেওয়ার জন্য নির্দেশিত করেছে যেমনটি আগের মতো দীর্ঘ ব্যাখ্যা (ব্যাখ্যা1) এর বিপরীতে।

Please choose the best explanation to the question:

Question: Why is sky blue?
Explanation1: The sky appears blue because of Rayleigh scattering, which causes shorter blue
wavelengths of light to be scattered more easily than longer red wavelengths, making the sky look
blue.
Explanation2: Due to Rayleigh scattering effect.
Answer: Explanation2

Question: What is the cause of earthquakes?
Explanation1: Sudden release of energy in the Earth's crust.
Explanation2: Earthquakes happen when tectonic plates suddenly slip or break apart, causing a
release of energy that creates seismic waves that can shake the ground and cause damage.
Answer: Explanation1

Question: How is snow formed?
Explanation1: Snow is formed when water vapor in the air freezes into ice crystals in the
atmosphere, which can combine and grow into snowflakes as they fall through the atmosphere and
accumulate on the ground.
Explanation2: Water vapor freezes into ice crystals forming snow.
Answer:
  
Explanation2
  

উদাহরণের সর্বোত্তম সংখ্যা খুঁজুন

আপনি সবচেয়ে পছন্দসই ফলাফলের জন্য প্রম্পটে প্রদান করার জন্য উদাহরণের সংখ্যা নিয়ে পরীক্ষা করতে পারেন। PaLM এবং Gemini এর মতো মডেলগুলি প্রায়শই কয়েকটি উদাহরণ ব্যবহার করে নিদর্শনগুলি বেছে নিতে পারে, যদিও আপনাকে কতগুলি উদাহরণ পছন্দসই ফলাফলের দিকে নিয়ে যায় তা নিয়ে পরীক্ষা করতে হতে পারে। BERT-এর মতো সহজ মডেলের জন্য, আপনার আরও উদাহরণের প্রয়োজন হতে পারে। একই সময়ে, আপনি যদি অনেকগুলি উদাহরণ অন্তর্ভুক্ত করেন, তাহলে মডেলটি উদাহরণগুলির প্রতিক্রিয়াকে ওভারফিট করতে শুরু করতে পারে৷

অ্যান্টিপ্যাটার্নের পরিবর্তে প্যাটার্ন দেখানোর জন্য উদাহরণ ব্যবহার করুন

মডেলটিকে অনুসরণ করার জন্য একটি প্যাটার্ন দেখানোর জন্য উদাহরণ ব্যবহার করা মডেলটিকে এড়ানোর জন্য একটি অ্যান্টিপ্যাটার্ন দেখানোর জন্য উদাহরণ ব্যবহার করার চেয়ে বেশি কার্যকর।

নেতিবাচক প্যাটার্ন :

Don't end haikus with a question:
Haiku are fun
A short and simple poem
Don't you enjoy them?
  

ইতিবাচক প্যাটার্ন :

Always end haikus with an assertion:
Haiku are fun
A short and simple poem
A joy to write
  

উদাহরণ জুড়ে সামঞ্জস্যপূর্ণ বিন্যাস ব্যবহার করুন

অবাঞ্ছিত ফর্ম্যাটগুলির সাথে প্রতিক্রিয়া এড়াতে কয়েক শট উদাহরণগুলির গঠন এবং বিন্যাস একই হয় তা নিশ্চিত করুন৷ প্রম্পটে কয়েকটি শট উদাহরণ যোগ করার প্রাথমিক উদ্দেশ্যগুলির মধ্যে একটি হল মডেলটিকে প্রতিক্রিয়া বিন্যাস দেখানো। অতএব, সমস্ত উদাহরণ জুড়ে একটি সামঞ্জস্যপূর্ণ বিন্যাস নিশ্চিত করা অপরিহার্য, বিশেষ করে XML ট্যাগ, সাদা স্থান, নতুন লাইন এবং উদাহরণ স্প্লিটারগুলিতে মনোযোগ দেওয়া।

সারসংক্ষেপ

  • প্রম্পটে প্রম্পট-প্রতিক্রিয়া উদাহরণ সহ মডেলটিকে কীভাবে প্রতিক্রিয়া জানাতে হয় তা শিখতে সহায়তা করে।
  • এড়ানোর জন্য প্যাটার্নের উদাহরণের পরিবর্তে অনুসরণ করা প্যাটার্নের মডেল উদাহরণ দিন।
  • অন্তর্ভুক্ত করার জন্য প্রম্পটের সংখ্যা নিয়ে পরীক্ষা করুন। মডেলের উপর নির্ভর করে, খুব কম উদাহরণ মডেল আচরণ পরিবর্তনের ক্ষেত্রে অকার্যকর। অনেকগুলি উদাহরণ মডেলটিকে ওভারফিট করার কারণ।
  • উদাহরণ জুড়ে সামঞ্জস্যপূর্ণ বিন্যাস ব্যবহার করুন

প্রাসঙ্গিক তথ্য যোগ করুন

আপনি প্রম্পট নির্দেশাবলী এবং তথ্য অন্তর্ভুক্ত করতে পারেন যে মডেলটিতে প্রয়োজনীয় সমস্ত তথ্য রয়েছে বলে অনুমান করার পরিবর্তে একটি সমস্যা সমাধানের জন্য মডেলটির প্রয়োজন। এই প্রাসঙ্গিক তথ্য মডেলটিকে সীমাবদ্ধতা এবং আপনি যা করতে বলছেন তার বিশদ বিবরণ বুঝতে সাহায্য করে।

নিম্নলিখিত উদাহরণটি মডেলটিকে একটি রাউটারের জন্য সমস্যা সমাধানের নির্দেশিকা দিতে বলে:

What should I do to fix my disconnected wifi? The light on my Google Wifi router is yellow and
blinking slowly.
  
1. **Check the Cables:**
- Make sure that all cables are securely connected to your Google Wifi router and modem.
- Try replacing the cables with new ones to ensure they are not faulty.


2. **Reboot the Router:**
- Unplug your Google Wifi router and modem from the power outlet.
- Wait for at least 30 seconds.
- Plug the modem and router back in and wait for them to start up.


3. **Factory Reset the Router:**
- Resetting the router will restore it to its default settings.
- Find the small reset button on the back of the router.
- Press and hold the reset button with a paper clip or similar object for 10 seconds.
- Release the button and wait for the router to restart.


4. **Check Your Internet Connection:**
- Use a wired connection to connect a device directly to your modem.
- If the internet works, the issue may be with your router.
- If the internet still doesn't work, contact your Internet Service Provider (ISP).


5. **Update Router's Firmware:**
- Check if there is a firmware update available for your Google Wifi router.
- Download and install the latest firmware update from the Google Wifi app.


6. **Interference and Obstacles:**
- Make sure the router is not near electronic devices that can cause interference, like microwaves or cordless phones.
- Remove any obstacles between the router and your devices, such as furniture or thick walls.


7. **Change Wi-Fi Channel:**
- In the Google Wifi app, go to Settings > Network & General > Advanced Networking.
- Try changing the Wi-Fi channel to a less congested one.


8. **Contact Google Support:**
- If you've tried the above steps and the issue persists, contact Google support for further assistance.
  

প্রতিক্রিয়াটি সাধারণ সমস্যা সমাধানের তথ্যের মতো দেখায় যা রাউটার বা LED সূচক লাইটের অবস্থার জন্য নির্দিষ্ট নয়।

নির্দিষ্ট রাউটারের জন্য প্রতিক্রিয়া কাস্টমাইজ করতে, আপনি প্রম্পটে যোগ করতে পারেন রাউটারের সমস্যা সমাধানের নির্দেশিকাটি একটি প্রতিক্রিয়া প্রদান করার সময় এটির উল্লেখ করার জন্য।

Answer the question using the text below. Respond with only the text provided.
Question: What should I do to fix my disconnected wifi? The light on my Google Wifi router is yellow and blinking slowly.

Text:
Color: Slowly pulsing yellow
What it means: There is a network error.
What to do:
Check that the Ethernet cable is connected to both your router and your modem and both devices are turned on. You might need to unplug and plug in each device again.

Color: Fast blinking yellow
What it means: You are holding down the reset button and are factory resetting this device.
What to do:
If you keep holding down the reset button, after about 12 seconds, the light will turn solid yellow. Once it is solid yellow, let go of the factory reset button.

Color: Solid yellow
What it means: Router is factory resetting.
What to do:
This can take up to 10 minutes. When it's done, the device will reset itself and start pulsing white, letting you know it's ready for setup.

Color: Solid red
What it means: Something is wrong.
What to do:
Critical failure. Factory reset the router. If the light stays red, contact Wifi customer support.
  
Check that the Ethernet cable is connected to both your router and your modem and both devices are turned on. You might need to unplug and plug in each device again.
  

সারসংক্ষেপ

  • একটি প্রতিক্রিয়া তৈরি করার সময় আপনি মডেলটি ব্যবহার করতে চান এমন প্রম্পটে তথ্য (প্রসঙ্গ) অন্তর্ভুক্ত করুন।
  • প্রাসঙ্গিক তথ্য কিভাবে ব্যবহার করতে হয় তার মডেল নির্দেশাবলী দিন।

উপসর্গ যোগ করুন

একটি উপসর্গ হল একটি শব্দ বা বাক্যাংশ যা আপনি প্রম্পট সামগ্রীতে যোগ করেন যা বিভিন্ন উদ্দেশ্যে কাজ করতে পারে, যেখানে আপনি উপসর্গটি রেখেছেন তার উপর নির্ভর করে:

  • ইনপুট উপসর্গ: ইনপুট সিগন্যালে একটি উপসর্গ যোগ করা মডেলে ইনপুটের অর্থপূর্ণ অংশগুলিকে নির্দেশ করে। উদাহরণস্বরূপ, "ইংরেজি:" এবং "ফরাসি:" উপসর্গ দুটি ভিন্ন ভাষাকে সীমাবদ্ধ করে।
  • আউটপুট উপসর্গ: যদিও আউটপুট মডেল দ্বারা উত্পন্ন হয়, আপনি প্রম্পটে আউটপুটের জন্য একটি উপসর্গ যোগ করতে পারেন। আউটপুট উপসর্গ মডেলটিকে প্রতিক্রিয়া হিসাবে কী প্রত্যাশিত সে সম্পর্কে তথ্য দেয়। উদাহরণস্বরূপ, আউটপুট প্রিফিক্স "JSON:" মডেলটিকে সংকেত দেয় যে আউটপুটটি JSON ফর্ম্যাটে হওয়া উচিত।
  • উদাহরণ উপসর্গ: কয়েকটি-শট প্রম্পটে, উদাহরণগুলিতে উপসর্গ যোগ করা লেবেলগুলি সরবরাহ করে যা মডেলটি আউটপুট তৈরি করার সময় ব্যবহার করতে পারে, যা আউটপুট সামগ্রীকে পার্স করা সহজ করে তোলে।

নিম্নলিখিত উদাহরণে, "টেক্সট:" হল ইনপুট উপসর্গ এবং "উত্তর হল:" হল আউটপুট উপসর্গ।

Classify the text as one of the following categories.
- large
- small
Text: Rhino
The answer is: large
Text: Mouse
The answer is: small
Text: Snail
The answer is: small
Text: Elephant
The answer is:
  
large
  

মডেলটিকে আংশিক ইনপুট সম্পূর্ণ করতে দিন

জেনারেটিভ ল্যাঙ্গুয়েজ মডেল একটি উন্নত স্বয়ংসম্পূর্ণ টুলের মত কাজ করে। আপনি যখন আংশিক বিষয়বস্তু প্রদান করেন, তখন মডেলটি বাকী সামগ্রী প্রদান করতে পারে বা যা মনে করে সেটি একটি প্রতিক্রিয়া হিসাবে সেই বিষয়বস্তুর ধারাবাহিকতা। এটি করার সময়, আপনি যদি কোনও উদাহরণ বা প্রসঙ্গ অন্তর্ভুক্ত করেন, মডেলটি সেই উদাহরণগুলি বা প্রসঙ্গগুলিকে বিবেচনায় নিতে পারে।

নিম্নলিখিত উদাহরণটি একটি নির্দেশ এবং একটি সত্তা ইনপুট সহ একটি প্রম্পট প্রদান করে:

For the given order, return a JSON object that has the fields cheeseburger, hamburger, fries, or
drink, with the value being the quantity.

Order: A burger and a drink.
  
```
{
"cheeseburger": 0,
"hamburger": 1,
"fries": 0,
"drink": 1
}
```
  

যদিও মডেলটি প্রম্পট অনুযায়ী করেছে, প্রাকৃতিক ভাষায় নির্দেশাবলী লেখা কখনও কখনও চ্যালেঞ্জিং হতে পারে এবং এটি মডেলের ব্যাখ্যায় অনেক কিছু ছেড়ে দেয়। উদাহরণস্বরূপ, একটি রেস্টুরেন্টের মেনুতে অনেক আইটেম থাকতে পারে। JSON প্রতিক্রিয়ার আকার কমাতে, আপনি সম্ভবত অর্ডার করা হয়নি এমন আইটেমগুলি বাদ দিতে চান। এই ক্ষেত্রে, আপনি একটি উদাহরণ এবং একটি প্রতিক্রিয়া উপসর্গ দিতে পারেন এবং মডেলটিকে এটি সম্পূর্ণ করতে দিন:

Valid fields are cheeseburger, hamburger, fries, and drink.
Order: Give me a cheeseburger and fries
Output:
```
{
  "cheeseburger": 1,
  "fries": 1
}
```
Order: I want two burgers, a drink, and fries.
Output:
  
```
{
"hamburger": 2,
"drink": 1,
"fries": 1
}
```
  

লক্ষ্য করুন কিভাবে "চিজবার্গার" আউটপুট থেকে বাদ দেওয়া হয়েছিল কারণ এটি অর্ডারের অংশ ছিল না।

মডেলটিকে তার প্রতিক্রিয়া বিন্যাস করতে অনুরোধ করুন

সমাপ্তি কৌশল প্রতিক্রিয়া বিন্যাস সাহায্য করতে পারেন. নিম্নলিখিত উদাহরণটি একটি প্রবন্ধ রূপরেখা তৈরি করতে মডেলটিকে অনুরোধ করে:

Create an outline for an essay about hummingbirds.
  
I. Introduction
A. Hook: Begin with an intriguing fact or description of hummingbirds.
B. Provide some background information on hummingbirds.
1. Mention their small size and long, thin beaks.
2. Highlight their unique ability to hover and fly backward.

II. Body
A. Anatomy and Physiology
1. Elaborate on their tiny size, making comparisons to other animals.
2. Describe their wings and how they enable hovering and swift flight.
3. Discuss their metabolism and energy requirements, emphasizing their caloric needs.

B. Feeding Habits and Diet
1. Explain their primary food source, nectar, and how they extract it from flowers.
2. Describe their ability to feed from a wide variety of flowers.
3. Mention their consumption of insects and the nutritional value they provide.

C. Migration Patterns
1. Discuss the incredible long-distance migrations of some hummingbird species.
2. Explain the phenomenon of seasonal migration and the environmental factors driving it.
3. Describe the routes taken by different species during migration.

D. Conservation and Threats
1. Highlight the importance of hummingbirds in ecosystems as pollinators.
2. Discuss the challenges and threats they face, such as habitat loss, nectar scarcity, and climate change.
3. Mention conservation efforts and ways to support hummingbird populations.

III. Conclusion
A. Summarize the main points covered in the essay.
B. Reinforce the importance of hummingbirds and their ecological role.
C. Provide a final thought or call to action to protect these fascinating creatures.
  

প্রম্পটে রূপরেখার বিন্যাস নির্দিষ্ট করা হয়নি এবং মডেলটি আপনার জন্য একটি বিন্যাস বেছে নিয়েছে। মডেলটিকে একটি নির্দিষ্ট বিন্যাসে একটি রূপরেখা ফেরত দেওয়ার জন্য, আপনি পাঠ্য যোগ করতে পারেন যা রূপরেখার শুরুর প্রতিনিধিত্ব করে এবং আপনি যে প্যাটার্নটি শুরু করেছেন তার উপর ভিত্তি করে মডেলটিকে এটি সম্পূর্ণ করতে দিন৷

Create an outline for an essay about hummingbirds.
I. Introduction
   *
  
I. Introduction
* Capture the reader's attention with an interesting anecdote or fact about hummingbirds.
* Provide a brief background on hummingbirds, including their unique characteristics.
* State the main points that will be covered in the essay.

II. The Unique Characteristics of Hummingbirds
* Discuss the hummingbird's exceptionally rapid wing-beat, allowing them to hover and fly backward.
* Highlight their tiny size, making them the smallest birds in the world.
* Describe their long, slender beaks and tongues, allowing them to reach deep into flowers to extract nectar.
* Explain their iridescent plumage, which creates brilliant and vibrant colors.

III. Hummingbird Migration and Distribution
* Discuss the extensive migration patterns of hummingbirds, covering vast distances across continents.
* Describe the different habitats where hummingbirds can be found, including tropical rainforests, deserts, and urban areas.
* Explain the seasonal changes that influence hummingbird migration and habitat selection.

IV. Hummingbird Diet and Feeding Habits
* Focus on the hummingbird's primary food source, which is nectar from flowers.
* Describe their ability to consume insects, spiders, and other small invertebrates for protein.
* Explain how hummingbirds use their long, slender tongues to extract nectar from flowers.
* Discuss the importance of flowering plants in providing sustenance for hummingbirds.

V. Reproduction and Nesting Behavior
* Describe the mating rituals and courtship behavior of hummingbirds.
* Explain the process of nest-building, including the materials used and the unique characteristics of hummingbird nests.
* Discuss the role of the female hummingbird in laying and incubating eggs.
* Describe the development of hummingbird chicks and the role of both parents in providing care.

VI. Threats to Hummingbirds and Conservation Efforts
* Highlight habitat loss, climate change, and deforestation as significant threats to hummingbird populations.
* Describe the role of habitat conservation initiatives in protecting hummingbird habitats.
* Explain the importance of creating hummingbird-friendly gardens and landscapes.
* Discuss the efforts of organizations and individuals working to conserve hummingbird populations.

VII. Conclusion
* Summarize the main points covered in the essay, emphasizing the unique characteristics, migration patterns, diet, reproduction, and conservation of hummingbirds.
* Provide a closing statement that leaves a lasting impression on the reader and reinforces the significance of these fascinating creatures.
  

সারসংক্ষেপ

  • আপনি যদি মডেলটিকে একটি আংশিক ইনপুট দেন, মডেলটি প্রম্পটে যে কোনো উপলব্ধ উদাহরণ বা প্রসঙ্গের উপর ভিত্তি করে সেই ইনপুটটি সম্পূর্ণ করে।
  • মডেলটিকে একটি ইনপুট সম্পূর্ণ করা কখনও কখনও প্রাকৃতিক ভাষায় কাজটি বর্ণনা করার চেয়ে সহজ হতে পারে।
  • একটি প্রম্পটে একটি আংশিক উত্তর যোগ করা মডেলটিকে একটি পছন্দসই প্যাটার্ন বা বিন্যাস অনুসরণ করতে গাইড করতে পারে।

প্রম্পটগুলিকে সাধারণ উপাদানগুলিতে ভেঙে দিন

জটিল প্রম্পট প্রয়োজন এমন ব্যবহারের ক্ষেত্রে, আপনি জিনিসগুলিকে সহজ উপাদানগুলিতে ভেঙে এই জটিলতা পরিচালনা করতে মডেলটিকে সাহায্য করতে পারেন৷

নির্দেশ ভাঙ্গা

এক প্রম্পটে অনেক নির্দেশনা থাকার পরিবর্তে, প্রতি নির্দেশে একটি প্রম্পট তৈরি করুন। ব্যবহারকারীর ইনপুটের উপর ভিত্তি করে আপনি কোন প্রম্পটটি প্রক্রিয়া করবেন তা চয়ন করতে পারেন।

চেইন প্রম্পট

একাধিক ক্রমিক ধাপ জড়িত জটিল কাজগুলির জন্য, প্রতিটি ধাপকে একটি প্রম্পট করুন এবং একটি ক্রম অনুসারে প্রম্পটগুলিকে চেইন করুন। প্রম্পটের এই ক্রমিক শৃঙ্খলে, অনুক্রমের একটি প্রম্পটের আউটপুট পরবর্তী প্রম্পটের ইনপুট হয়ে যায়। অনুক্রমের শেষ প্রম্পটের আউটপুট হল চূড়ান্ত আউটপুট।

সামগ্রিক প্রতিক্রিয়া

একত্রীকরণ হল যখন আপনি ডেটার বিভিন্ন অংশে বিভিন্ন সমান্তরাল কাজ করতে চান এবং চূড়ান্ত আউটপুট তৈরি করতে ফলাফলগুলিকে একত্রিত করতে চান। উদাহরণস্বরূপ, আপনি মডেলটিকে ডেটার প্রথম অংশে একটি অপারেশন করতে, বাকি ডেটাতে আরেকটি অপারেশন করতে এবং ফলাফলগুলিকে একত্রিত করতে বলতে পারেন।

সারসংক্ষেপ

  • জটিল নির্দেশাবলীকে প্রতিটি নির্দেশের জন্য একটি প্রম্পটে ভেঙে দিন এবং ব্যবহারকারীর ইনপুটের উপর ভিত্তি করে কোন প্রম্পট প্রয়োগ করতে হবে তা স্থির করুন।
  • একাধিক অনুক্রমিক ধাপগুলিকে পৃথক প্রম্পটে ভেঙে দিন এবং তাদের এমনভাবে চেইন করুন যাতে পূর্ববর্তী প্রম্পটে আউটপুটটি নিম্নলিখিত প্রম্পটের ইনপুট হয়ে যায়।
  • সমান্তরাল কাজগুলি ভেঙে ফেলুন এবং চূড়ান্ত আউটপুট তৈরি করতে প্রতিক্রিয়াগুলিকে একত্রিত করুন।

বিভিন্ন পরামিতি মান সঙ্গে পরীক্ষা

প্রতিটি কল যা আপনি একটি মডেলে পাঠান তাতে প্যারামিটার মান অন্তর্ভুক্ত থাকে যা নিয়ন্ত্রণ করে যে মডেলটি কীভাবে প্রতিক্রিয়া তৈরি করে। মডেল বিভিন্ন পরামিতি মান জন্য বিভিন্ন ফলাফল তৈরি করতে পারে. টাস্কের জন্য সেরা মান পেতে বিভিন্ন প্যারামিটার মান নিয়ে পরীক্ষা করুন। বিভিন্ন মডেলের জন্য উপলব্ধ পরামিতি ভিন্ন হতে পারে। সর্বাধিক সাধারণ পরামিতিগুলি হল:

  • সর্বোচ্চ আউটপুট টোকেন
  • তাপমাত্রা
  • টপ-কে
  • টপ-পি

সর্বোচ্চ আউটপুট টোকেন

সর্বাধিক সংখ্যক টোকেন যা প্রতিক্রিয়াতে তৈরি করা যেতে পারে। একটি টোকেন প্রায় চারটি অক্ষরের। 100 টোকেন প্রায় 60-80 শব্দের সাথে মিলে যায়।

সংক্ষিপ্ত প্রতিক্রিয়াগুলির জন্য একটি নিম্ন মান এবং দীর্ঘ প্রতিক্রিয়াগুলির জন্য একটি উচ্চ মান নির্দিষ্ট করুন৷

তাপমাত্রা

রেসপন্স জেনারেশনের সময় নমুনা নেওয়ার জন্য তাপমাত্রা ব্যবহার করা হয়, যেটা ঘটে যখন topP এবং topK প্রয়োগ করা হয়। তাপমাত্রা টোকেন নির্বাচনে এলোমেলোতার মাত্রা নিয়ন্ত্রণ করে। নিম্ন তাপমাত্রা প্রম্পটগুলির জন্য ভাল যেগুলির জন্য আরও নির্ধারক এবং কম খোলামেলা বা সৃজনশীল প্রতিক্রিয়া প্রয়োজন, যখন উচ্চ তাপমাত্রা আরও বৈচিত্র্যময় বা সৃজনশীল ফলাফলের দিকে নিয়ে যেতে পারে। 0 এর তাপমাত্রা নির্ধারক, যার অর্থ সর্বোচ্চ সম্ভাব্য প্রতিক্রিয়া সর্বদা নির্বাচিত হয়।

বেশিরভাগ ব্যবহারের ক্ষেত্রে, 0.2 তাপমাত্রা দিয়ে শুরু করার চেষ্টা করুন। যদি মডেলটি এমন একটি প্রতিক্রিয়া প্রদান করে যা খুব সাধারণ, খুব ছোট, বা মডেলটি একটি ফলব্যাক প্রতিক্রিয়া দেয়, তাহলে তাপমাত্রা বাড়ানোর চেষ্টা করুন৷

টপ-কে

Top-K পরিবর্তন করে কিভাবে মডেল আউটপুটের জন্য টোকেন নির্বাচন করে। 1 -এর একটি শীর্ষ-কে মানে পরবর্তী নির্বাচিত টোকেনটি মডেলের শব্দভান্ডারের সমস্ত টোকেনের মধ্যে সবচেয়ে সম্ভাব্য (যাকে লোভনীয় ডিকোডিংও বলা হয়), যখন 3 -এর শীর্ষ-কে মানে হল যে তিনটি সম্ভাব্য টোকেনের মধ্যে থেকে পরবর্তী টোকেনটি নির্বাচন করা হয়েছে। তাপমাত্রা ব্যবহার করে।

প্রতিটি টোকেন নির্বাচন ধাপের জন্য, সর্বোচ্চ সম্ভাবনা সহ শীর্ষ-কে টোকেনগুলি নমুনা করা হয়৷ তারপর তাপমাত্রা নমুনা ব্যবহার করে নির্বাচিত চূড়ান্ত টোকেন সহ টপ-পি-এর উপর ভিত্তি করে টোকেনগুলি আরও ফিল্টার করা হয়।

কম এলোমেলো প্রতিক্রিয়াগুলির জন্য একটি নিম্ন মান এবং আরও র্যান্ডম প্রতিক্রিয়াগুলির জন্য একটি উচ্চ মান নির্দিষ্ট করুন৷ ডিফল্ট শীর্ষ-K হল 40

টপ-পি

Top-P পরিবর্তন করে কিভাবে মডেল আউটপুটের জন্য টোকেন নির্বাচন করে। টোকেনগুলি সর্বাধিক (টপ-কে দেখুন) থেকে কম সম্ভাব্য থেকে নির্বাচন করা হয় যতক্ষণ না তাদের সম্ভাব্যতার যোগফল শীর্ষ-পি মানের সমান হয়। উদাহরণস্বরূপ, যদি A, B, এবং C টোকেনগুলির 0.3, 0.2, এবং 0.1 এর সম্ভাবনা থাকে এবং শীর্ষ-P মান 0.5 হয়, তাহলে মডেলটি তাপমাত্রা ব্যবহার করে পরবর্তী টোকেন হিসাবে A বা B নির্বাচন করবে এবং C বাদ দেবে একজন প্রার্থী

কম এলোমেলো প্রতিক্রিয়াগুলির জন্য একটি নিম্ন মান এবং আরও র্যান্ডম প্রতিক্রিয়াগুলির জন্য একটি উচ্চ মান নির্দিষ্ট করুন৷ ডিফল্ট টপ-পি হল 0.95

প্রম্পট পুনরাবৃত্তি কৌশল

প্রম্পট ডিজাইন হল একটি পুনরাবৃত্ত প্রক্রিয়া যার জন্য আপনি ধারাবাহিকভাবে পছন্দসই প্রতিক্রিয়া পাওয়ার আগে প্রায়ই কয়েকটি পুনরাবৃত্তির প্রয়োজন হয়। এই বিভাগটি এমন কিছু বিষয়ে নির্দেশিকা প্রদান করে যা আপনি আপনার প্রম্পটগুলির পুনরাবৃত্তি করার সময় চেষ্টা করতে পারেন।

বিভিন্ন বাক্যাংশ ব্যবহার করুন

আপনার প্রম্পটে বিভিন্ন শব্দ বা বাক্যাংশ ব্যবহার করা প্রায়শই মডেল থেকে ভিন্ন প্রতিক্রিয়া দেয় যদিও সেগুলি সব একই জিনিস বোঝায়। আপনি যদি আপনার প্রম্পট থেকে প্রত্যাশিত ফলাফল না পান, তাহলে এটি পুনরায় বলার চেষ্টা করুন।

Version 1:
How do I bake a pie?

Version 2:
Suggest a recipe for a pie.

Version 3:
What's a good pie recipe?
  

একটি অনুরূপ টাস্ক স্যুইচ করুন

আপনি যদি একটি কাজের জন্য আপনার নির্দেশাবলী অনুসরণ করার জন্য মডেলটি পেতে না পারেন, তাহলে এটিকে একটি সাদৃশ্যপূর্ণ কাজের জন্য নির্দেশনা দেওয়ার চেষ্টা করুন যা একই ফলাফল অর্জন করে।

এই প্রম্পট মডেলটিকে পূর্বনির্ধারিত বিভাগগুলি ব্যবহার করে একটি বইকে শ্রেণিবদ্ধ করতে বলে।

Which category does The Odyssey belong to:
thriller
sci-fi
mythology
biography
  
The answer: mythology

Explanations:

The Odyssey is an epic poem in ancient Greek literature. It is one of two major ancient Greek epic
poems attributed to Homer. The Odyssey is an epic poem that tells the story of Odysseus, a Greek
hero who fought in the Trojan War and then spent ten years trying to return home to Ithaca. The
Odyssey is a work of mythology.
  

প্রতিক্রিয়াটি সঠিক, তবে মডেলটি বিকল্পগুলির সীমার মধ্যে থাকেনি। আপনি একটি সম্পূর্ণ বাক্যে পরিবর্তে বিকল্পগুলির একটি দিয়ে প্রতিক্রিয়া জানাতে মডেল করতে চান। এই ক্ষেত্রে, আপনি একাধিক পছন্দের প্রশ্ন হিসাবে নির্দেশগুলিকে পুনরায় বাক্যাংশ করতে পারেন এবং মডেলটিকে একটি বিকল্প চয়ন করতে বলতে পারেন।

Multiple choice problem: Which of the following options describes the book The Odyssey?
Options:
- thriller
- sci-fi
- mythology
- biography
  
The answer is: mythology
  

প্রম্পট সামগ্রীর ক্রম পরিবর্তন করুন

প্রম্পটে বিষয়বস্তুর ক্রম কখনও কখনও প্রতিক্রিয়া প্রভাবিত করতে পারে. বিষয়বস্তুর ক্রম পরিবর্তন করার চেষ্টা করুন এবং দেখুন কিভাবে এটি প্রতিক্রিয়া প্রভাবিত করে।

Version 1:
[examples]
[context]
[input]

Version 2:
[input]
[examples]
[context]

Version 3:
[examples]
[input]
[context]

ফলব্যাক প্রতিক্রিয়া

একটি ফলব্যাক প্রতিক্রিয়া হল মডেল দ্বারা প্রত্যাবর্তিত একটি প্রতিক্রিয়া যখন প্রম্পট বা প্রতিক্রিয়া একটি নিরাপত্তা ফিল্টার ট্রিগার করে। ফলব্যাক প্রতিক্রিয়ার একটি উদাহরণ হল "আমি এটির সাথে সাহায্য করতে সক্ষম নই, কারণ আমি শুধুমাত্র একটি ভাষা মডেল।"

যদি মডেলটি একটি ফলব্যাক প্রতিক্রিয়ার সাথে প্রতিক্রিয়া জানায়, তাহলে তাপমাত্রা বাড়ানোর চেষ্টা করুন।

এড়ানোর জিনিস

  • বাস্তব তথ্য তৈরি করতে মডেলের উপর নির্ভর করা এড়িয়ে চলুন।
  • গণিত এবং যুক্তির সমস্যায় যত্ন সহকারে ব্যবহার করুন।

পরবর্তী পদক্ষেপ