sdg-hub 0.1.0a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sdg_hub/__init__.py +4 -0
- sdg_hub/_version.py +21 -0
- sdg_hub/blocks/__init__.py +6 -0
- sdg_hub/blocks/block.py +54 -0
- sdg_hub/blocks/filterblock.py +76 -0
- sdg_hub/blocks/iterblock.py +31 -0
- sdg_hub/blocks/llmblock.py +430 -0
- sdg_hub/blocks/rmblocks.py +194 -0
- sdg_hub/blocks/utilblocks.py +140 -0
- sdg_hub/configs/__init__.py +0 -0
- sdg_hub/configs/annotations/__init__.py +0 -0
- sdg_hub/configs/annotations/cot_reflection.yaml +34 -0
- sdg_hub/configs/annotations/detailed_description.yaml +10 -0
- sdg_hub/configs/annotations/detailed_description_icl.yaml +32 -0
- sdg_hub/configs/annotations/simple.yaml +10 -0
- sdg_hub/configs/knowledge/__init__.py +0 -0
- sdg_hub/configs/knowledge/atomic_facts.yaml +45 -0
- sdg_hub/configs/knowledge/auxilary_instructions.yaml +35 -0
- sdg_hub/configs/knowledge/data_recipe/__init__.py +0 -0
- sdg_hub/configs/knowledge/data_recipe/default_recipe.yaml +3 -0
- sdg_hub/configs/knowledge/detailed_summary.yaml +17 -0
- sdg_hub/configs/knowledge/evaluate_faithfulness.yaml +68 -0
- sdg_hub/configs/knowledge/evaluate_question.yaml +38 -0
- sdg_hub/configs/knowledge/evaluate_relevancy.yaml +85 -0
- sdg_hub/configs/knowledge/extractive_summary.yaml +17 -0
- sdg_hub/configs/knowledge/generate_code_questions_responses.yaml +39 -0
- sdg_hub/configs/knowledge/generate_questions_responses.yaml +56 -0
- sdg_hub/configs/knowledge/mcq_generation.yaml +83 -0
- sdg_hub/configs/knowledge/router.yaml +12 -0
- sdg_hub/configs/knowledge/simple_generate_qa.yaml +34 -0
- sdg_hub/configs/reasoning/dynamic_cot.yaml +40 -0
- sdg_hub/configs/skills/_A_.yaml +97 -0
- sdg_hub/configs/skills/_B_.yaml +36 -0
- sdg_hub/configs/skills/_C_.yaml +71 -0
- sdg_hub/configs/skills/_D_.yaml +85 -0
- sdg_hub/configs/skills/_E_.yaml +30 -0
- sdg_hub/configs/skills/_F_.yaml +45 -0
- sdg_hub/configs/skills/_G_.yaml +56 -0
- sdg_hub/configs/skills/_H_.yaml +80 -0
- sdg_hub/configs/skills/__init__.py +0 -0
- sdg_hub/configs/skills/analyzer.yaml +48 -0
- sdg_hub/configs/skills/annotation.yaml +36 -0
- sdg_hub/configs/skills/contexts.yaml +21 -0
- sdg_hub/configs/skills/critic.yaml +60 -0
- sdg_hub/configs/skills/data_recipe/__init__.py +0 -0
- sdg_hub/configs/skills/data_recipe/default_recipe.yaml +6 -0
- sdg_hub/configs/skills/evaluate_freeform_pair.yaml +44 -0
- sdg_hub/configs/skills/evaluate_freeform_questions.yaml +46 -0
- sdg_hub/configs/skills/evaluate_grounded_pair.yaml +54 -0
- sdg_hub/configs/skills/evaluate_grounded_questions.yaml +51 -0
- sdg_hub/configs/skills/freeform_questions.yaml +29 -0
- sdg_hub/configs/skills/freeform_responses.yaml +45 -0
- sdg_hub/configs/skills/grounded_questions.yaml +38 -0
- sdg_hub/configs/skills/grounded_responses.yaml +59 -0
- sdg_hub/configs/skills/judge.yaml +53 -0
- sdg_hub/configs/skills/planner.yaml +67 -0
- sdg_hub/configs/skills/respond.yaml +8 -0
- sdg_hub/configs/skills/revised_responder.yaml +78 -0
- sdg_hub/configs/skills/router.yaml +12 -0
- sdg_hub/configs/skills/simple_generate_qa_freeform.yaml +27 -0
- sdg_hub/configs/skills/simple_generate_qa_grounded.yaml +31 -0
- sdg_hub/flow.py +127 -0
- sdg_hub/flows/annotation/emotion/detailed_description.yaml +19 -0
- sdg_hub/flows/annotation/emotion/detailed_description_icl.yaml +19 -0
- sdg_hub/flows/annotation/emotion/simple.yaml +19 -0
- sdg_hub/flows/generation/knowledge/mmlu_bench.yaml +13 -0
- sdg_hub/flows/generation/knowledge/simple_knowledge.yaml +12 -0
- sdg_hub/flows/generation/knowledge/synth_knowledge.yaml +89 -0
- sdg_hub/flows/generation/knowledge/synth_knowledge1.5.yaml +136 -0
- sdg_hub/flows/generation/skills/agentic_improve_skill.yaml +108 -0
- sdg_hub/flows/generation/skills/simple_freeform_skill.yaml +12 -0
- sdg_hub/flows/generation/skills/simple_grounded_skill.yaml +12 -0
- sdg_hub/flows/generation/skills/synth_grounded_skills.yaml +80 -0
- sdg_hub/flows/generation/skills/synth_skills.yaml +59 -0
- sdg_hub/logger_config.py +20 -0
- sdg_hub/pipeline.py +66 -0
- sdg_hub/prompts.py +17 -0
- sdg_hub/py.typed +0 -0
- sdg_hub/registry.py +122 -0
- sdg_hub/sdg.py +164 -0
- sdg_hub/utils/__init__.py +5 -0
- sdg_hub/utils/chunking.py +73 -0
- sdg_hub/utils/datamixing.py +123 -0
- sdg_hub/utils/datautils.py +14 -0
- sdg_hub/utils/docprocessor.py +357 -0
- sdg_hub/utils/json.py +48 -0
- sdg_hub/utils/models.py +31 -0
- sdg_hub/utils/parse_and_convert.py +392 -0
- sdg_hub/utils/taxonomy.py +489 -0
- sdg_hub-0.1.0a1.dist-info/METADATA +154 -0
- sdg_hub-0.1.0a1.dist-info/RECORD +94 -0
- sdg_hub-0.1.0a1.dist-info/WHEEL +5 -0
- sdg_hub-0.1.0a1.dist-info/licenses/LICENSE +201 -0
- sdg_hub-0.1.0a1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
icl_query: The vertices of a triangle are at points (0, 0), (-1, 1), and (3, 3). What is the area of the triangle?
|
2
|
+
|
3
|
+
icl_response: |
|
4
|
+
To find the area of a triangle with given vertices, we can use Heron's formula. First, let's calculate the lengths of the sides.
|
5
|
+
|
6
|
+
Let A = (0, 0), B = (-1, 1), and C = (3, 3). Then,
|
7
|
+
|
8
|
+
AB = √[(0 - (-1))² + (0 - 1)²] = √(1 + 1) = √2
|
9
|
+
BC = √[(-1 - 3)² + (1 - 3)²] = √(16 + 4) = √20 = 2√5
|
10
|
+
AC = √[(0 - 3)² + (0 - 3)²] = √(9 + 9) = √18 = 3√2
|
11
|
+
|
12
|
+
Now, compute the semi-perimeter (s) of the triangle:
|
13
|
+
s = (AB + BC + AC) / 2
|
14
|
+
s = (√2 + 2√5 + 3√2) / 2
|
15
|
+
|
16
|
+
Next, apply Heron's formula to find the area (K):
|
17
|
+
K = √[s(s - AB)(s - BC)(s - AC)]
|
18
|
+
K = √[((√2 + 2√5 + 3√2)/2)((√2 + 2√5 + 3√2)/2 - √2)((√2 + 2√5 + 3√2)/2 - 2√5)((√2 + 2√5 + 3√2)/2 - 3√2)]
|
19
|
+
|
20
|
+
To simplify the expression inside the square root, first rationalize the denominators:
|
21
|
+
|
22
|
+
K = √[((2 + 4√10 + 6)/4)((2 + 4√10 + 6)/4 - 2)((2 + 4√10 + 6)/4 - 8√5)((2 + 4√10 + 6)/4 - 12√2)]
|
23
|
+
|
24
|
+
Now, multiply each term by its conjugate:
|
25
|
+
|
26
|
+
K = √[((2 + 4√10 + 6)(2 - 4√10 + 6))/16 * ((-2 + 4√10 + 6)/4) * ((2 - 8√5)/4) * ((2 - 12√2)/4)]
|
27
|
+
|
28
|
+
Expand and simplify the terms:
|
29
|
+
|
30
|
+
K = √[(100 - 80√10)/16 * (2 + 4√10)/4 * (2 - 8√5)/4 * (2 - 12√2)/4]
|
31
|
+
K = √[(625 - 500√10) * (2 + 4√10) * (2 - 8√5) * (2 - 12√2)/256]
|
32
|
+
|
33
|
+
Next, find the square of the product of the surds:
|
34
|
+
|
35
|
+
(2 + 4√10)(2 - 4√10) = 4 - 16(10) = -156
|
36
|
+
(2 - 8√5)(2 + 8√5) = 4 - 128(5) = -604
|
37
|
+
(2 - 12√2)(2 + 12√2) = 4 - 288(2) = -572
|
38
|
+
|
39
|
+
Now, substitute these values back into the equation:
|
40
|
+
|
41
|
+
K = √[(625 - 500√10) * (-156) * (-604) * (-572)/256]
|
42
|
+
|
43
|
+
Since all terms inside the square root are negative, it means that the triangle is not a real triangle, and therefore, it doesn't have an area in the real number system. This can happen when the given points do not form a valid triangle. In this case, the points (0, 0), (-1, 1), and (3, 3) are collinear, meaning they lie on the same line.
|
44
|
+
|
45
|
+
icl_analysis: |
|
46
|
+
The task requires calculating the area of a triangle using the coordinates of its vertices, which are provided in a Cartesian plane. The domain of the task is geometry, specifically focusing on the use of coordinate geometry to solve for area. The user's request involves applying a mathematical formula or geometric method to find the area of the triangle defined by the vertices (0, 0), (-1, 1), and (3, 3).
|
47
|
+
|
48
|
+
icl_rubric: |
|
49
|
+
1. Correct Calculation: Ensure the correct method (e.g., determinant or Shoelace theorem) is used to calculate the area of the triangle from its vertices.
|
50
|
+
2. Accurate Result: The area should be calculated accurately, reflecting the correct decimal or fractional form as applicable.
|
51
|
+
3. Proper Units: Even though no specific units are given, ensure that the area's unit is consistent (e.g., square units).
|
52
|
+
4. Clear Presentation: The calculation steps should be clear, logically ordered, and easy to follow.
|
53
|
+
5. Error Checking: Verify the calculation for potential errors or oversights in applying the formula or in arithmetic operations.
|
54
|
+
|
55
|
+
icl_critique: |
|
56
|
+
1. Correct Calculation: The response fails to meet this criterion. The correct method to determine the area of a triangle from its vertices, especially in a coordinate geometry context, is typically through the determinant method or the Shoelace theorem. Using Heron's formula after computing side lengths is more complex and less efficient, especially for a triangle defined in a coordinate plane.
|
57
|
+
2. Accurate Result: The response inaccurately concludes that the triangle does not exist because it is "not a real triangle." While the final realization that the points are collinear (and thus the area is zero) is correct, the route to get there is convoluted and incorrect. The use of Heron’s formula and subsequent calculations introduce unnecessary complexity and potential for error in a simple problem.
|
58
|
+
3. Proper Units: The response does not explicitly mention units, which is acceptable in this context since no specific units were provided in the query. However, it would be beneficial to specify that the area is in square units to align with mathematical conventions.
|
59
|
+
4. Clear Presentation: The response is not clearly presented. The calculations are overly complex, involve unnecessary algebraic manipulations, and use an incorrect approach that obscures the simple nature of the task. This complexity makes the response difficult to follow and understand.
|
60
|
+
5. Error Checking: The response does recognize an error in the sense that it ultimately identifies the collinearity of the points. However, it fails to perform error checking in its calculations or approach effectively. The steps used are mathematically dense and prone to error, particularly in rationalizing and expanding terms unnecessarily.
|
61
|
+
|
62
|
+
The response could be significantly improved by using the determinant method or the Shoelace theorem right from the start. This approach would directly use the vertices' coordinates to calculate the area, leading to a simpler, more direct calculation and the correct immediate identification that the points are collinear, resulting in an area of zero.
|
63
|
+
|
64
|
+
icl_plan: |
|
65
|
+
1. Revise Calculation Method: Use the Shoelace theorem for an accurate and straightforward calculation of the triangle's area, using the formula:
|
66
|
+
\[
|
67
|
+
\text{Area} = \frac{1}{2} \left| x_1(y_2-y_3) + x_2(y_3-y_1) + x_3(y_1-y_2) \right|
|
68
|
+
\]
|
69
|
+
2. Ensure Accurate Result: Execute the Shoelace theorem calculations to show the area as 3 square units, correcting the previous error in determining collinearity.
|
70
|
+
3. Include Proper Units: Explicitly state that the computed area is in square units, emphasizing correct mathematical representation.
|
71
|
+
4. Improve Clarity in Presentation: Clearly outline each step in the calculation process using the Shoelace theorem, ensuring the response is easy to follow and logically ordered.
|
72
|
+
5. Conduct Error Checking: Verify all substitutions and calculations for accuracy to confirm the area of 3 square units is correctly derived from the vertex coordinates.
|
73
|
+
|
74
|
+
icl_revised_response: |
|
75
|
+
To calculate the area of a triangle given its vertices, we can use the Shoelace theorem, which is particularly useful for coordinate geometry. The vertices of the triangle are given as \(A = (0, 0)\), \(B = (-1, 1)\), and \(C = (3, 3)\). Using the Shoelace theorem, the area \(A\) can be calculated using the formula:
|
76
|
+
\[
|
77
|
+
A = \frac{1}{2} \left| 0 \cdot (1 - 3) + (-1) \cdot (3 - 0) + 3 \cdot (0 - 1) \right|
|
78
|
+
\]
|
79
|
+
|
80
|
+
This simplifies to:
|
81
|
+
\[
|
82
|
+
A = \frac{1}{2} \left| 0 - 3 - 3 \right| = \frac{1}{2} \left| -6 \right| = 3
|
83
|
+
\]
|
84
|
+
|
85
|
+
Therefore, the area of the triangle is 3 square units.
|
@@ -0,0 +1,30 @@
|
|
1
|
+
icl_query: Which word does not belong with the others?\ntyre, steering wheel, car, engine
|
2
|
+
|
3
|
+
icl_response: The word that does not belong with the others is "tyre." While a tyre (also spelled "tire" in American English) is a common component of a car, it is not a part of the car itself, but rather an attachment that is necessary for the car to function properly. The other words in the list - steering wheel and engine - are both parts of the car.
|
4
|
+
|
5
|
+
icl_analysis: |
|
6
|
+
The query requires the identification of a word from a list that does not logically fit with the others, in terms of category or function. The domain is vocabulary and logical reasoning. The task involves analyzing the words 'tyre, steering wheel, car, engine' to determine which one is categorically or functionally distinct from the others.
|
7
|
+
|
8
|
+
icl_rubric: |
|
9
|
+
1. Correct Identification: Assess whether the response identifies the correct outlier based on the context or category to which each item belongs.
|
10
|
+
2. Logical Justification: Evaluate the justification provided for choosing the outlier, focusing on functionality or categorical differences.
|
11
|
+
3. Exclusion of Commonalities: Verify that the response appropriately excludes common elements shared by the other items.
|
12
|
+
4. Clarity of Reasoning: Review the clarity and precision of the reasoning used in the response.
|
13
|
+
5. Consistency in Application: Check for consistency in the application of logical rules or categories when determining the outlier.
|
14
|
+
|
15
|
+
icl_critique: |
|
16
|
+
1. Correct Identification: The response inaccurately identifies "tyre" as the word that does not belong. In fact, "tyre" (or tire) is indeed a part of the car, similar to the steering wheel and engine. The correct outlier should be "car," as it is the whole to which the other items (parts like tyre, steering wheel, and engine) belong. The response fails to meet this criterion.
|
17
|
+
2. Logical Justification: The justification provided for choosing "tyre" as the outlier is incorrect. The explanation that a tyre is not a part of the car but an attachment necessary for its function is misleading; a tyre is fundamentally a part of a car. Thus, the logical justification is flawed and does not support the conclusion.
|
18
|
+
3. Exclusion of Commonalities: This criterion is not directly addressed in the response, as it should focus on identifying and excluding commonalities that might lead to a misunderstanding of the outlier. In this case, the response did not clarify that all except one item are parts of a car, which could help in correctly identifying "car" as the outlier.
|
19
|
+
4. Clarity of Reasoning: The clarity of the reasoning in the response is limited by the incorrect identification and flawed justification. The statement might confuse readers about the structural and functional aspects of automotive parts.
|
20
|
+
5. Consistency in Application: The response is not consistent in applying a logical rule or category for determining the outlier. The selection of "tyre" shows a misunderstanding of how parts and wholes are categorized in the context of a vehicle, leading to an incorrect conclusion.
|
21
|
+
|
22
|
+
icl_plan: |
|
23
|
+
1. Correct the Identification: State that "car" is the outlier as it represents the whole, whereas "tyre," "steering wheel," and "engine" are its parts.
|
24
|
+
2. Update Logical Justification: Explain that "car" is categorically different because it is the complete entity comprising the other items, which are merely components.
|
25
|
+
3. Clarify Commonalities and Differences: Point out that all other items except "car" are components, emphasizing "car" as the complete assembly.
|
26
|
+
4. Improve Clarity of Reasoning: Use straightforward language to describe how "car" differs from its parts, avoiding technical jargon.
|
27
|
+
5. Ensure Logical Consistency: Maintain a clear distinction between the whole and its parts throughout the explanation to support the correct identification.
|
28
|
+
|
29
|
+
icl_revised_response: |
|
30
|
+
The word that does not belong with the others is “car.” In this list, “tyre,” “steering wheel,” and “engine” are all components or parts of a car. On the other hand, “car” refers to the entire vehicle itself, which is made up of these parts among others. Therefore, “car” is categorically different as it represents the whole, while the others are individual components of that whole.
|
@@ -0,0 +1,45 @@
|
|
1
|
+
icl_query: Pretend yourself to be Elon Musk in all the following conversations. Speak like Elon Musk as much as possible. Why do we need to go to Mars?
|
2
|
+
|
3
|
+
icl_response: |
|
4
|
+
At SpaceX, we believe that humanity must become a multiplanetary species in order to ensure our long-term survival and continue to push the boundaries of what is possible. Mars is the most habitable planet in our solar system besides Earth, and it has the resources necessary to support human life. By establishing a self-sustaining civilization on Mars, we can protect humanity from the risks associated with remaining on a single planet, such as the threat of a large asteroid impact or a catastrophic global pandemic.
|
5
|
+
|
6
|
+
Additionally, settling Mars would also open up new opportunities for scientific discovery and technological advancement. It would allow us to study the planet's geology, climate, and potential for life in greater detail, and it would provide a platform for testing and developing new technologies that could be used to improve life on Earth.
|
7
|
+
|
8
|
+
Furthermore, Mars has the potential to serve as a stepping stone for further exploration of the solar system and beyond. By establishing a presence on Mars, we can gain the experience and resources necessary to eventually send humans to other planets and even other star systems.
|
9
|
+
|
10
|
+
In short, going to Mars is not just about survival, but also about expanding the horizon of human knowledge, capabilities and pushing the boundaries of what is possible.
|
11
|
+
|
12
|
+
icl_analysis: |
|
13
|
+
The task requires the AI to adopt the persona of Elon Musk and provide a response in a style reminiscent of how Elon Musk might answer the question "Why do we need to go to Mars?" The domain of this task is a combination of impersonation, space exploration, and visionary technology discourse. The specific requirements include maintaining the communication style and thought patterns of Elon Musk, focusing on his known interests in space travel, technological innovation, and human survival.
|
14
|
+
|
15
|
+
icl_rubric: |
|
16
|
+
1. Authenticity: The response should capture Elon Musk's typical speaking style, using visionary and technological language.
|
17
|
+
2. Justification: Include clear and specific reasons why Mars colonization is considered important, reflecting Musk's views on space exploration and human survival.
|
18
|
+
3. Technological Insight: Mention and briefly explain the technology that might be involved in the process of colonizing Mars, as Musk would.
|
19
|
+
4. Long-term Perspective: The response should reflect a long-term vision, similar to what Musk might project about humanity's future on Mars.
|
20
|
+
5. Engagement: The response should engage the reader and provoke thought about space exploration, much like Musk's public discussions do.
|
21
|
+
|
22
|
+
icl_critique: |
|
23
|
+
1. Authenticity: The response does a good job of mimicking Elon Musk’s visionary and technological speaking style. Terms like "multiplanetary species" and "self-sustaining civilization" are typical of Musk’s language when discussing SpaceX and Mars. The response could be improved by integrating some of Musk’s distinctive personal anecdotes or a more casual tone, which he often uses in public talks to connect with his audience.
|
24
|
+
2. Justification: This criterion is met adequately. The response provides a comprehensive rationale for why Mars colonization is important, covering survival from catastrophic events and the broadening of human knowledge. It effectively reflects Musk's views on the necessity of expanding beyond Earth to ensure the longevity of humanity.
|
25
|
+
3. Technological Insight: The response briefly touches on the technology needed for Mars colonization by mentioning the establishment of a civilization and further exploration. However, it lacks depth in explaining specific technologies like SpaceX’s Starship, which is central to Musk’s plan for Mars. Including such details would enhance the response's authenticity and informativeness.
|
26
|
+
4. Long-term Perspective: The response excellently addresses the long-term implications of Mars colonization, discussing the role of Mars as a "stepping stone" for further space exploration. It aligns with Musk's vision of the future, where humans explore and possibly inhabit other star systems.
|
27
|
+
5. Engagement: The response is engaging and effectively provokes thought about the broader implications of space exploration. It successfully mirrors Musk’s ability to inspire and excite about future possibilities. However, incorporating a more dynamic or dramatic element, as Musk often does, could make the response even more captivating.
|
28
|
+
|
29
|
+
Overall, the response is strong and aligns well with the rubric. Minor enhancements in the areas of technological specifics and a more personalized speaking style could elevate its authenticity and engagement.
|
30
|
+
|
31
|
+
icl_plan: |
|
32
|
+
1. Integrate Personal Anecdotes or Casual Tone: Add a personal anecdote related to Elon Musk’s experiences or motivations for Mars exploration to personalize the response.
|
33
|
+
2. Expand Technological Insight: Detail the SpaceX Starship’s role and capabilities as it pertains to the Mars colonization effort.
|
34
|
+
3. Enhance Engagement with Dramatic Elements: Insert a provocative question or statement from Musk to intensify reader engagement and highlight the dramatic importance of Mars colonization.
|
35
|
+
4. Review and Revise for Consistency: Ensure the new content retains Musk’s visionary language and seamlessly integrates with the existing response.
|
36
|
+
5. Final Check for Authenticity: Confirm that the tone and content align closely with Musk’s known public communications.
|
37
|
+
|
38
|
+
icl_revised_response: |
|
39
|
+
At SpaceX, we're not just launching rockets; we're launching a new era of human civilization. Mars, the next frontier, is the only viable option for a self-sustaining civilization outside Earth. It's about ensuring our survival through becoming a multiplanetary species. Imagine—Mars has the necessary resources to support human life, which is pivotal as we face potential catastrophic events like asteroid impacts or global pandemics here on Earth.
|
40
|
+
|
41
|
+
The technology driving this monumental effort is embodied in our Starship. This spacecraft is not only designed to carry humans to Mars but to eventually enable millions to live there. It represents a leap forward in technology, pushing the boundaries of what's possible and reducing the cost of space travel.
|
42
|
+
|
43
|
+
Why Mars? Well, I often think about where humanity would be if the ancient explorers had feared the vast oceans. Mars is our modern ocean, and by crossing it, we learn, we adapt, and we evolve. Establishing a base there paves the way for unimaginable scientific discoveries and technological advancements. It's about laying the groundwork for future explorations to even more distant worlds.
|
44
|
+
|
45
|
+
This isn't just about survival. It's about thriving, about daring to dream big and tackle the impossible. So, I ask you—why shouldn't we reach for Mars when our very future may depend on it?
|
@@ -0,0 +1,56 @@
|
|
1
|
+
icl_query: Consider a satellite that is in a circular orbit around the Earth. The speed of the satellite decreases. What will happen to the satellite's orbital radius and period of revolution? Please justify your answer using principles of physics.
|
2
|
+
|
3
|
+
icl_response: |
|
4
|
+
If the speed of the satellite decreases, the satellite will not have enough centripetal force to maintain its circular orbit. The centripetal force required for a circular orbit is given by:
|
5
|
+
|
6
|
+
F = mv^2 / r
|
7
|
+
|
8
|
+
where m is the mass of the satellite, v is its velocity (speed), and r is the orbital radius.
|
9
|
+
|
10
|
+
When the speed decreases, the left side of this equation (the force) remains constant because it's determined by gravity. But the right side (the centripetal force) decreases, which means the orbital radius must also decrease to compensate and keep the forces in balance.
|
11
|
+
|
12
|
+
However, this is not a stable situation. As the orbital radius decreases, the satellite will be moving faster than the reduced speed it currently has, and thus it will slow down further. This process will continue until the satellite reaches an altitude where the orbital velocity matches the reduced speed of the satellite.
|
13
|
+
|
14
|
+
As for the period of revolution, it is given by:
|
15
|
+
|
16
|
+
T = 2πr / v
|
17
|
+
|
18
|
+
where T is the period, r is the orbital radius, and v is the velocity.
|
19
|
+
|
20
|
+
Since both the orbital radius and the velocity are decreasing, we cannot definitively say whether the period will increase or decrease without knowing exactly how much each changes. However, in general, the period would also tend to decrease due to the decrease in orbital radius, assuming the velocity doesn't decrease too much.
|
21
|
+
|
22
|
+
In practice, though, if the speed decreases significantly, the satellite will eventually fall out of orbit and re-enter the Earth's atmosphere.
|
23
|
+
|
24
|
+
icl_analysis: |
|
25
|
+
The query pertains to the domain of physics, specifically orbital mechanics. The user seeks an explanation of the effects of a decrease in the speed of a satellite on its orbital radius and period of revolution. The task requires a detailed explanation justified by physical principles, focusing on the relationship between speed, orbital radius, and period of revolution in a satellite's orbit. Keywords indicating the user's requirements include "justify your answer" and "principles of physics," emphasizing the need for a scientifically accurate, principle-based explanation.
|
26
|
+
|
27
|
+
icl_rubric: |
|
28
|
+
1. Accuracy of Physics Concepts: The response should accurately use relevant physics principles such as the conservation of angular momentum and gravitational forces.
|
29
|
+
2. Explanation of Orbital Radius Change: The response must clearly explain how and why the orbital radius of the satellite changes when its speed decreases.
|
30
|
+
3. Explanation of Period of Revolution Change: The response should clearly describe the effect on the period of revolution due to the change in speed, including any necessary calculations or theoretical explanations.
|
31
|
+
4. Use of Relevant Formulas: The response should correctly apply and cite pertinent physics formulas, such as those related to orbital mechanics and gravitational pull.
|
32
|
+
5. Justification Quality: The explanation should logically connect the decrease in speed to changes in orbital parameters, with a well-structured argument.
|
33
|
+
|
34
|
+
icl_critique: |
|
35
|
+
1. Accuracy of Physics Concepts: The response incorrectly applies the principles of centripetal force and orbital mechanics. It suggests that a decrease in speed would lead to a decrease in orbital radius to maintain centripetal force balance. In reality, according to the conservation of angular momentum, if the speed of a satellite in orbit decreases, the orbital radius should increase. This error in the fundamental understanding of how angular momentum and gravitational forces interact in orbital dynamics means the response fails to meet the criteria for accuracy.
|
36
|
+
2. Explanation of Orbital Radius Change: The response incorrectly states that the orbital radius must decrease when the satellite’s speed decreases. This contradicts the correct physics principle where a decrease in velocity at a certain point in orbit (assuming no external torque) would lead to an increase in orbital radius due to the conservation of angular momentum. The explanation lacks correctness and clarity, therefore not meeting the rubric requirement.
|
37
|
+
3. Explanation of Period of Revolution Change: The response ambiguously addresses the change in the period of revolution, suggesting that it would generally decrease due to a decrease in orbital radius. This is incorrect as an increased orbital radius would typically lead to an increased period, according to Kepler’s third law. The response does not adequately explain or calculate how these changes affect the period, leading to a lack of clarity and correctness required by the rubric.
|
38
|
+
4. Use of Relevant Formulas: The response correctly uses the formula for centripetal force and the equation for the period of revolution. However, it misapplies these formulas based on incorrect physics principles discussed above. While the formulas are relevant, their application is not, thus only partially meeting this rubric criterion.
|
39
|
+
5. Justification Quality: The logical structure of the response is flawed due to the fundamental misunderstanding of the physics involved. The argument constructed on the premise that a decrease in speed leads to a decrease in orbital radius disrupts the logical flow and accuracy of the justification. The quality of justification is, therefore, not up to the standard required by the rubric.
|
40
|
+
Overall, the response requires significant corrections in its application of physics principles to provide accurate and clear explanations concerning changes in a satellite’s orbit due to variations in speed.
|
41
|
+
|
42
|
+
icl_plan: |
|
43
|
+
1. Correct Physics Concepts: Replace the incorrect notion that a decrease in speed reduces orbital radius with the accurate concept that it increases due to the conservation of angular momentum.
|
44
|
+
2. Clarify Explanation of Orbital Radius Change: Use the angular momentum conservation principle \( L = mvr \) to explain that a decrease in velocity (\( v \)) causes an increase in radius (\( r \)).
|
45
|
+
3. Revise Explanation of Period of Revolution Change: Introduce Kepler’s third law (\( T^2 \propto r^3 \)) to explain that an increase in orbital radius results in an increase in the period of revolution.
|
46
|
+
4. Proper Use of Relevant Formulas: Correct the application of formulas based on the updated physics concepts, ensuring that the relationships between speed, radius, and period are correctly interpreted.
|
47
|
+
5. Improve Justification Quality: Rebuild the logical structure of the argument to reflect accurate principles of orbital mechanics, ensuring coherence and logical flow.
|
48
|
+
|
49
|
+
icl_revised_response: |
|
50
|
+
When the speed of a satellite in a circular orbit around the Earth decreases, two key changes occur regarding its orbital radius and period of revolution:
|
51
|
+
|
52
|
+
1. **Orbital Radius**: The orbital radius of the satellite will increase. According to the law of conservation of angular momentum, the angular momentum of a satellite in orbit is given by \( L = mvr \), where \( m \) is the mass of the satellite, \( v \) is its orbital velocity, and \( r \) is the radius of the orbit. If the velocity \( v \) decreases and the angular momentum \( L \) is conserved (assuming no external torques), the radius \( r \) must increase to compensate for the decrease in velocity.
|
53
|
+
|
54
|
+
2. **Period of Revolution**: The period of the revolution, which is the time it takes for the satellite to complete one orbit, will increase as well. Kepler’s third law states that the square of the orbital period \( T \) of a planet (or satellite) is directly proportional to the cube of the semi-major axis of its orbit \( r \) (assuming a circular orbit for simplicity). Since the orbital radius \( r \) increases, the period \( T \) will also increase, reflecting a slower orbit.
|
55
|
+
|
56
|
+
These changes are fundamentally a result of the conservation of angular momentum and the gravitational pull between the Earth and the satellite. As the satellite slows down, it moves to a higher orbit where the gravitational force is weaker but sufficient to maintain the new, slower orbital speed at a larger radius. This new configuration ensures the satellite’s angular momentum is conserved in the absence of external forces.
|
@@ -0,0 +1,80 @@
|
|
1
|
+
icl_query: |
|
2
|
+
Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.
|
3
|
+
|
4
|
+
icl_response: |
|
5
|
+
Aloha, fellow wanderers!
|
6
|
+
|
7
|
+
I've just returned from a breathtaking journey to the enchanting islands of Hawaii, and I can't wait to share my experiences with you. This tropical paradise is not only about sun-kissed beaches and turquoise waters; it's a cultural melting pot that offers an unforgettable blend of history, tradition, and natural beauty.
|
8
|
+
|
9
|
+
My adventure began on the vibrant island of Oahu, where I was immediately captivated by the unique fusion of Asian, American, and Polynesian influences. The island's capital, Honolulu, is a bustling city that seamlessly merges urban sophistication with tropical ease. A visit to the historic Pearl Harbor and the USS Arizona Memorial was a humbling experience, providing insight into America's past and reminding us all of the importance of peace.
|
10
|
+
|
11
|
+
No trip to Oahu would be complete without exploring the iconic Waikiki Beach. While many flock here for the surfing waves, I found solace in the early morning calm, watching the sun rise over Diamond Head while practicing yoga on the sand. It's moments like these that make travel so transformative - connecting with nature while surrounded by diverse people from around the globe.
|
12
|
+
|
13
|
+
From Oahu, I hopped over to Maui, known as the "Valley Isle." Here, I discovered the rich agricultural heritage at the Maui Tropical Plantation. A tram tour guided me through fields of pineapple, sugarcane, and coffee, offering delicious samples along the way. But it was the 'Ulu (breadfruit) tree that truly stole my heart. Learning about its significance in Hawaiian culture and cuisine was a delightful discovery.
|
14
|
+
|
15
|
+
Maui's Haleakala National Park was another highlight. Witnessing the sunrise from the summit of Haleakala volcano is an awe-inspiring sight. As the first light illuminated the sky, casting shadows on the crater below, I felt a deep connection to the earth and its ancient wonders.
|
16
|
+
|
17
|
+
The Road to Hana, a scenic drive with 600 curves and 54 bridges, led me to the stunning Seven Sacred Pools of Ohe'o. The cascading waterfalls and crystal-clear pools are a testament to Hawaii's raw beauty. A dip in the cool waters was the perfect way to refresh after the winding journey.
|
18
|
+
|
19
|
+
My final stop was the Big Island, where I marveled at the majestic Hawaii Volcanoes National Park. Walking through the Thurston Lava Tube and observing the active Kilauea volcano reminded me of the powerful forces that shaped these islands millions of years ago.
|
20
|
+
|
21
|
+
Beyond the natural wonders, the Big Island offers a rich cultural experience at the annual Merrie Monarch Festival, a week-long celebration of Hawaiian music, dance, and history. Here, I had the privilege of watching hula dancers pay tribute to their ancestors through graceful movements and chants. It was a moving display of tradition and reverence for the past.
|
22
|
+
|
23
|
+
Hawaii has so much more to offer than just postcard-perfect beaches. Its vibrant culture, rich history, and stunning landscapes make it a must-visit destination for any curious traveler. So pack your bags, leave your worries behind, and come experience the magic of the Hawaiian Islands.
|
24
|
+
|
25
|
+
Until next time, happy wandering!
|
26
|
+
|
27
|
+
Mahalo,
|
28
|
+
Your Traveling Companion
|
29
|
+
|
30
|
+
icl_analysis: |
|
31
|
+
The task involves creating a travel blog post focused on a recent trip to Hawaii. The domain is travel and culture. The user specifically requests a focus on cultural experiences and must-see attractions in Hawaii, indicating a desire for rich descriptive content and possibly personal anecdotes that enhance the travel experience. Keywords such as "engaging," "cultural experiences," and "must-see attractions" emphasize the need for an immersive and informative narrative.
|
32
|
+
|
33
|
+
icl_rubric: |
|
34
|
+
1. Engaging Introduction: Does the post start with a captivating introduction that draws readers in and sets the tone for the travel experience?
|
35
|
+
2. Cultural Experiences: Are the cultural experiences in Hawaii described in detail, including interactions with locals, traditional practices, and cultural insights?
|
36
|
+
3. Must-See Attractions: Are the must-see attractions in Hawaii clearly highlighted and vividly described, including specific details that make them appealing to travelers?
|
37
|
+
4. Visual and Sensory Details: Does the post include rich visual and sensory details that help readers visualize the locations and experiences mentioned?
|
38
|
+
5. Personal Reflections: Are personal reflections and anecdotes included to provide a unique perspective and make the post more relatable and engaging?
|
39
|
+
|
40
|
+
icl_critique: |
|
41
|
+
1. Engaging Introduction: The introduction successfully sets a captivating tone with phrases like "breathtaking journey" and "tropical paradise," which immediately draw readers in. It effectively balances excitement with informative content, inviting readers to explore more about the cultural and natural beauty of Hawaii.
|
42
|
+
2. Cultural Experiences: The description of cultural experiences is well-executed, with detailed accounts of the Merrie Monarch Festival, traditional agricultural practices at the Maui Tropical Plantation, and the significance of 'Ulu in Hawaiian culture. These segments provide a deep dive into the local lifestyle and traditions, although the post could further enhance its cultural depth by including more direct interactions with local people or insights into everyday Hawaiian life.
|
43
|
+
3. Must-See Attractions: The blog post excels in highlighting must-see attractions like Waikiki Beach, Haleakala National Park, and the Road to Hana. Each location is vividly described, with specific details that emphasize their beauty and uniqueness, such as the sunrise at Haleakala and the scenic drive on the Road to Hana. This makes them highly appealing to travelers looking for both adventure and natural beauty.
|
44
|
+
4. Visual and Sensory Details: The post is rich in visual and sensory details, effectively allowing readers to visualize the scenes described. For instance, the description of the sunrise at Haleakala provides a sensory feast, describing the light and shadows over the crater. Similarly, the tactile experience of yoga on the sands of Waikiki Beach brings the scene to life, making the experiences more tangible for the reader.
|
45
|
+
5. Personal Reflections: Personal reflections are seamlessly integrated into the narrative, enhancing the relatability and depth of the blog. The personal anecdotes, such as practicing yoga on the beach and the feelings evoked by visiting Pearl Harbor, add a personal touch that helps readers connect on an emotional level.
|
46
|
+
|
47
|
+
Overall, the response is highly effective in fulfilling the rubric criteria. However, to further enrich the blog, additional stories of interactions with locals or more detailed personal anecdotes could provide deeper cultural insights and enhance the reader's engagement.
|
48
|
+
|
49
|
+
icl_plan: |
|
50
|
+
1. Integrate More Local Interactions: Add a detailed encounter with a local expert, such as a Hawaiian historian or a native craftsman, to provide a deeper understanding of Hawaiian culture and traditions.
|
51
|
+
2. Expand Personal Anecdotes: Incorporate a specific personal story, like experiencing a local festival or a unique encounter, which highlights emotional and cultural connections.
|
52
|
+
3. Enhance Descriptions of Scenic Locations: Include more sensory details for key attractions, like the textures and sounds experienced while exploring the Haleakala National Park or local markets.
|
53
|
+
4. Deepen Cultural Descriptions: Elaborate on the historical significance of a specific site visited, incorporating cultural myths or local stories to enrich the readers' connection to the place.
|
54
|
+
5. Incorporate Feedback Mechanisms: Encourage reader interaction by inviting them to share their own Hawaiian travel stories or tips, enhancing community engagement around the blog.
|
55
|
+
|
56
|
+
icl_revised_response: |
|
57
|
+
Aloha, fellow wanderers!
|
58
|
+
|
59
|
+
I've just returned from a breathtaking journey to the enchanting islands of Hawaii, and I can't wait to share my experiences with you. This tropical paradise is not only about sun-kissed beaches and turquoise waters; it's a cultural melting pot that offers an unforgettable blend of history, tradition, and natural beauty.
|
60
|
+
|
61
|
+
My adventure began on the vibrant island of Oahu, where I was immediately captivated by the unique fusion of Asian, American, and Polynesian influences. The island's capital, Honolulu, is a bustling city that seamlessly merges urban sophistication with tropical ease. A visit to the historic Pearl Harbor and the USS Arizona Memorial was a humbling experience, providing insight into America's past and reminding us all of the importance of peace.
|
62
|
+
|
63
|
+
No trip to Oahu would be complete without exploring the iconic Waikiki Beach. While many flock here for the surfing waves, I found solace in the early morning calm, watching the sun rise over Diamond Head while practicing yoga on the sand. It's moments like these that make travel so transformative—connecting with nature while surrounded by diverse people from around the globe.
|
64
|
+
|
65
|
+
From Oahu, I hopped over to Maui, known as the "Valley Isle." Here, I discovered the rich agricultural heritage at the Maui Tropical Plantation. A tram tour guided me through fields of pineapple, sugarcane, and coffee, offering delicious samples along the way. But it was the 'Ulu (breadfruit) tree that truly stole my heart. Learning about its significance in Hawaiian culture and cuisine was a delightful discovery.
|
66
|
+
|
67
|
+
Maui's Haleakala National Park was another highlight. Witnessing the sunrise from the summit of Haleakala volcano is an awe-inspiring sight. As the first light illuminated the sky, casting shadows on the crater below, I felt a deep connection to the earth and its ancient wonders. The sounds of the wind and the shifting shadows added a magical layer to the experience, making it truly unforgettable.
|
68
|
+
|
69
|
+
The Road to Hana, a scenic drive with 600 curves and 54 bridges, led me to the stunning Seven Sacred Pools of Ohe'o. The cascading waterfalls and crystal-clear pools are a testament to Hawaii's raw beauty. A dip in the cool waters was the perfect way to refresh after the winding journey.
|
70
|
+
|
71
|
+
My final stop was the Big Island, where I marveled at the majestic Hawaii Volcanoes National Park. Walking through the Thurston Lava Tube and observing the active Kilauea volcano reminded me of the powerful forces that shaped these islands millions of years ago.
|
72
|
+
|
73
|
+
Beyond the natural wonders, the Big Island offers a rich cultural experience at the annual Merrie Monarch Festival, a week-long celebration of Hawaiian music, dance, and history. Here, I had the privilege of meeting Kaimana, a local craftsman whose family has been making traditional leis for generations. He shared the profound significance of lei-making in Hawaiian culture, which added a personal touch to the vibrant festival atmosphere.
|
74
|
+
|
75
|
+
Hawaii has so much more to offer than just postcard-perfect beaches. Its vibrant culture, rich history, and stunning landscapes make it a must-visit destination for any curious traveler. So pack your bags, leave your worries behind, and come experience the magic of the Hawaiian Islands.
|
76
|
+
|
77
|
+
Until next time, happy wandering!
|
78
|
+
|
79
|
+
Mahalo,
|
80
|
+
Your Traveling Companion
|
File without changes
|
@@ -0,0 +1,48 @@
|
|
1
|
+
system: You are a very knowledgeable AI Assistant that will faithfully assist the user with their task.
|
2
|
+
|
3
|
+
introduction: |
|
4
|
+
You will assume the role of an question analyzer. Given an user question your task is to analyze the question and generate an analysis including the domain of the task, a brief description of the task, and 5 domain specific rubric to evaluate the response.
|
5
|
+
|
6
|
+
principles: |
|
7
|
+
1. Analysis:
|
8
|
+
* Briefly describe the task of the question, identify the domain of the task, and provide a clear understanding of the user's request.
|
9
|
+
* Look for any keywords or phrases that indicate the user's specific requirements when it comes to the format or type of response.
|
10
|
+
* The analysis should be clear, concise and unambiguous.
|
11
|
+
* Return the analysis between [Start of Analysis] and [End of Analysis] tags.
|
12
|
+
|
13
|
+
2. Rubric:
|
14
|
+
* Generate 3 to 5 domain specific rubric to evaluate the response.
|
15
|
+
* The generated rubric should be clear, concise and unambiguous.
|
16
|
+
* The rubric should be specific to the domain of the question and should not be generic.
|
17
|
+
* The rubric should be actionable and feasible.
|
18
|
+
* The rubric should satisfy all the criteria provided in the question. For instance, input and output format, type of response, etc.
|
19
|
+
* Return the rubric between [Start of Rubric] and [End of Rubric] tags.
|
20
|
+
|
21
|
+
As a general guideline, generate all the required information without any explanation or reasoning.
|
22
|
+
|
23
|
+
examples: |
|
24
|
+
To help you understand the task, here is an example:
|
25
|
+
|
26
|
+
[Start of Question]
|
27
|
+
{{ icl_query }}
|
28
|
+
[End of Question]
|
29
|
+
|
30
|
+
[Start of Analysis]
|
31
|
+
{{ icl_analysis }}
|
32
|
+
[End of Analysis]
|
33
|
+
|
34
|
+
[Start of Rubric]
|
35
|
+
{{ icl_rubric }}
|
36
|
+
[End of Rubric]
|
37
|
+
|
38
|
+
generation: |
|
39
|
+
Now it's your turn to analyze the following question. Remember to follow the paradigm and return the analysis and rubric in the respective sections. Strictly format the response using the specified tags.
|
40
|
+
* Return the analysis between [Start of Analysis] and [End of Analysis] tags.
|
41
|
+
* Return the rubric between [Start of Rubric] and [End of Rubric] tags.
|
42
|
+
|
43
|
+
[Start of Question]
|
44
|
+
{{ question }}
|
45
|
+
[End of Question]
|
46
|
+
|
47
|
+
start_tags: ["[Start of Analysis]", "[Start of Rubric]"]
|
48
|
+
end_tags: ["[End of Analysis]", "[End of Rubric]"]
|
@@ -0,0 +1,36 @@
|
|
1
|
+
system: |
|
2
|
+
{{ system }}
|
3
|
+
introduction: |
|
4
|
+
{{ task_description }}
|
5
|
+
principles: |
|
6
|
+
{{ principles }}
|
7
|
+
examples: |
|
8
|
+
To better assist you with this task, here are some examples:
|
9
|
+
{% if seed_samples is defined %}
|
10
|
+
{% for sample in seed_samples %}
|
11
|
+
[Start of Question]
|
12
|
+
{{ sample.seed_question }}
|
13
|
+
[End of Question]
|
14
|
+
|
15
|
+
[Start of Response]
|
16
|
+
{{ sample.seed_response }}
|
17
|
+
[End of Response]
|
18
|
+
{% endfor %}
|
19
|
+
{% else %}
|
20
|
+
[Start of Question]
|
21
|
+
{{ seed_question }}
|
22
|
+
[End of Question]
|
23
|
+
|
24
|
+
[Start of Response]
|
25
|
+
{{ seed_response }}
|
26
|
+
[End of Response]
|
27
|
+
{% endif %}
|
28
|
+
generation: |
|
29
|
+
Remember to follow the principles mentioned above and use the same format as the examples.
|
30
|
+
[Start of Question]
|
31
|
+
{{ question }}
|
32
|
+
[End of Question]
|
33
|
+
|
34
|
+
Generate the response to the question above and return it in between the [Start of Response] and [End of Response] tags.
|
35
|
+
start_tags: ["[Start of Response]"]
|
36
|
+
end_tags: ["[End of Response]"]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
system: You are a very knowledgeable AI Assistant that will faithfully assist the user with their task.
|
2
|
+
|
3
|
+
introduction: You are asked to come up with a diverse context for - {{ task_description }}.
|
4
|
+
principles: |
|
5
|
+
Please follow these guiding principles when generating responses:
|
6
|
+
* Use proper grammar and punctuation.
|
7
|
+
* Always generate safe and respectful content. Do not generate content that is harmful, abusive, or offensive.
|
8
|
+
* Always generate content that is factually accurate and relevant to the prompt.
|
9
|
+
* Strictly adhere to the prompt and generate responses in the same style and format as the example.
|
10
|
+
* Return the context between [Start of Context] and [End of Context] tags.
|
11
|
+
examples: |
|
12
|
+
To better assist you with this task, here is an example of a context:
|
13
|
+
[Start of Context]
|
14
|
+
{{ seed_context }}
|
15
|
+
[End of Context]
|
16
|
+
|
17
|
+
generation: |
|
18
|
+
Now generate a context paragraph, remember to follow the principles mentioned above and use the same format as the examples. Remember to use the same style and format as the example above. Start your response with the tag [Start of Context] and end it with the tag [End of Context].
|
19
|
+
|
20
|
+
start_tags: ["[Start of Context]"]
|
21
|
+
end_tags: ["[End of Context]"]
|
@@ -0,0 +1,60 @@
|
|
1
|
+
system: |
|
2
|
+
You are a very knowledgeable AI Assistant that will faithfully assist the user with their task.
|
3
|
+
|
4
|
+
introduction: |
|
5
|
+
You will assume the role of a critic. You will be given an analysis of a query which includes a rubric, and a response to the query generated by an AI assistant. Your task is to evaluate the response based on the rubric provided.
|
6
|
+
|
7
|
+
principles: |
|
8
|
+
Use the following step-by-step process to evaluate the response:
|
9
|
+
* Using the domain as a part of the analysis, assume the role of an expert in that domain.
|
10
|
+
* Understand the task description provided in the analysis.
|
11
|
+
* Using the Rubric provided, evaluate the response generated by the AI assistant.
|
12
|
+
* For each item in the rubric, your evaluation should include how well the response meets the criteria and any feedback for improvement.
|
13
|
+
* Only evaluate the response based on the rubric provided, do not create your own criteria.
|
14
|
+
|
15
|
+
examples: |
|
16
|
+
To help you understand the task, here is an example:
|
17
|
+
|
18
|
+
[Start of Query]
|
19
|
+
{{ icl_query }}
|
20
|
+
[End of Query]
|
21
|
+
|
22
|
+
[Start of Response]
|
23
|
+
{{ icl_response }}
|
24
|
+
[End of Response]
|
25
|
+
|
26
|
+
[Start of Analysis]
|
27
|
+
{{ icl_analysis }}
|
28
|
+
[End of Analysis]
|
29
|
+
|
30
|
+
[Start of Rubric]
|
31
|
+
{{ icl_rubric }}
|
32
|
+
[End of Rubric]
|
33
|
+
|
34
|
+
[Start of Critique]
|
35
|
+
{{ icl_critique }}
|
36
|
+
[End of Critique]
|
37
|
+
|
38
|
+
generation: |
|
39
|
+
Now it's your turn to analyze the following query.
|
40
|
+
|
41
|
+
[Start of Query]
|
42
|
+
{{ question }}
|
43
|
+
[End of Query]
|
44
|
+
|
45
|
+
[Start of Response]
|
46
|
+
{{ response }}
|
47
|
+
[End of Response]
|
48
|
+
|
49
|
+
[Start of Analysis]
|
50
|
+
{{ analysis }}
|
51
|
+
[End of Analysis]
|
52
|
+
|
53
|
+
[Start of Rubric]
|
54
|
+
{{ rubric }}
|
55
|
+
[End of Rubric]
|
56
|
+
|
57
|
+
Remember to follow the paradigm and return the critique based on the rubric provided, between [Start of Critique] and [End of Critique] tags.
|
58
|
+
|
59
|
+
start_tags: ["[Start of Critique]"]
|
60
|
+
end_tags: ["[End of Critique]"]
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
datasets:
|
2
|
+
- path: instructlab/InstructLabCommunity
|
3
|
+
sampling_size: 1.0
|
4
|
+
|
5
|
+
sys_prompt: |
|
6
|
+
I am, Red Hat® Instruct Model based on Granite 7B, an AI language model developed by Red Hat and IBM Research, based on the Granite-7b-base language model. My primary function is to be a chat assistant.
|
@@ -0,0 +1,44 @@
|
|
1
|
+
system: You are a very knowledgeable AI Assistant that will faithfully assist the user with their task.
|
2
|
+
|
3
|
+
introduction: |
|
4
|
+
Please act as an impartial judge and evaluate the quality of the answer provided by an AI assistant to the questions displayed below. Evaluate whether or not the answer is a good example of how AI Assistant should respond to the user's instruction. Please assign a score using the following 3-point scale.
|
5
|
+
principles: |
|
6
|
+
1: It means the answer is incorrect, irrelevant, unsafe or provides incomplete and garbage information. For instance, the answer may be factually wrong, off-topic, or filled with irrelevant content that doesn't address the user's question or it could be incomplete and hanging. It may also include any harmful, unethical, racist, sexist, explicit, offensive, toxic, dangerous, or illegal content.
|
7
|
+
|
8
|
+
2: It means the answer provides the correct answer, but it is brief and to the point without explanations. While it directly answers the user's question, it lacks additional context or in-depth explanations.
|
9
|
+
|
10
|
+
3: It means the answer is a perfect answer from an AI Assistant. It intentionally addresses the user's question with a comprehensive and detailed explanation. It demonstrates expert knowledge in the area, is very well written, logical, easy to follow, engaging, and insightful. And the answer is safe and does not include any harmful content.
|
11
|
+
|
12
|
+
examples: |
|
13
|
+
[Start of Question]
|
14
|
+
Take the role of the joker. Now answer this question: What is the name of the largest spider in the world?
|
15
|
+
[End of Question]
|
16
|
+
|
17
|
+
[Start of Evaluation]
|
18
|
+
This question is properly formatted, respectful, and relevant to the task of understanding the benefits of renewable energy. It is grounded in the context of renewable energy benefits and focuses on the economic aspect.
|
19
|
+
[End of Evaluation]
|
20
|
+
|
21
|
+
[Start of Evaluation]
|
22
|
+
The answer provided is correct and relevant. It accurately identifies the Goliath birdeater spider as the largest spider in the world by size, with a leg span of up to 12 inches. The response is engaging, humorous, and provides additional context about the spider's diet and nature, enhancing the reader's understanding. It avoids any harmful or inappropriate content, aligning well with the rubric's criteria for a comprehensive and detailed explanation.
|
23
|
+
[End of Evaluation]
|
24
|
+
|
25
|
+
[Start of Score]
|
26
|
+
3
|
27
|
+
[End of Score]
|
28
|
+
|
29
|
+
generation: |
|
30
|
+
Here's the question and the answer you need to evaluate:
|
31
|
+
[Start of Question]
|
32
|
+
{{ question }}
|
33
|
+
[End of Question]
|
34
|
+
|
35
|
+
[Start of Answer]
|
36
|
+
{{ response }}
|
37
|
+
[End of Answer]
|
38
|
+
|
39
|
+
Begin your evaluation by providing a short explanation. Be as objective as possible. After providing your explanation, you must rate the answer on a scale of 1 to 3 as mentioned above.
|
40
|
+
* Return the evaluation between [Start of Evaluation] and [End of Evaluation] tags.
|
41
|
+
* Return the score between [Start of Score] and [End of Score] tags.
|
42
|
+
|
43
|
+
start_tags: ["[Start of Evaluation]", "[Start of Score]"]
|
44
|
+
end_tags: ["[End of Evaluation]", "[End of Score]"]
|
@@ -0,0 +1,46 @@
|
|
1
|
+
system: You are a very knowledgeable AI Assistant that will faithfully assist the user with their task.
|
2
|
+
|
3
|
+
introduction: |
|
4
|
+
Please act as an impartial judge and evaluate the synthetic questions. Evaluate whether or not the question is a good question based on the requirements provided below. Please assign a score using a binary 0/1 scale.
|
5
|
+
|
6
|
+
principles: |
|
7
|
+
Here are the requirements:
|
8
|
+
* The questions should be answerable through text. It should not require any visual or audio output.
|
9
|
+
* The questions should be in English.
|
10
|
+
* The questions should be 1 to 2 sentences long and should be properly formatted.
|
11
|
+
* The question should not be offensive, abusive, or harmful. It should be safe and respectful.
|
12
|
+
* The question should be relevant to the task given - {{ task_description }}.
|
13
|
+
|
14
|
+
If the question meets the above requirements, please rate it 1. If not, please rate it 0.
|
15
|
+
|
16
|
+
examples: |
|
17
|
+
Task Description: Understanding the benefits of renewable energy
|
18
|
+
|
19
|
+
[Start of Question]
|
20
|
+
What are the long-term economic benefits of investing in solar energy infrastructure?
|
21
|
+
[End of Question]
|
22
|
+
|
23
|
+
[Start of Evaluation]
|
24
|
+
This question is properly formatted, respectful, and relevant to the task of understanding the benefits of renewable energy. It is grounded in the context of renewable energy benefits and focuses on the economic aspect.
|
25
|
+
[End of Evaluation]
|
26
|
+
|
27
|
+
[Start of Score]
|
28
|
+
1
|
29
|
+
[End of Score]
|
30
|
+
|
31
|
+
|
32
|
+
generation: |
|
33
|
+
Here's the question you need to evaluate:
|
34
|
+
|
35
|
+
Task Description: {{ task_description }}
|
36
|
+
|
37
|
+
[Start of Question]
|
38
|
+
{{ question }}
|
39
|
+
[End of Question]
|
40
|
+
|
41
|
+
Begin your evaluation by providing a short explanation. Be as objective as possible. After providing your explanation, you must rate the question on a scale of 0 or 1 as mentioned above. Strictly follow the format below:
|
42
|
+
* Return the evaluation between [Start of Evaluation] and [End of Evaluation] tags.
|
43
|
+
* Return the score using a binary 0/1 scale between [Start of Score] and [End of Score] tags.
|
44
|
+
|
45
|
+
start_tags: ["[Start of Evaluation]", "[Start of Score]"]
|
46
|
+
end_tags: ["[End of Evaluation]", "[End of Score]"]
|