Google Cloud איך מתחילים להשתמש בשירות להערכת AI גנרטיבי באמצעות מסוף
לפני שמתחילים
- נכנסים לחשבון Google Cloud . אנחנו ממליצים למשתמשים חדשים ב- Google Cloud ליצור חשבון כדי שיוכלו להעריך את הביצועים של המוצרים שלנו בתרחישים מהעולם האמיתי. לקוחות חדשים מקבלים בחינם גם קרדיט בשווי 300$ להרצה, לבדיקה ולפריסה של עומסי העבודה.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
-
Make sure that you have the following role or roles on the project: Storage Admin
Check for the roles
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
- For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.
Grant the roles
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
- Click Grant access.
-
In the New principals field, enter your user identifier. This is typically the email address for a Google Account.
- Click Select a role, then search for the role.
- To grant additional roles, click Add another role and add each additional role.
- Click Save.
-
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
-
Make sure that you have the following role or roles on the project: Storage Admin
Check for the roles
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
- For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.
Grant the roles
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
- Click Grant access.
-
In the New principals field, enter your user identifier. This is typically the email address for a Google Account.
- Click Select a role, then search for the role.
- To grant additional roles, click Add another role and add each additional role.
- Click Save.
-
הערכת המודל
כדי להעריך את המודל:
במסוף Google Cloud , נכנסים לדף הערכת AI גנרטיבי.
לוחצים על הערכה חדשה כדי לפתוח את דף ההערכה.
בוחרים מקור כדי לטעון קבוצת נתונים להערכה:
כדי להעלות קובץ CSV או JSONL מקומי, בוחרים באפשרות העלאת קובץ. מערך הנתונים חייב להכיל הנחיות או רשומות לשימוש בתבנית הנחיה, ואפשר גם להוסיף תגובות של המודל. אפשר להוסיף עד 200 שורות.
כדי ליצור פרומפטים מתבנית לפרומפט, לוחצים על יצירת נתונים. שירות ההערכה ל-AI גנרטיבי יוצר ומאכלס את המשתנים שהגדרתם בתבנית לפרומפט כשאתם יוצרים את מערך הנתונים. איך יוצרים תבניות לפרומפטים
מזינים את התבנית לפרומפט עם המשתנים בשדה תבנית לפרומפט.
כדי להוסיף תיאור לכל אחד מהמשתנים או כדי לציין את מספר הדגימות שרוצים ליצור, מרחיבים את הקטע Define variables and sample size.
לוחצים על יצירת מערך נתונים כדי ליצור הנחיות.
ליצור תשובות על סמך ההנחיות שלכם ולהעריך אותן:
בקטע Evaluation candidates, לוחצים על Add evaluation candidate. אם כבר יש מועמד, לוחצים על Edit כדי להגדיר את ההנחיות והתשובות שרוצים להעריך. לדוגמה, אתם יכולים לציין הנחיות או תשובות מהקובץ שהעליתם או מנתונים שנוצרו.
כדי להשוות בין כמה מועמדים, לוחצים על הוספת מועמד להשוואה.
בקטע Metrics, מוסיפים לפחות מדד אחד לדירוג האיכות של התשובות של המועמד. למידע נוסף על סוגי המדדים, קראו את הקטע מדדי הערכה בדף הסקירה הכללית של שירות ההערכה ל-AI גנרטיבי.
בחלק מהקריטריונים להערכה, אתם יכולים להרחיב את הקטע מתקדם ולתת הוראות ספציפיות, כמו
Evaluate the dataset on cultural sensitivity, כדי להנחות את המערכת איך ליצור את הקריטריונים להערכה מכל הנחיה.- בקטע Name and storage configuration, נותנים שם להערכה ובוחרים קטגוריה ב-Cloud Storage שבה יישמרו תוצאות ההערכה.
לוחצים על הערכה.
איך רואים את תוצאות הבדיקה
כדי לראות את תוצאות הבדיקה:
נכנסים לדף GenAI Evaluation במסוף Google Cloud .
לוחצים על שם ההערכה.
לכל הנחיה בקבוצת הנתונים להערכה, התגובה מוצגת יחד עם תוצאות ההערכה.
הערכת מודלים של שותפים
אתם יכולים להשתמש בשירות ההערכה ל-AI גנרטיבי כדי להעריך את המודלים הבאים של שותפים:
- Anthropic
- Llama
מודלים של שותפים נתמכים דרך Gemini Enterprise Agent Platform Model Garden. כדי לבחור מודל של שותף להערכה, צריך להפעיל אותו ב-Model Garden. כדי להעריך מודל של שותף, בוחרים אותו בתפריט לבחירת מודלים במהלך הגדרת ההערכה.
תמחור
התמחור של הערכת מודלים של צד שלישי מבוסס על החיובים שנצברו על הסקת מסקנות של מודלים ב-Gemini Enterprise Agent Platform Model Garden. ראו את הדף 'תמחור' עבור בינה מלאכותית גנרטיבית ב-Agent Platform.