انتقل إلى المحتوى الرئيسي

نموذج كبير.

الأساس والمفاهيم

المطلوب

الترجمة إلى الصينية: كلمات

تعليمات للآلة، مثل لغة البرمجة.

توكن

لم يُحدد بعد

LLM

الترجمة الصينية: نموذج كبير

الجوهر: مجموعة من الخوارزميات، مماثلة لوظيفة.

النماذج المشتركة

  • OpenAI: GPT-3.5 / GPT-4 / GPT-4V / DALL.EWhisper
  • Meta:LLama2 (مفتوح المصدر)

نموذج GPT

الوهم في LLM

نظرًا لأن النموذج يواجه كمية هائلة من المعرفة أثناء التدريب ، فإنه لا يتذكر تمامًا كل المعلومات التي يراها ، فإن المشكلة الواضحة هي أن النموذج لا يعرف حدود معرفته.

وهذا يعني أن النموذج قد يختلق إجابات تبدو موثوقة ولكنها ليست صحيحة في الواقع عند الإجابة على مواضيع غامضة، وهو ما نسميه "وهم".

على سبيل المثال، في المثال التالي، عندما نطلب:

أخبرني عن فرشاة الأسنان AeroGlide Ultra Slim الذكية من شركة Boy

في هذه الحالة ، اسم الشركة موجود ، ولكن اسم المنتج هو خيالنا ، وفي هذه الحالة ، سيظل النموذج يعطي وصفا واقعيا إلى حد ما للمنتج الوهمي.

الحد من توليد هذه الوهم من خلال استراتيجيتين مرجعية:

  • الاستراتيجية 1: يطلب من النموذج العثور على الإشارات ذات الصلة والإجابة على الأسئلة استنادا إلى النص المقدم
  • الاستراتيجية 2: تتبع الإجابة إلى المستندات المصدرية

الحرارة

الترجمة: درجة الحرارة

هذه هي المعلمات الشائعة للنموذج ، والقيم الاختيارية هي: 0 إلى 1.

  • عندما تكون درجة الحرارة 0: تمثل الإجابة أكثر دقة وأكثر ثباتا، وتنطبق على توقع الحصول على نفس النتيجة في كل مرة.

  • عندما تكون درجة الحرارة 0.7: الردود الممثلة أكثر عشوائية وأكثر إبداعا، وتنطبق على توقع الحصول على نتائج مختلفة في كل مرة

على سبيل المثال ، عند الإجابة على السؤال "طعمي المفضل هو ..." ، فإن احتمالات ظهور الأطعمة المختلفة مختلفة.

عندما تكون درجة الحرارة 0 ، يختار النموذج دائمًا واحدًا من أكثر الأرجح ، أي البيتزا.

عندما تكون درجة الحرارة 0.3 ، يكون من الممكن للنموذج اختيار الأطعمة الأخرى الأقل احتمالاً.

عندما تكون درجة الحرارة 0.7 ، يكون من الممكن للنموذج اختيار الأطعمة الأخرى ذات الاحتمالات الأقل.

استخدام LLM

لديك الحس السليم

تحديد النوايا

تصنيف

الخطوة: آلة الدولة

المعلمات الوظيفية التكميلية (قوية)

عبارة Prompt

المرفق الأول

تلخيص

محددة

Summarize the text delimited by triple quotes.

"""insert text here"""

كما يلي

إن وجدت

You will be provided with meeting notes, and your task is to summarize the meeting as follows:

-Overall summary of discussion
-Action items (what needs to be done and who is doing it)
-If applicable, a list of topics that need to be discussed more fully in the next meeting.

ثانيا - الخلفية

سيتم توفير

You will be provided with xxx (delimited with XML tags) about xxx topic. 
First xxx.
Then xxx and xxx.

خطوات

Use the following step-by-step instructions to respond to user inputs.

Step 1 - The user will provide you with text in triple quotes. Summarize this text in one sentence with a prefix that says "Summary: ".

Step 2 - Translate the summary from Step 1 into Spanish, with a prefix that says "Translation: ".

الاتساق

Answer in a consistent style.

Q: Teach me about patience.
A: The river that carves the deepest valley flows from a modest spring; the grandest symphony originates from a single note; the most intricate tapestry begins with a solitary thread.
Q: Teach me about the ocean.

حد الطول

ثلاث نقاط رئيسية

Summarize the text delimited by triple quotes in 3 bullet points.
Summarize the text delimited by triple quotes in 2 paragraphs.
Summarize the text delimited by triple quotes in about 50 words. // 3 个要点

نطاق القيود

جيد جدا

Draft a company memo to be distributed to all employees. The memo should cover the following specific points without deviating from the topics mentioned and not writing any fact which is not present here:
xxxx

تصنيف

You will be provided with a tweet, and your task is to classify its sentiment as positive, neutral, or negative.

تصنيف النية

You will be provided with customer service queries. Classify each query into a primary category and a secondary category. Provide your output in json format with the keys: primary and secondary.

Primary categories: Billing, Technical Support, Account Management, or General Inquiry.

Billing secondary categories:
- Unsubscribe or upgrade
- Add a payment method
- Explanation for charge
- Dispute a charge

Technical Support secondary categories:
- Troubleshooting
- Device compatibility
- Software updates

Account Management secondary categories:
- Password reset
- Update personal information
- Close account
- Account security

General Inquiry secondary categories:
- Product information
- Pricing
- Feedback
- Speak to a human

الأدوار والمهام

your task is to xxx it in a concise way.

الإيجاز

explain it in a concise way.

المستعملون المستهدفون

إلى طالب في الصف الثاني

Summarize content you are provided with for a second-grade student.

الشكل

التصدير في شكل قائمة منقوطة

Provide your answer in bullet point form. 

الصادرات

  • سهلة الاستخدام
  • يوفر قيمة جيدة للسعر
  • جودة عالية ومتانة
  • من الصعب النقل
  • من الصعب تخزينها

قائمة منظمة

قائمة مرقمة

create a numbered list of turn-by-turn directions from it.

الشكل المدعوم

格式类型例子
编号列表1. 打开浏览器2. 输入网址3. 浏览内容
圆点列表- 苹果- 香蕉- 橙子
表格
代码块pythonprint("Hello, world!")
标题和子标题## 主标题### 子标题
JSON格式{ "name": "John", "age": 30, "city": "New York" }
思维导图格式
markdown格式