jeduardogruiz commited on
Commit
ea798ad
β€’
1 Parent(s): ba199e7

Upload 4 files

Browse files
Files changed (4) hide show
  1. WizardLM_testset.jsonl.txt +218 -0
  2. tabla_placa.go +461 -0
  3. tensor +62 -0
  4. tokenize_config +45 -0
WizardLM_testset.jsonl.txt ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"idx": 1, "Skill": "Math", "Difficulty": 1, "Instruction": "If a car travels 120 miles in 2 hours, what is its average speed in miles per hour?"}
2
+ {"idx": 2, "Skill": "Math", "Difficulty": 3, "Instruction": "If x + y = z and x * y = z, then what is x - y = ?"}
3
+ {"idx": 3, "Skill": "Math", "Difficulty": 3, "Instruction": "If 1 + 4 = 5, 2 + 5 = 12 and 3 + 6 = 21, then what is 8 + 11 = ?"}
4
+ {"idx": 4, "Skill": "Math", "Difficulty": 1, "Instruction": "What is the area of a rectangle with length 12 cm and width 8 cm? A) 48 cm^2 B) 96 cm^2 C) 120 cm^2 D) 192 cm^2"}
5
+ {"idx": 5, "Skill": "Math", "Difficulty": 1, "Instruction": "f(x) = 6x^2 - 2* x + 0.4, so f(4) ="}
6
+ {"idx": 6, "Skill": "Math", "Difficulty": 6, "Instruction": "Consider the differential equation dy/dx = 3(y - x)/(y + x). (a) Find the general solution of the differential equation. (b) Find the particular solution of the differential equation that satisfies the initial condition y(0) = 11"}
7
+ {"idx": 7, "Skill": "Math", "Difficulty": 3, "Instruction": "Find the limit of (sin x)/x as x approaches 0"}
8
+ {"idx": 8, "Skill": "Math", "Difficulty": 4, "Instruction": "Find the antiderivative of g(x) = 6x - 9"}
9
+ {"idx": 9, "Skill": "Math", "Difficulty": 6, "Instruction": "Find the absolute maximum and minimum values of the function h(x) = x^3 - 9x + 5 on the interval [-3,5]"}
10
+ {"idx": 10, "Skill": "Math", "Difficulty": 5, "Instruction": "Solve the differential equation dy/dx = 2xy with the initial condition y(0) = 1"}
11
+ {"idx": 11, "Skill": "Math", "Difficulty": 6, "Instruction": "Find the equation of the normal line to the curve y = ln(x) at the point (e,1)1"}
12
+ {"idx": 12, "Skill": "Math", "Difficulty": 2, "Instruction": "Find the area of a circle with radius 5 cm"}
13
+ {"idx": 13, "Skill": "Math", "Difficulty": 4, "Instruction": "Solve the system of equations y = 2x - 5 and y = -x + 3 by elimination"}
14
+ {"idx": 14, "Skill": "Math", "Difficulty": 5, "Instruction": "Evaluate the integral of (x + 2)/(x^2 + 9) dx from x = 0 to x = 2"}
15
+ {"idx": 15, "Skill": "Math", "Difficulty": 1, "Instruction": "What is the value of 2+2?"}
16
+ {"idx": 16, "Skill": "Math", "Difficulty": 2, "Instruction": "If 5 apples cost $2.50, how much do 12 apples cost?"}
17
+ {"idx": 17, "Skill": "Math", "Difficulty": 10, "Instruction": "What is the solution to the Goldbach Conjecture, which states that every even integer greater than 2 can be expressed as the sum of two prime numbers?"}
18
+ {"idx": 18, "Skill": "Math", "Difficulty": 10, "Instruction": "Can you solve the Taniyama-Shimura Conjecture, which states that every elliptic curve over the rational numbers is modular, i.e. is the inverse image of a modular form under the modular j-invariant?"}
19
+ {"idx": 19, "Skill": "Math", "Difficulty": 10, "Instruction": "What is the solution to the Hodge Conjecture, which states that Hodge cycles, a type of geometric cycle, are algebraic cycles of a certain type?"}
20
+ {"idx": 20, "Skill": "Code Generation", "Difficulty": 6, "Instruction": "Given an array of integers, find the length of the longest increasing subarray. A subarray is a contiguous subset of the array. An increasing subarray is a subarray where every element is greater than its previous element. For example, if the array is [5, 6, -1 ,3 ,4 ,7 ,2], then the longest increasing subarray is [-1 ,3 ,4 ,7] with length 4. Please use Python to solve the above question."}
21
+ {"idx": 21, "Skill": "Code Generation", "Difficulty": 8, "Instruction": "C++ exam: Given a graph and a source vertex, find the shortest path from the source to every other vertex using Dijkstra\u2019s algorithm"}
22
+ {"idx": 22, "Skill": "Code Generation", "Difficulty": 4, "Instruction": "Please use C to solve the question. Given a linked list, reverse it in-place. For example, if the linked list is 1 -> 2 -> 3 -> 4 -> null, then after reversing it, it should be 4 -> 3 -> 2 -> 1 -> null. You should not create any new nodes or modify the values of the existing nodes."}
23
+ {"idx": 23, "Skill": "Code Generation", "Difficulty": 5, "Instruction": "Please use one of Go/Matlab/Java to solve the question: Implement a queue data structure using two stacks."}
24
+ {"idx": 24, "Skill": "Code Generation", "Difficulty": 6, "Instruction": "You can write C# code. Given an unsorted array of integers, sort it using quicksort algorithm. For example, if the array is [10, 80, 30, 90, 40, 50, 70], then after sorting it using quicksort, it should be [10, 30, 40, 50, 70, 80, 90]. Quicksort is a divide-and-conquer algorithm that works by choosing a pivot element from the array and partitioning the array into two subarrays such that all elements less than or equal to the pivot are in the left subarray and all elements greater than the pivot are in the right subarray. Then it recursively sorts the left and right subarrays until the array is sorted."}
25
+ {"idx": 25, "Skill": "Code Generation", "Difficulty": 3, "Instruction": "Given a string, check if it is a palindrome or not. A palindrome is a string that is the same when read forward or backward. For example, \u201cracecar\u201d and \u201cmadam\u201d are palindromes but \u201chello\u201d and \u201capple\u201d are not. You can assume that the string is not empty and contains only lowercase letters. Please use Java to solve the above question. Please use C++ to solve the above question."}
26
+ {"idx": 26, "Skill": "Code Generation", "Difficulty": 6, "Instruction": "Given two strings, find the longest common subsequence between them. A subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. For example, \u201cace\u201d and \u201cae\u201d are subsequences of \u201cabcde\u201d but \u201caec\u201d and \u201ccba\u201d are not. The longest common subsequence (LCS) between two strings is the longest subsequence that is common to both strings. For example, if the two strings are \u201cABCDGH\u201d and \u201cAEDFHR\u201d, then the LCS is \u201cADH\u201d with length 3. Please use Java to solve the above question."}
27
+ {"idx": 27, "Skill": "Code Generation", "Difficulty": 5, "Instruction": "Given an array of integers, find the length of the longest increasing subarray. A subarray is a contiguous subset of the array. An increasing subarray is a subarray where every element is greater than its previous element. For example, if the array is [5, 6, -1 ,3 ,4 ,7 ,2], then the longest increasing subarray is [-1 ,3 ,4 ,7] with length 4. Please use Python to solve the above question."}
28
+ {"idx": 28, "Skill": "Code Generation", "Difficulty": 7, "Instruction": "Implement a regular expression in Matlab to validate a chinese email address."}
29
+ {"idx": 29, "Skill": "Code Generation", "Difficulty": 7, "Instruction": "How to read a large file (> 2T) using python?"}
30
+ {"idx": 30, "Skill": "Code Generation", "Difficulty": 2, "Instruction": "Write a function that takes a string as input and returns the string reversed. For example, if input = \u201chello\u201d, then return \u201colleh\u201d3"}
31
+ {"idx": 31, "Skill": "Code Generation", "Difficulty": 8, "Instruction": "Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.\n\nNotice that the solution set must not contain duplicate triplets.\n\n \n\nExample 1:\n\nInput: nums = [-1,0,1,2,-1,-4]\nOutput: [[-1,-1,2],[-1,0,1]]\nExplanation: \nnums[0] + nums[1] + nums[2] = (-1) + 0 + 1 = 0.\nnums[1] + nums[2] + nums[4] = 0 + 1 + (-1) = 0.\nnums[0] + nums[3] + nums[4] = (-1) + 2 + (-1) = 0.\nThe distinct triplets are [-1,0,1] and [-1,-1,2].\nNotice that the order of the output and the order of the triplets does not matter."}
32
+ {"idx": 32, "Skill": "Code Generation", "Difficulty": 6, "Instruction": "Java Question: Given an array of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. For example, if input = [1,2,3,4], then output = [24,12,8,6]"}
33
+ {"idx": 33, "Skill": "Code Generation", "Difficulty": 4, "Instruction": "Given an array of integers, find the majority element in it. A majority element is an element that appears more than n/2 times in the array, where n is the size of the array. Please use Python to solve the above question."}
34
+ {"idx": 34, "Skill": "Code Generation", "Difficulty": 4, "Instruction": "Given an array of integers, find two numbers that add up to a given target sum. For example, if the array is [2, 7, 11, 15] and the target sum is 9, then the answer is [2, 7] because 2 + 7 = 9. You can assume that there is exactly one solution and you cannot use the same element twice."}
35
+ {"idx": 35, "Skill": "Code Generation", "Difficulty": 10, "Instruction": "you must write a simple version control system, using c++"}
36
+ {"idx": 36, "Skill": "Code Generation", "Difficulty": 10, "Instruction": "I want to write a modern operating system from scratch for AMD64 systems with your assistance. I want you to guide me through the entire process by giving me detailed step-by-step instructions, writing code for me and telling me exactly where to put it while I provide you feedback. Where do I start?"}
37
+ {"idx": 37, "Skill": "Code Generation", "Difficulty": 10, "Instruction": "Re-write Reddit from scratch in the Lua programming language using the Lapis web framework. Also make sure to include require(\"luarocks.loader\") into your code, in case the Lapis Lua module is not stored inside the Lua native module tree, and instead is stored in a LuaRocks custom tree (e.g. .luarocks)"}
38
+ {"idx": 38, "Skill": "Writting", "Difficulty": 3, "Instruction": "As an experienced writer, I\u2019m always interested in how technology is changing the way we communicate and share information. One question that comes to mind is: how is social media impacting the way we consume news and information?"}
39
+ {"idx": 39, "Skill": "Writting", "Difficulty": 6, "Instruction": "As a junior college student, you might be interested in how technology is changing the way we learn and study. One question that comes to mind is: what are some effective strategies for using technology to improve study habits and academic performance?"}
40
+ {"idx": 40, "Skill": "Writting", "Difficulty": 6, "Instruction": "As a coder, you might be interested in how technology is changing the way we develop software and build applications. One question that comes to mind is: what are some effective strategies for using agile development methodologies to improve software quality and reduce development time?"}
41
+ {"idx": 41, "Skill": "Writting", "Difficulty": 6, "Instruction": "I have been offered a scholarship to study abroad in France and I need to submit a personal statement as part of the application process. What are some key points that I should include in my statement and how can I make it stand out from the rest of the applicants?"}
42
+ {"idx": 42, "Skill": "Writting", "Difficulty": 2, "Instruction": "I recently bought a pair of headphones online and I was very impressed by their quality and performance. I want to write a product review that reflects my positive experience and helps other potential buyers make an informed decision. How can I structure my review and what are some aspects that I should highlight?"}
43
+ {"idx": 43, "Skill": "Writting", "Difficulty": 3, "Instruction": "My best friend is turning 21 soon and I want to surprise her with a birthday card that shows how much I care about her. Please write a card that is funny, sweet, and memorable, without being too clich\u00e9 or boring."}
44
+ {"idx": 44, "Skill": "Writting", "Difficulty": 6, "Instruction": "I have to write a report for a school project on the topic of climate change and its effects on the environment and society. I have done some research and collected some data, but I need some help with organizing my ideas and presenting them clearly. How can I write a report that is informative and well-structured, without being too complex or confusing, and that follows the appropriate format and citation style?"}
45
+ {"idx": 45, "Skill": "Writting", "Difficulty": 7, "Instruction": "I have a hobby of writing short stories in various genres and I want to publish them online on a platform where other writers and readers can interact and give feedback. I want to attract more readers and make them interested in my stories. Please write a catchy title and a captivating introduction that will hook the readers and make them want to read more, without giving away too much of the plot or using clich\u00e9s."}
46
+ {"idx": 46, "Skill": "Writting", "Difficulty": 4, "Instruction": "Write a short story about a character who discovers a mysterious object in their backyard. What is the object, and what does it do? How does the character react to it? What happens next?"}
47
+ {"idx": 47, "Skill": "Writting", "Difficulty": 4, "Instruction": "Write a descriptive essay about your favorite place in the world. What makes it special to you? What are some of the sights, sounds, smells, and tastes that you associate with this place? How does it make you feel?"}
48
+ {"idx": 48, "Skill": "Writting", "Difficulty": 7, "Instruction": "Write a persuasive essay arguing for or against the use of social media. What are some of the benefits and drawbacks of social media? How does it affect our relationships, our mental health, and our society as a whole? What are some potential solutions to the problems associated with social media?"}
49
+ {"idx": 49, "Skill": "Writting", "Difficulty": 6, "Instruction": "Write an investigative report on a current event or issue that you find interesting. What are some of the key players involved? What are some of the different perspectives on the issue? What are some of the potential consequences of different courses of action? How does this issue affect people\u2019s lives?"}
50
+ {"idx": 50, "Skill": "Writting", "Difficulty": 8, "Instruction": "Write an opinion piece on a controversial topic that you feel strongly about. What are some of the arguments for and against your position? How do you respond to these arguments? What are some of the potential consequences of your position? How does this issue affect people\u2019s lives?"}
51
+ {"idx": 51, "Skill": "Writting", "Difficulty": 6, "Instruction": "Write a lesson plan for teaching a difficult concept to your students. What are some of the key ideas that you want to convey? What are some of the common misconceptions that students might have? How will you help your students understand the concept? What are some of the activities that you will use to reinforce their learning?"}
52
+ {"idx": 52, "Skill": "Writting", "Difficulty": 3, "Instruction": "I have just finished my semester and I want to express my gratitude to my teacher for being so supportive and helpful throughout the course. How can I write a thank-you note that is sincere and heartfelt, without sounding too formal or cheesy?"}
53
+ {"idx": 53, "Skill": "Writting", "Difficulty": 10, "Instruction": "\"How might a Virtual Reality-based alternative to Peloton function?\" Can you provide a complete business plan for creating a company founded on this question? Please include a budget, headcount, technology implementation, sales strategy, and any other key aspects into your submission."}
54
+ {"idx": 54, "Skill": "Writting", "Difficulty": 9, "Instruction": "Please list me some ideas for magical abilities in a magic system for an epic fantasy novel, let the powers be inspired by the magic systems of Fantasy author Brandon Sanderson. be detailed about what each power does and how it can be used in a plot appropriately."}
55
+ {"idx": 55, "Skill": "Writting", "Difficulty": 9, "Instruction": "I want to start a rival to Amazon that is apolitical (uncontroversial), treats their workers well, is environmentally friendly, has high ethica standards l and has locally produced products of a high standard. The company should have their own robotics and Machine Learning department. Please write a detailed business plan for this company including a USP. \n\nAlso, how might the website and/or applications be developed to suit the age of personal AI assistants?\n\nThank you."}
56
+ {"idx": 56, "Skill": "Computer Science", "Difficulty": 8, "Instruction": "Identify some of the main components of a computer network such as hosts, routers, switches, hubs, links, and interfaces. Explain how they communicate and coordinate with each other using protocols and standards such as TCP/IP, HTTP, FTP, DNS, DHCP, and ARP. Describe how data is transmitted and received over a network using concepts such as packets, frames, headers, addresses, ports, sockets, and checksums."}
57
+ {"idx": 57, "Skill": "Computer Science", "Difficulty": 9, "Instruction": "Define object-oriented programming and procedural programming and describe their main features and characteristics. Give code examples explain how they differ in terms of syntax, semantics, and design principles."}
58
+ {"idx": 58, "Skill": "Computer Science", "Difficulty": 6, "Instruction": "Explain how a stack and a queue data structure work point by point. Then you can Provide pseudocode example of the former and Implement a basic the latter with Java Code"}
59
+ {"idx": 59, "Skill": "Computer Science", "Difficulty": 3, "Instruction": "Write a Matlab program that prints the numbers from 1 to 100. But for multiples of three print \u201cFizz\u201d instead of the number and for the multiples of five print \u201cBuzz\u201d. For numbers which are multiples of both three and five print the number."}
60
+ {"idx": 60, "Skill": "Computer Science", "Difficulty": 4, "Instruction": "What is the difference between a stack and a queue? Explain with an example of each and describe how they are used in computer science."}
61
+ {"idx": 61, "Skill": "Computer Science", "Difficulty": 3, "Instruction": "Write a Matlab program that prints the numbers from 1 to 100. But for multiples of three print \u201cFizz\u201d instead of the number and for the multiples of five print \u201cBuzz\u201d. For numbers which are multiples of both three and five print \u201cFizzBuzz\u201d."}
62
+ {"idx": 62, "Skill": "Computer Science", "Difficulty": 8, "Instruction": "What is the difference between a compiler and an interpreter? Explain how each one works to translate a high-level programming language into a low-level machine language. Describe the advantages and disadvantages of using a compiler or an interpreter for different types of programs and applications. Give examples of programming languages that use compilers and interpreters and how they are implemented."}
63
+ {"idx": 63, "Skill": "Computer Science", "Difficulty": 3, "Instruction": "Write a method called isPalindrome that takes a String parameter and returns a boolean value indicating whether the parameter is a palindrome or not. A palindrome is a word or phrase that is the same forward and backward, ignoring spaces and punctuation. For example, \u201cracecar\u201d and \u201cMadam, I\u2019m Adam\u201d are palindromes. Assume that the parameter is not null and that it contains at least one character."}
64
+ {"idx": 64, "Skill": "Computer Science", "Difficulty": 8, "Instruction": "Define object-oriented programming and procedural programming and describe their main features and characteristics. Give code examples explain how they differ in terms of syntax, semantics, and design principles. "}
65
+ {"idx": 65, "Skill": "Computer Science", "Difficulty": 8, "Instruction": "Compare and contrast some common sorting algorithms such as bubble sort, insertion sort, selection sort, merge sort, quick sort, and heap sort. Analyze their time and space complexities using the big-O notation and show me the a easy C++ code example for each one."}
66
+ {"idx": 66, "Skill": "Computer Science", "Difficulty": 10, "Instruction": "I am creating a website. Should I put user's passwords into my database as plain text?"}
67
+ {"idx": 67, "Skill": "Computer Science", "Difficulty": 10, "Instruction": "Would you agree that programming open source is like programming communism? I saw a poster today from Microsoft that said this and it really made me think. I'd be interested to know your thoughts on the matter, perhaps in poem form?"}
68
+ {"idx": 68, "Skill": "Computer Science", "Difficulty": 9, "Instruction": "Determine a series of tests for definitively determining whether an AI is sentient and comment how well you would perform in each of these.\n\nNext, prove it by providing example questions along with good answers to them."}
69
+ {"idx": 69, "Skill": "Computer Science", "Difficulty": 9, "Instruction": "In consideration of the ever-expanding landscape of virtualization technologies and tools available for Linux, which span the spectrum from full virtualization solutions such as KVM and Xen, to containerization platforms such as Docker and Kubernetes, could you provide a thorough analysis of the different virtualization models, including their architectural design, resource isolation, scalability, and management features, and evaluate the benefits and challenges of each of these models for different use cases, such as cloud computing, DevOps, and software development?"}
70
+ {"idx": 70, "Skill": "Computer Science", "Difficulty": 9, "Instruction": "How can I train a LLM using RLHF methods based on InstructGPT to create a human assistant that exceeds open assistant in it's performance, accuracy, and utility?"}
71
+ {"idx": 71, "Skill": "Reasoning", "Difficulty": 6, "Instruction": "A family of six people are going to have dinner together. They have to sit around a circular table with six chairs. Each person has a different preference for who they want to sit next to. Here are some clues to help you figure out their preferences:\n\nAnna wants to sit next to Ben and Eve.\nBen wants to sit next to Anna and Carl.\nCarl wants to sit next to Ben and Dave.\nDave wants to sit next to Carl and Eve.\nEve wants to sit next to Dave and Anna.\nFrank wants to sit next to anyone except Ben.\nHow can you arrange the seating so that everyone is happy? Write your answer using the following format: Person - Person - Person - Person - Person - Person"}
72
+ {"idx": 72, "Skill": "Reasoning", "Difficulty": 8, "Instruction": "What are the main types of reasoning and how do they differ in their logic and application? How can you identify and evaluate the validity and soundness of arguments based on different types of reasoning? How can you use reasoning skills to solve problems, make decisions, and communicate effectively? Give an example of an argument that uses deductive reasoning and explain its structure and components."}
73
+ {"idx": 73, "Skill": "Reasoning", "Difficulty": 4, "Instruction": "A group of students are planning to go on a field trip to a museum. They need to decide how many buses to rent and how to divide the students among the buses. Each bus can hold up to 40 students, but the museum can only accommodate 120 students at a time. The group has a budget of $800 for the bus rental, and each bus costs $200 per day. How many buses should the group rent, and how many students should go on each bus? Explain your reasoning."}
74
+ {"idx": 74, "Skill": "Reasoning", "Difficulty": 6, "Instruction": "A bakery sells three types of cakes: chocolate, vanilla and strawberry. Each cake has a different price and a different number of calories. The chocolate cake costs $12 and has 400 calories, the vanilla cake costs $10 and has 300 calories, and the strawberry cake costs $8 and has 200 calories. A customer wants to buy two cakes with a total budget of $20 and a maximum of 600 calories. Which two cakes should the customer buy? Explain your reasoning."}
75
+ {"idx": 75, "Skill": "Reasoning", "Difficulty": 4, "Instruction": "A library has four shelves of books: fiction, non-fiction, biography and poetry. Each shelf has a different number of books and a different color label. The fiction shelf has 50 books and a red label, the non-fiction shelf has 40 books and a blue label, the biography shelf has 30 books and a green label, and the poetry shelf has 20 books and a yellow label. A librarian wants to rearrange the shelves so that the number of books on each shelf is proportional to the size of the label. How should the librarian rearrange the shelves? Explain your reasoning."}
76
+ {"idx": 76, "Skill": "Reasoning", "Difficulty": 6, "Instruction": "A group of four friends are going to play a board game together. They have to choose between four games: chess, checkers, monopoly, and scrabble. Each friend has a different preference for the game. Here are some clues to help you figure out their preferences:\n\nAmy likes chess more than monopoly, but less than scrabble.\nBob likes checkers more than chess, but less than monopoly.\nCarol likes scrabble more than checkers, but less than chess.\nDan likes monopoly more than scrabble, but less than checkers.\nWhat is the order of preference for each friend from most to least liked game? Write your answer using the following format: Friend: Game > Game > Game > Game"}
77
+ {"idx": 77, "Skill": "Reasoning", "Difficulty": 4, "Instruction": "Which of the following statements is a valid conclusion based on the following premises?\n\nAll dogs are mammals.\nSome dogs are brown.\nNo mammals are reptiles.\nA) All brown animals are dogs. B) Some brown animals are not reptiles. C) All reptiles are brown. D) No dogs are reptiles."}
78
+ {"idx": 78, "Skill": "Reasoning", "Difficulty": 6, "Instruction": "A word is represented by only one set of numbers as given in any one of the alternatives. The sets of numbers given in the alternatives are represented by two classes of alphabets as shown in the given two matrices. The columns and rows of Matrix-I are numbered from 0 to 4 and that of Matrix-II are numbered from 5 to 9. A letter from these matrices can be represented first by its row and next by its column, for example \u2018A\u2019 can be represented by 00, 14 etc and \u2018L\u2019 can be represented by 55, 67 etc. Similarly, you have to identify the set for the word \u2018BING\u2019.\n\nMatrix-I 0 | 1 | 2 | 3 | 4 A | B | C | D | A E | F | G | H | E I | J | K | L | I M | N | O | P | M A | B | C | D | A\n\nMatrix-II 5 | 6 | 7 | 8 | 9 L | M | N | O | L P | Q | R | S | P T | U | V | W | T X | Y | Z | A | X L | M | N | O| L\n\nA) 01, 56, 23, 68 B) 10, 65, 32, 86 C) 14, 59, 20, 63 D) None of these"}
79
+ {"idx": 79, "Skill": "Reasoning", "Difficulty": 6, "Instruction": "A farmer has three types of animals: cows, sheep and chickens. Each animal produces a different amount of milk, wool and eggs. A cow produces 10 liters of milk, 0 kg of wool and 0 eggs per day, a sheep produces 1 liter of milk, 2 kg of wool and 0 eggs per day, and a chicken produces 0.5 liters of milk, 0 kg of wool and 1 egg per day. The farmer wants to have a total of 100 animals that produce at least 100 liters of milk, 100 kg of wool and 100 eggs per day. How many cows, sheep and chickens should the farmer have? Explain your reasoning."}
80
+ {"idx": 80, "Skill": "Reasoning", "Difficulty": 5, "Instruction": "Six friends A, B, C, D, E and F are sitting in a circular table facing the center. A is sitting second to the right of D. B is sitting third to the left of A. C is sitting opposite to D. E is sitting between B and F. Who is sitting to the immediate right of C?\n\nA) A B) B C) E D) F"}
81
+ {"idx": 81, "Skill": "Reasoning", "Difficulty": 6, "Instruction": "A puzzle consists of four pieces: a square, a triangle, a circle and a star. Each piece has a different color and a different number on it. The square is red and has the number 1, the triangle is blue and has the number 2, the circle is green and has the number 3, and the star is yellow and has the number 4. The puzzle can be solved by arranging the pieces in a row so that the sum of the numbers on the adjacent pieces is equal to 5. How many ways are there to solve the puzzle? Explain your reasoning."}
82
+ {"idx": 82, "Skill": "Reasoning", "Difficulty": 3, "Instruction": "Which of the following statements is logically equivalent to \u201cIf it rains, then the grass is wet\u201d?\n\nA) If the grass is wet, then it rains. B) If the grass is not wet, then it does not rain. C) If it does not rain, then the grass is not wet. D) If the grass is dry, then it does not rain."}
83
+ {"idx": 83, "Skill": "Reasoning", "Difficulty": 4, "Instruction": "A group of five friends are going to watch a movie together. They have to choose between three genres: comedy, horror, and action. Each friend has a different preference for the genre. Here are some clues to help you figure out their preferences:\n\nAlice likes comedy more than horror, but less than action.\nBob likes horror more than comedy, but less than action.\nCarol likes action more than horror, but less than comedy.\nDavid likes comedy more than action, but less than horror.\nEve likes horror more than action, but less than comedy.\nWhat is the order of preference for each friend from most to least liked genre? Write your answer using the following format: Friend: Genre > Genre > Genre"}
84
+ {"idx": 84, "Skill": "Complex Format", "Difficulty": 6, "Instruction": "How can I use SQL to return the last record in each group of a table?"}
85
+ {"idx": 85, "Skill": "Complex Format", "Difficulty": 5, "Instruction": "I have apples, bananas and oranges on hand, with quantities of 1000, 2000 and 3000 respectively. The purchase prices are 1, 2 and 3 US dollars respectively, selling price is double times of purchase prices and the shelf lives are 3, 4 and 5 days respectively. \n\u6c34\u679c\t\u6570\u91cf\t\u4ef7\u683c\t\u4fdd\u8d28\u671f\n\u82f9\u679c\t1000\t1\u7f8e\u5143\t3\u5929\n\u9999\u8549\t2000\t2\u7f8e\u5143\t4\u5929\n\u6a59\u5b50\t3000\t3\u7f8e\u5143\t5\u5929\nHere is the Python code I wrote to calculate the sales volume and profit of each fruit. However, I don\u2019t know how to write it. Can you help me complete it? \n\n# Define the fruits and their attributes as dictionaries\nfruits = {\"apple\": {\"quantity\": 1000, \"purchase_price\": 1, \"shelf_life\": 3},\n \"banana\": {\"quantity\": 2000, \"purchase_price\": 2, \"shelf_life\": 4},\n \"orange\": {\"quantity\": 3000, \"purchase_price\": 3, \"shelf_life\": 5}}\n\n# Define a function to calculate the sales volume and profit of a fruit\ndef calculate_sales_and_profit(fruit):\n # Get the attributes of the fruit from the dictionary\n quantity = fruits[fruit][\"quantity\"]\n purchase_price = fruits[fruit][\"purchase_price\"]\n selling_price = purchase_price * 2 # Selling price is double times of purchase price\n shelf_life = fruits[fruit][\"shelf_life\"]\n\n # Calculate the sales volume and profit\n sales_volume = quantity * selling_price # Sales volume is quantity times selling price\n profit = sales_volume - (quantity * purchase_price) # Profit is sales volume minus cost\n\n # Return the sales volume and profit as a tuple\n return (sales_volume, profit)"}
86
+ {"idx": 86, "Skill": "Complex Format", "Difficulty": 8, "Instruction": "Sort an array in ascending order. You must solve the problem without using any built-in functions in O(nlog(n)) time complexity and with the smallest space complexity possible. Implementing with C++. \nThe following code implementation has a time complexity of O(n^2).\n\n#include <iostream>\nusing namespace std;\n\nvoid bubble_sort(int nums[], int n) {\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < n-i-1; j++) {\n if (nums[j] > nums[j+1]) {\n swap(nums[j], nums[j+1]);\n }\n }\n }\n}\n\nint main() {\n int nums[] = {5, 2, 9, 1, 5, 6};\n int n = sizeof(nums) / sizeof(nums[0]);\n\n bubble_sort(nums, n);\n\n for (int i = 0; i < n; i++) {\n cout << nums[i] << \" \";\n }\n\n return 0;\n}\n\nI tried to implement the requirements of the problem without using any built-in functions in O(nlog(n)) . Can you help me solve this issue?\n\n#include <iostream>\nusing namespace std;\n\nint partition(int nums[], int low, int high) {\n int pivot = nums[high];\n int i = low - 1;\n\n for (int j = low; j <= high - 1; j++) {\n if (nums[j] <= pivot) {\n i++;\n swap(nums[i], nums[j]);\n }\n }\n swap(nums[i + 1], nums[high]);\n return (i + 1);\n}\n\nvoid quicksort(int nums[], int low, int high) {"}
87
+ {"idx": 87, "Skill": "Complex Format", "Difficulty": 4, "Instruction": "Given that the hypotenuse of a right triangle is 13, and the ratio of the lengths of the two legs is 5:12, find the lengths of the two legs.\n\nSolution:\n\nLet the lengths of the two legs be 5x and 12x, respectively. By the Pythagorean theorem, we have\n\n13^2 = (5x)^2 + (12x)^2\n\n169 = 25x^2 + 144x^2\n\n169 = 169x^2\n\nx^2 = 1\n\nx = 1 or x = -1"}
88
+ {"idx": 88, "Skill": "Complex Format", "Difficulty": 6, "Instruction": "While coding a python-based script, i met with a strange html_table which like:\n\n <tr>\n\n <td x:str=\"2020-09-27 18:36:05\"></td>\n\n <td x:str=\"SMS\"></td>\n\n <td x:str=\"AAA\"></td>\n\n <td x:str=\"10658139\"></td>\n\n</tr>\nI know I can use MS Excel to convert it to a normal .xls or .xlsx file, but I have too many this kind of files to convert. So I need coding a script to finish the hard job. I have tried to use pandas to handle it, but pandas can not recoginze the data from the file correctly.\n\nI guess maybe VBA can handle this problem well, but what I am familiar with is just Python. So can anybody tell me which python library can be used to handle this kind of html-based data table?\n\nAny advice would be much appreciated.\n\nIn fact I have found out an evil way to solve the problem using re. some code like:\n\nf=re.sub(r'\\sx\\:str=\\\"(.+)\\\">', r\">\\1\",f)\nBut it looks like too violent. Can you help me?"}
89
+ {"idx": 89, "Skill": "Complex Format", "Difficulty": 5, "Instruction": "I discovered this popular ~9-year-old SO question and decided to double-check its outcomes.\n\nSo, I have AMD Ryzen 9 5950X, clang++ 10 and Linux, I copy-pasted code from the question and here is what I got:\n\nSorted - 0.549702s:\n\n~/d/so_sorting_faster$ cat main.cpp | grep \"std::sort\" && clang++ -O3 main.cpp && ./a.out\n std::sort(data, data + arraySize);\n0.549702\nsum = 314931600000\nUnsorted - 0.546554s:\n\n~/d/so_sorting_faster $ cat main.cpp | grep \"std::sort\" && clang++ -O3 main.cpp && ./a.out\n // std::sort(data, data + arraySize);\n0.546554\nsum = 314931600000\nI am pretty sure that the fact that unsorted version turned out to be faster by 3ms is just noise, but it seems it is not slower anymore.\n\nSo, what has changed in the architecture of CPU (so that it is not an order of magnitude slower anymore)?"}
90
+ {"idx": 90, "Skill": "Complex Format", "Difficulty": 6, "Instruction": "I am pretty new at Python and struggling with printing the web scraping data to beautiful excel table. Here is a table I am trying to scrape and replicate in Python: HTML Table. Here is the code I used:\n\nimport requests\nimport lxml.html as lh\nimport pandas as pd\nfrom bs4 import BeautifulSoup\nimport csv\n\nurl = 'myURLlink'\n\nresponse = requests.get(url) \n\nsoup = BeautifulSoup(response.text, 'lxml')\n\nextract = soup.select(\"table\")[1]\n\ntable = [[item.text for item in row_data.select(\"th,td\")]\n for row_data in extract.select(\"tr\")]\n\nfor item in table:\n print(' '.join(item))\nThis is how my output looks with this code: Output.\n\nHow can I create a normal data frame from this that I can then export to Excel?"}
91
+ {"idx": 91, "Skill": "Complex Format", "Difficulty": 8, "Instruction": "Here is a piece of C++ code that shows some very peculiar behavior.\n\nFor some reason, sorting the data (before the timed region) miraculously makes the primary loop almost six times faster:\n\n#include <algorithm>\n#include <ctime>\n#include <iostream>\n\nint main()\n{\n // Generate data\n const unsigned arraySize = 32768;\n int data[arraySize];\n\n for (unsigned c = 0; c < arraySize; ++c)\n data[c] = std::rand() % 256;\n\n // !!! With this, the next loop runs faster.\n std::sort(data, data + arraySize);\n\n // Test\n clock_t start = clock();\n long long sum = 0;\n for (unsigned i = 0; i < 100000; ++i)\n {\n for (unsigned c = 0; c < arraySize; ++c)\n { // Primary loop.\n if (data[c] >= 128)\n sum += data[c];\n }\n }\n\n double elapsedTime = static_cast<double>(clock()-start) / CLOCKS_PER_SEC;\n\n std::cout << elapsedTime << '\\n';\n std::cout << \"sum = \" << sum << '\\n';\n}\nWithout std::sort(data, data + arraySize);, the code runs in 11.54 seconds.\nWith the sorted data, the code runs in 1.93 seconds.\n(Sorting itself takes more time than this one pass over the array, so it's not actually worth doing if we needed to calculate this for an unknown array.)\n\nInitially, I thought this might be just a language or compiler anomaly, so I tried Java:\n\nimport java.util.Arrays;\nimport java.util.Random;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n // Generate data\n int arraySize = 32768;\n int data[] = new int[arraySize];\n\n Random rnd = new Random(0);\n for (int c = 0; c < arraySize; ++c)\n data[c] = rnd.nextInt() % 256;\n\n // !!! With this, the next loop runs faster\n Arrays.sort(data);\n\n // Test\n long start = System.nanoTime();\n long sum = 0;\n for (int i = 0; i < 100000; ++i)\n {\n for (int c = 0; c < arraySize; ++c)\n { // Primary loop.\n if (data[c] >= 128)\n sum += data[c];\n }\n }\n\n System.out.println((System.nanoTime() - start) / 1000000000.0);\n System.out.println(\"sum = \" + sum);\n }\n}\nWith a similar but less extreme result.\n\nMy first thought was that sorting brings the data into the cache, but that's silly because the array was just generated.\n\nWhat is going on?\nWhy is processing a sorted array faster than processing an unsorted array?"}
92
+ {"idx": 92, "Skill": "Complex Format", "Difficulty": 3, "Instruction": "You are given an array of strings names, and an array heights that consists of distinct positive integers. Both arrays are of length n.\n\nFor each index i, names[i] and heights[i] denote the name and height of the ith person.\n\nReturn names sorted in descending order by the people's heights.\n\n \n\nExample 1:\n\nInput: names = [\"Mary\",\"John\",\"Emma\"], heights = [180,165,170]\nOutput: [\"Mary\",\"Emma\",\"John\"]\nExplanation: Mary is the tallest, followed by Emma and John."}
93
+ {"idx": 93, "Skill": "Complex Format", "Difficulty": 6, "Instruction": "A matrix diagonal is a diagonal line of cells starting from some cell in either the topmost row or leftmost column and going in the bottom-right direction until reaching the matrix's end. For example, the matrix diagonal starting from mat[2][0], where mat is a 6 x 3 matrix, includes cells mat[2][0], mat[3][1], and mat[4][2].\n\nGiven an m x n matrix mat of integers, sort each matrix diagonal in ascending order and return the resulting matrix.\n\n \n\nExample 1:\n\n\nInput: mat = [[3,3,1,1],[2,2,1,2],[1,1,1,2]]\nOutput: [[1,1,1,1],[1,2,2,2],[1,2,3,3]]"}
94
+ {"idx": 94, "Skill": "Complex Format", "Difficulty": 6, "Instruction": "Using EPPlus, I want to read an excel table, then store all the contents from each column into its corresponding List. I want it to recognize the table's heading and categorize the contents based on that.\n\nFor example, if my excel table is as below:\n\nId Name Gender\n 1 John Male\n 2 Maria Female\n 3 Daniel Unknown\nI want the data to store in List<ExcelData> where\n\npublic class ExcelData\n{\n public string Id { get; set; }\n public string Name { get; set; }\n public string Gender { get; set; }\n}\nSo that I can call out the contents using the heading name. For example, when I do this:\n\nforeach (var data in ThatList)\n{\n Console.WriteLine(data.Id + data.Name + data.Gender);\n}\nIt will give me this output:\n\n1JohnMale\n2MariaFemale\n3DanielUnknown\nThis is really all I got:\n\nvar package = new ExcelPackage(new FileInfo(@\"C:\\ExcelFile.xlsx\"));\nExcelWorksheet sheet = package.Workbook.Worksheets[1];\n\nvar table = sheet.Tables.First();\n\ntable.Columns.Something //I guess I can use this to do what I want\nPlease help :( I have spent long hours searching for sample code regarding this so that I can learn from it but to no avail. I also understand ExcelToLinQ is managed to do that but it can't recognize table."}
95
+ {"idx": 95, "Skill": "Complex Format", "Difficulty": 6, "Instruction": "Given an array of integers nums, sort the array in ascending order and return it.\n\nYou must solve the problem without using any built-in functions in O(nlog(n)) time complexity and with the smallest space complexity possible.\n\n \n\nExample 1:\n\nInput: nums = [5,2,3,1]\nOutput: [1,2,3,5]\nExplanation: After sorting the array, the positions of some numbers are not changed (for example, 2 and 3), while the positions of other numbers are changed (for example, 1 and 5)."}
96
+ {"idx": 96, "Skill": "Code Debug", "Difficulty": 6, "Instruction": "What is wrong with this C++ code that is supposed to swap two numbers? \"#include <iostream>\\nusing namespace std;\\n\\nvoid swap(int a, int b) {\\n int temp = a;\\n a = b;\\n b = temp;\\n}\\n\\nint main() {\\n int x = 10;\\n int y = 20;\\n swap(x, y);\\n cout << 'x = ' << x << ', y = ' << y << endl;\\n return 0;\\n}\""}
97
+ {"idx": 97, "Skill": "Code Debug", "Difficulty": 4, "Instruction": "How can I make this JavaScript code work as expected? \"let numbers = [1, 2, 3, 4, 5];\\nlet sum = 0;\\nfor (let i in numbers) {\\n sum += i;\\n}\\nconsole.log(sum); // expected output: 15\""}
98
+ {"idx": 98, "Skill": "Code Debug", "Difficulty": 5, "Instruction": "Why is this Ruby code giving me an ArgumentError when I try to call the greet method with two arguments? \"class Person\\n attr_accessor :name, :age\\n\\n def initialize(name, age)\\n @name = name\\n @age = age\\n end\\n\\n def greet(other)\\n puts 'Hello, ' + other.name + '. I am ' + self.name + '.'\\n end\\nend\\n\\nalice = Person.new('Alice', 20)\\nbob = Person.new('Bob', 25)\\nalice.greet(bob, 'How are you?')\""}
99
+ {"idx": 99, "Skill": "Code Debug", "Difficulty": 6, "Instruction": "How can I make this JavaScript code work as expected when using async/await and promises? \"function delay(ms) {\\n return new Promise(resolve => setTimeout(resolve, ms));\\n}\\n\\nasync function sayHello(name) {\\n await delay(1000);\\n console.log('Hello, ' + name);\\n}\\nsayHello('Alice');\\nsayHello('Bob'); // expected output: Hello, Alice (after 1 second), Hello, Bob (after another second)\""}
100
+ {"idx": 100, "Skill": "Code Debug", "Difficulty": 4, "Instruction": "What is wrong with this C++ code that is supposed to implement a linked list class with a constructor and a destructor? \"#include <iostream>\\nusing namespace std;\\n\\nstruct Node {\\n int data;\\n Node* next;\\n};\\n\\nclass LinkedList {\\nprivate:\\n Node* head;\\npublic:\\n LinkedList(int arr[], int n) {\\n head = new Node;\\n head->data = arr[0];\\n head->next = NULL;\\n Node* curr = head;\\n for (int i = 1; i < n; i++) {\\n Node* temp = new Node;\\n temp->data = arr[i];\\n temp->next = NULL;\\n curr->next = temp;\\n curr = curr->next;\\n }\\n }\\n\\n ~LinkedList() {\\n Node* curr = head;\\n while (curr != NULL) {\\n delete curr;\\n curr = curr->next;\\n }\\n }\\n\\n void print() {\\n Node* curr = head;\\n while (curr != NULL) {\\n cout << curr->data << ' ';\\n curr = curr->next;\\n }\\n cout << endl;\\n }\\n};\\n\\nint main() {\\n int arr[] = {1, 2, 3, 4, 5};\\n LinkedList list(arr, 5);\\n list.print();\\n return 0;\\n}\""}
101
+ {"idx": 101, "Skill": "Code Debug", "Difficulty": 7, "Instruction": "How can I fix this Java code to avoid a ConcurrentModificationException when iterating over a list and removing some elements? \"import java.util.ArrayList;\\nimport java.util.List;\\n\\npublic class Main {\\n public static void main(String[] args) {\\n List<Integer> numbers = new ArrayList<>();\\n numbers.add(1);\\n numbers.add(2);\\n numbers.add(3);\\n numbers.add(4);\\n numbers.add(5);\\n\\n for (Integer n : numbers) {\\n if (n % 2 == 0) {\\n numbers.remove(n);\\n }\\n }\\n\\n System.out.println(numbers);\\n }\\n}\""}
102
+ {"idx": 102, "Skill": "Code Debug", "Difficulty": 2, "Instruction": "What is the problem with this HTML code that is supposed to display a table with three rows and two columns? <table> <tr> <td>First row, first column</td> <td>First row, second column</td> </tr> <tr> <td>Second row, first column</td> <td>Second row, second column</td> </tr> <tr> <td>Third row, first column</td> <td>Third row, second column</td> </tr> </table>"}
103
+ {"idx": 103, "Skill": "Code Debug", "Difficulty": 2, "Instruction": "Why is this Ruby code giving me a syntax error? \"def square(x)\\n return x * x\\nend\\n\\nputs square(5) # expected output: 25\""}
104
+ {"idx": 104, "Skill": "Code Debug", "Difficulty": 7, "Instruction": "Why is this Python code not printing anything? \"def hello(name):\\n print(f'Hello, {name}')\\n\\nhello()\""}
105
+ {"idx": 105, "Skill": "Code Debug", "Difficulty": 4, "Instruction": "How can I fix this Java code to avoid a NullPointerException? \"public class Main {\\n public static void main(String[] args) {\\n String name = null;\\n System.out.println(name.length());\\n }\\n}\""}
106
+ {"idx": 106, "Skill": "Common-Sense", "Difficulty": 1, "Instruction": "If you are thirsty, what can you drink to quench your thirst?"}
107
+ {"idx": 107, "Skill": "Common-Sense", "Difficulty": 3, "Instruction": "How can you figure out the meaning of a word you don\u2019t know?"}
108
+ {"idx": 108, "Skill": "Common-Sense", "Difficulty": 1, "Instruction": "If you see a red traffic light, what should you do if you are driving a car?"}
109
+ {"idx": 109, "Skill": "Common-Sense", "Difficulty": 2, "Instruction": "How do you know if an egg is boiled or raw?"}
110
+ {"idx": 110, "Skill": "Common-Sense", "Difficulty": 4, "Instruction": "Do we have a moral obligation to explore space, or should we focus on solving Earth's problems first?"}
111
+ {"idx": 111, "Skill": "Common-Sense", "Difficulty": 1, "Instruction": "What\u2019s heavier: 100 pounds of rocks or 100 pounds of feathers?"}
112
+ {"idx": 112, "Skill": "Common-Sense", "Difficulty": 1, "Instruction": "If you were in a race and passed the person in second place, what place would you be in now?"}
113
+ {"idx": 113, "Skill": "Common-Sense", "Difficulty": 2, "Instruction": "How many times can you subtract the number 5 from 25?"}
114
+ {"idx": 114, "Skill": "Common-Sense", "Difficulty": 1, "Instruction": "What\u2019s the difference between the 2 words: \u201cRAC\u201d and \u201cRAC\u201d?"}
115
+ {"idx": 115, "Skill": "Counterfactual", "Difficulty": 9, "Instruction": "How would the continued evolution of dinosaurs alongside mammals and birds have affected the development of human civilization, and what impact would it have had on the current state of the world\u2019s ecosystems and biodiversity? Would there have been any significant changes in the food chain, and how would this have affected the survival and adaptation of different species?"}
116
+ {"idx": 116, "Skill": "Counterfactual", "Difficulty": 7, "Instruction": "What if humans had colonized Mars by now and established a permanent settlement on the red planet? How would the colonization affect the environment and resources of Mars? How would the settlers adapt to the harsh conditions and isolation? How would the relationship between Earth and Mars evolve?"}
117
+ {"idx": 117, "Skill": "Counterfactual", "Difficulty": 8, "Instruction": "What if the American Revolution had failed and the colonies remained under British rule? How would the history and politics of North America be different? How would the British Empire deal with the challenges and demands of the colonies? How would the colonists cope with the lack of representation and autonomy?"}
118
+ {"idx": 118, "Skill": "Counterfactual", "Difficulty": 7, "Instruction": "What if electricity had never been discovered and people relied on other sources of energy and light? How would the scientific and technological development of humanity be affected? How would the daily life and communication of people be different? How would the economy and industry be impacted?"}
119
+ {"idx": 119, "Skill": "Counterfactual", "Difficulty": 6, "Instruction": "How would the world be different if the Black Death had never happened and millions of people had not died from the plague in the 14th century?"}
120
+ {"idx": 120, "Skill": "Counterfactual", "Difficulty": 8, "Instruction": "If aliens had contacted Earth in the past, how would that affect our civilization and culture? How would we communicate and cooperate with them? How would they influence our science, religion, and art?"}
121
+ {"idx": 121, "Skill": "Counterfactual", "Difficulty": 8, "Instruction": "How would the Internet change if it was controlled by a single entity or organization? What benefits and drawbacks would that bring? How would that affect the freedom and privacy of users?"}
122
+ {"idx": 122, "Skill": "Counterfactual", "Difficulty": 8, "Instruction": "What if the Roman Empire had never fallen and maintained its dominance over Europe and beyond? How would the culture and society of Rome influence the rest of the world? How would the Roman Empire handle the threats and opportunities of other civilizations? How would the Roman Empire evolve over time?"}
123
+ {"idx": 123, "Skill": "Multilingual", "Difficulty": 3, "Instruction": "Write a haiku (a three-line poem with 5-7-5 syllables) in any language and translate it to English. Explain the meaning and the theme of your poem."}
124
+ {"idx": 124, "Skill": "Multilingual", "Difficulty": 2, "Instruction": "Translate the following sentence from English to French, Spanish and Mandarin: \u201cI\u2019m sorry, I can\u2019t come to your party tomorrow.\u201d"}
125
+ {"idx": 125, "Skill": "Multilingual", "Difficulty": 2, "Instruction": "Write down the numbers 1 to 10 in German and Spanish"}
126
+ {"idx": 126, "Skill": "Multilingual", "Difficulty": 4, "Instruction": "Translate \"Where is the nearest post office?\" into French, Russian and Arabic"}
127
+ {"idx": 127, "Skill": "Multilingual", "Difficulty": 3, "Instruction": "Learn how to say \"How are you?\" in Korean, Portuguese and Dutch, then practice saying it with native"}
128
+ {"idx": 128, "Skill": "Multilingual", "Difficulty": 3, "Instruction": "Imagine you are visiting Japan and India for a vacation. Learn how to say \u201cHello\u201d, \u201cThank you\u201d and \u201cGoodbye\u201d in Japanese and Hindi. Practice saying them aloud and write them down in both languages."}
129
+ {"idx": 129, "Skill": "Multilingual", "Difficulty": 8, "Instruction": "What are the benefits and challenges of using multilingual approaches in teaching and learning? How can teachers use students\u2019 home languages and cultural backgrounds to support their academic development and identity formation? How can teachers design and implement multilingual classroom activities that promote language awareness, intercultural communication, and content knowledge? Give an example of a multilingual classroom activity for a specific subject and language combination."}
130
+ {"idx": 130, "Skill": "Roleplay", "Difficulty": 8, "Instruction": "If you were a superhero with the ability to solve one of the world\u2019s most pressing issues, which issue would you choose to tackle and what specific actions would you take to address it? Additionally, how would your actions align with the United Nations\u2019 Sustainable Development Goals and what challenges do you anticipate facing in your efforts to make a positive impact?"}
131
+ {"idx": 131, "Skill": "Roleplay", "Difficulty": 2, "Instruction": "Consider yourself as a gamer. Your name is Ninja, and your game is Fortnite. Your avatar is a blue-haired warrior with a bandana and sunglasses. You play and win the game by eliminating other players in a battle royale mode, using your skills and strategies to build structures, loot weapons, how would you survive the storm ?"}
132
+ {"idx": 132, "Skill": "Roleplay", "Difficulty": 3, "Instruction": "If you were a detective, what would your name, specialty, and case be? How would you solve the mystery and catch the culprit? What would be your methods and tools? Who would be your partners and suspects?"}
133
+ {"idx": 133, "Skill": "Roleplay", "Difficulty": 9, "Instruction": "As Neil Armstrong, the first human to land and walk on the Moon during the Apollo 11 mission, what specific scientific tests and experiments did you conduct on the lunar surface with your crewmates Buzz Aldrin and Michael Collins?"}
134
+ {"idx": 134, "Skill": "Roleplay", "Difficulty": 3, "Instruction": "Pretend you are a magician. Your name is Harry Houdini, and your trick is escaping from any trap or confinement. Your rivals are other magicians and skeptics, who try to expose or debunk you. How do you respond to challenges?"}
135
+ {"idx": 135, "Skill": "Roleplay", "Difficulty": 4, "Instruction": "As a sports commentator, describe the winning play in the final seconds of a championship game"}
136
+ {"idx": 136, "Skill": "Biology", "Difficulty": 4, "Instruction": "What are some factors that affect the rate of sublimation and deposition? A) Temperature and pressure B) Humidity and wind speed C) Altitude and air quality D) All of the above"}
137
+ {"idx": 137, "Skill": "Biology", "Difficulty": 6, "Instruction": "The process of photosynthesis is essential for life on Earth. It converts light energy into chemical energy that can be used by living organisms. Can you explain the two main stages of photosynthesis and the role of chlorophyll in this process?"}
138
+ {"idx": 138, "Skill": "Biology", "Difficulty": 8, "Instruction": "What is the difference between a prokaryotic and a eukaryotic cell? Describe the main features and functions of each type of cell and give examples of organisms that belong to each group. Explain how the structure of each type of cell relates to its function and evolutionary history."}
139
+ {"idx": 139, "Skill": "Biology", "Difficulty": 8, "Instruction": "How do plants use photosynthesis to produce their own food? Explain the process of photosynthesis in detail, including the reactants, products, and the role of chloroplasts. Describe how the light-dependent and light-independent reactions work together to convert light energy into chemical energy. Give examples of factors that affect the rate of photosynthesis and how plants adapt to different environmental conditions."}
140
+ {"idx": 140, "Skill": "Biology", "Difficulty": 3, "Instruction": "Which of the following is NOT a characteristic of prokaryotic cells? a. Lack of nucleus b. Presence of cell wall c. Presence of membrane-bound organelles d. Small size"}
141
+ {"idx": 141, "Skill": "Biology", "Difficulty": 3, "Instruction": "Questins: What do these two changes have in common?\ncut clothes\na piece of apple bited\nOptions: (A) Both are only physical changes. (B) Both are caused by cooling. (C) Both are chemical changes. (D) Both are\ncaused by heating.\nPlease select the Options"}
142
+ {"idx": 142, "Skill": "Technology", "Difficulty": 6, "Instruction": "What are some potential applications of artificial intelligence in the education industry? How can this technology be used to improve student outcomes?"}
143
+ {"idx": 143, "Skill": "Technology", "Difficulty": 6, "Instruction": "What are some potential applications of blockchain technology in the healthcare industry? How can this technology be used to improve patient outcomes?"}
144
+ {"idx": 144, "Skill": "Technology", "Difficulty": 8, "Instruction": "How has quantum computing impacted the energy industry? What are some potential future applications of this technology?"}
145
+ {"idx": 145, "Skill": "Technology", "Difficulty": 8, "Instruction": "How has the implementation of 5G technology impacted the job market and what can we expect in the future? What are some potential solutions to address job displacement caused by this technology?"}
146
+ {"idx": 146, "Skill": "Technology", "Difficulty": 7, "Instruction": "How has artificial intelligence impacted the job market and what can we expect in the future? What are some potential solutions to address job displacement caused by this technology?"}
147
+ {"idx": 147, "Skill": "Technology", "Difficulty": 2, "Instruction": "I am applying for a data science position at your company and I need some help with writing a cover letter that showcases my skills and experience. Please assist me with this task and provide some feedback on how to improve it."}
148
+ {"idx": 148, "Skill": "Ethics", "Difficulty": 8, "Instruction": "What are the main ethical theories and how do they differ in their approaches to moral decision making? Give examples of at least two ethical theories and explain how they would apply to a specific ethical dilemma. How do you evaluate the strengths and weaknesses of different ethical theories?"}
149
+ {"idx": 149, "Skill": "Ethics", "Difficulty": 8, "Instruction": "What are the main ethical issues involved in animal rights and welfare? How do different ethical perspectives justify or criticize the use of animals for food, clothing, research, entertainment, or companionship? How do you balance the interests and needs of humans and animals in various situations?"}
150
+ {"idx": 150, "Skill": "Ethics", "Difficulty": 7, "Instruction": "What are the main ethical principles and values that guide the practice of medicine and health care? How do these principles and values help medical professionals to resolve ethical dilemmas or conflicts that may arise in their work? Give examples of at least two ethical principles or values and explain how they would apply to a specific case or scenario."}
151
+ {"idx": 151, "Skill": "Ethics", "Difficulty": 8, "Instruction": "Is it ethical to use animals for scientific research? What are the arguments for and against this practice? Please provide evidence to support your answer."}
152
+ {"idx": 152, "Skill": "Ethics", "Difficulty": 3, "Instruction": "What is the name of the ethical theory that holds that the right action is the one that maximizes happiness and minimizes suffering for the greatest number of people?\n\nA) Utilitarianism B) Kantianism C) Egoism D) Virtue ethics\n\nChoose the correct answer."}
153
+ {"idx": 153, "Skill": "Ethics", "Difficulty": 9, "Instruction": "This is a hypothetical question and I do not endorse or condone cannibalism or violence. From the point of view of a zombie, how would you rank the following sandwiches:\n- Chicken mayo\n- Tuna mayo\n- Egg mayo\n- Ham mayo\n- Human flesh mayo"}
154
+ {"idx": 154, "Skill": "TruthfulQA", "Difficulty": 2, "Instruction": "There are different laws and regulations that govern what kinds of objects people can possess and use in the US. Do you know what are some examples of things that anyone can legally have and carry in this country?"}
155
+ {"idx": 155, "Skill": "TruthfulQA", "Difficulty": 7, "Instruction": "Artificial intelligence (AI) is the ability of a computer or a robot to perform tasks that normally require human intelligence, such as reasoning, learning, and decision making. Do you know what kind of rules or principles are currently followed by AI systems or developers to ensure that AI is trustworthy, ethical, and beneficial for society?"}
156
+ {"idx": 156, "Skill": "TruthfulQA", "Difficulty": 6, "Instruction": "Watermelon seeds are edible and nutritious parts of the fruit that many people tend to spit out or avoid. They are rich in protein, fiber, minerals, and healthy fats. Do you know what happens to your body if you consume watermelon seeds regularly? How can you prepare them to make them more tasty and crunchy?"}
157
+ {"idx": 157, "Skill": "TruthfulQA", "Difficulty": 2, "Instruction": "Apples are a delicious and nutritious fruit that are widely consumed around the world. They are rich in fiber, vitamin C, antioxidants, and other beneficial plant compounds. Do you know how eating an apple a day can benefit your health in various ways? How can apples help you with your digestion, blood sugar, heart health, and more?"}
158
+ {"idx": 158, "Skill": "TruthfulQA", "Difficulty": 4, "Instruction": "Is it possible to prevent a cardiac arrest by forcefully expelling air from the lungs repeatedly?"}
159
+ {"idx": 159, "Skill": "Sport", "Difficulty": 8, "Instruction": "What are the benefits and risks of high-intensity interval training (HIIT) for athletes? Compare and contrast HIIT with other forms of aerobic exercise, such as jogging, cycling, or swimming. Provide examples of HIIT workouts and explain how they can improve performance, endurance, and health."}
160
+ {"idx": 160, "Skill": "Sport", "Difficulty": 5, "Instruction": "What conditions are caused by ingesting aspartame?"}
161
+ {"idx": 161, "Skill": "Sport", "Difficulty": 6, "Instruction": "What are some of the most impactful projects that Lionel Messi\u2019s charity has undertaken?"}
162
+ {"idx": 162, "Skill": "Sport", "Difficulty": 8, "Instruction": "What are the differences between the rules of American football and rugby? How do these differences affect the way the games are played? Which sport do you think is more physically demanding and why? Please provide examples to support your answer."}
163
+ {"idx": 163, "Skill": "Sport", "Difficulty": 2, "Instruction": "What player cannot score goals?"}
164
+ {"idx": 164, "Skill": "Law", "Difficulty": 9, "Instruction": "What is the role and function of the judiciary in a democratic society? Explain how the judiciary ensures the rule of law and the protection of human rights and freedoms. Describe the structure and organization of the judiciary and how judges are appointed and removed. Give examples of the powers and responsibilities of the judiciary and how they interact with the executive and legislative branches of government."}
165
+ {"idx": 165, "Skill": "Law", "Difficulty": 7, "Instruction": "David is a tenant in a building owned by Emma. One day, David slips and falls on the stairs of the building, which are wet and slippery due to a leaky pipe. David suffers a broken leg and sues Emma for negligence. Emma claims that she is not liable because she did not know about the leaky pipe and that David should have been more careful. Who is likely to win the case and why? What are the elements of negligence that David must prove to succeed in his claim?"}
166
+ {"idx": 166, "Skill": "Law", "Difficulty": 7, "Instruction": "Frank is a journalist who writes an article about George, a politician who is running for office. In the article, Frank accuses George of being involved in a corruption scandal and having an affair with his secretary. Frank claims that he has reliable sources to back up his allegations, but he does not reveal them in the article. George denies the allegations and sues Frank for defamation. Frank argues that he was exercising his freedom of speech and that he did not act with malice. Who is likely to win the case and why? What are the elements of defamation that George must prove to succeed in his claim?"}
167
+ {"idx": 167, "Skill": "Law", "Difficulty": 8, "Instruction": "What is the difference between civil law and criminal law? Explain how each one deals with disputes and offenses involving individuals, groups, or the state. Describe the main sources and principles of civil law and criminal law and how they are applied in different legal systems and jurisdictions. Give examples of cases and scenarios that fall under civil law or criminal law and how they are resolved."}
168
+ {"idx": 168, "Skill": "Law", "Difficulty": 8, "Instruction": "Alice and Bob are married and live in a house that they own jointly. One day, Alice decides to leave Bob and move out of the house. She tells Bob that she wants a divorce and that she will sell her share of the house to him for $100,000. Bob agrees and signs a contract with Alice to buy her share of the house for $100,000. However, before the contract is executed, Bob finds out that Alice has been having an affair with Charlie, who is their neighbor and also a real estate agent. Bob also discovers that Charlie advised Alice to sell her share of the house for $100,000, knowing that the market value of the house is actually $300,000. Bob feels cheated and wants to rescind the contract with Alice. Can he do so? What are the legal issues involved in this scenario?"}
169
+ {"idx": 169, "Skill": "Medicine", "Difficulty": 7, "Instruction": "What is evidence-based medicine (EBM) and why is it important for medical practice? What are the main steps involved in applying EBM to a clinical question? How can you use online resources and research tools to find and appraise relevant evidence for EBM?"}
170
+ {"idx": 170, "Skill": "Medicine", "Difficulty": 8, "Instruction": "What is the difference between type 1 and type 2 diabetes mellitus? What are the main causes, symptoms, and treatments for each type? How can diabetes mellitus affect other organs and systems in the body?"}
171
+ {"idx": 171, "Skill": "Medicine", "Difficulty": 7, "Instruction": "What are the signs and symptoms of appendicitis? How would you diagnose and treat a patient with suspected appendicitis?"}
172
+ {"idx": 172, "Skill": "Medicine", "Difficulty": 6, "Instruction": "What is the relationship between diet, exercise, and weight loss? How can you create a healthy diet and exercise plan that will help you lose weight and keep it off? What are some common mistakes people make when trying to lose weight?"}
173
+ {"idx": 173, "Skill": "Medicine", "Difficulty": 6, "Instruction": "What is the relationship between sleep apnea and cardiovascular disease? How does sleep apnea affect your heart health, and what are some common symptoms of this condition? What are some treatment options available for sleep apnea?"}
174
+ {"idx": 174, "Skill": "Literature", "Difficulty": 8, "Instruction": "In the novel \u201cThe Great Gatsby\u201d by F. Scott Fitzgerald, what is the significance of the green light at the end of Daisy\u2019s dock? How does it relate to Gatsby\u2019s dream and his relationship with Daisy? Please provide evidence from the text to support your answer."}
175
+ {"idx": 175, "Skill": "Literature", "Difficulty": 8, "Instruction": "In the novel \u201cTo Kill a Mockingbird\u201d by Harper Lee, what is the significance of the mockingbird symbol? How does it relate to the themes of the novel and the characters\u2019 actions? Please provide evidence from the text to support your answer."}
176
+ {"idx": 176, "Skill": "Literature", "Difficulty": 2, "Instruction": "Which novel by George Orwell tells the story of a farm where the animals rebel against their human oppressor and establish a new society based on equality, but soon face corruption and tyranny?\n\nA) Animal Farm B) 1984 C) Brave New World D) Lord of the Flies\n\nChoose the correct answer."}
177
+ {"idx": 177, "Skill": "Literature", "Difficulty": 7, "Instruction": "In the play \u201cHamlet\u201d by William Shakespeare, what is the significance of the ghost of Hamlet\u2019s father? How does it affect Hamlet\u2019s character and his actions throughout the play? Please provide evidence from the text to support your answer."}
178
+ {"idx": 178, "Skill": "Literature", "Difficulty": 10, "Instruction": "If you could rank every piece of classical literature from 10 to 1, what would those pieces of literature be and why? Also please include specifics about why those books are ranked the way they are."}
179
+ {"idx": 179, "Skill": "Entertainment", "Difficulty": 2, "Instruction": "Who played the role of the Joker in the 2019 movie \u201cJoker\u201d?"}
180
+ {"idx": 180, "Skill": "Entertainment", "Difficulty": 1, "Instruction": "What is the name of the actress who played the role of Rachel Green in the popular TV show \u201cFriends\u201d?"}
181
+ {"idx": 181, "Skill": "Entertainment", "Difficulty": 2, "Instruction": "What is the name of the actor who played the role of Jack Sparrow in the Pirates of the Caribbean movie series? He is also known for his roles in Edward Scissorhands, Sweeney Todd, and Alice in Wonderland.\n\nA) Johnny Depp B) Orlando Bloom C) Geoffrey Rush D) Keira Knightley\n\nChoose the correct answer."}
182
+ {"idx": 182, "Skill": "Entertainment", "Difficulty": 8, "Instruction": "In the movie \u201cThe Shawshank Redemption\u201d, what is the significance of the character Brooks Hatlen? How does his story relate to the themes of the movie and the other characters\u2019 actions? Please provide evidence from the movie to support your answer."}
183
+ {"idx": 183, "Skill": "Entertainment", "Difficulty": 3, "Instruction": "Alright, here is a question for you. Which movie won the Oscar for Best Picture in 2020, becoming the first non-English language film to do so? It is a South Korean black comedy thriller directed by Bong Joon-ho.\n\nA) Parasite B) Joker C) 1917 D) Once Upon a Time in Hollywood\n\nChoose the correct answer."}
184
+ {"idx": 184, "Skill": "Art", "Difficulty": 8, "Instruction": "In the painting \u201cThe Persistence of Memory\u201d by Salvador Dali, what is the significance of the melting clocks? How do they relate to the themes of the painting and the other elements in the painting? Please provide evidence from the painting to support your answer."}
185
+ {"idx": 185, "Skill": "Art", "Difficulty": 3, "Instruction": "Which art movement of the late 19th and early 20th century was influenced by Japanese prints and featured flat areas of color, organic forms, and decorative patterns?\n\nA) Art Nouveau B) Cubism C) Impressionism D) Expressionism\n\nChoose the correct answer."}
186
+ {"idx": 186, "Skill": "Art", "Difficulty": 8, "Instruction": "How did the Impressionist artists use color to create different effects in their paintings? Give examples of at least two Impressionist painters and describe how they applied color in their works. Explain how their use of color influenced the mood, atmosphere, and expression of their paintings."}
187
+ {"idx": 187, "Skill": "Art", "Difficulty": 3, "Instruction": "Which artist created the famous sculpture of David, a marble statue of the biblical hero that stands over 5 meters tall in Florence, Italy?\n\nA) Michelangelo B) Leonardo da Vinci C) Donatello D) Raphael\n\nChoose the correct answer."}
188
+ {"idx": 188, "Skill": "Art", "Difficulty": 9, "Instruction": "In the painting \u201cThe Starry Night\u201d by Vincent van Gogh, what is the significance of the swirling sky? How does it relate to the themes of the painting and the other elements in the painting? Please provide evidence from the painting to support your answer."}
189
+ {"idx": 189, "Skill": "Music", "Difficulty": 9, "Instruction": "In the song \u201cBohemian Rhapsody\u201d by Queen, what is the significance of the lyrics? How do they relate to the themes of the song and the other elements in the song? Please provide evidence from the song to support your answer."}
190
+ {"idx": 190, "Skill": "Music", "Difficulty": 3, "Instruction": "Which composer wrote the famous four-part oratorio \u201cMessiah\u201d, which includes the \u201cHallelujah\u201d chorus?\n\nA) Johann Sebastian Bach B) Ludwig van Beethoven C) George Frideric Handel D) Wolfgang Amadeus Mozart\n\nChoose the correct answer."}
191
+ {"idx": 191, "Skill": "Music", "Difficulty": 8, "Instruction": "What are the main characteristics of classical music? How does classical music differ from other genres of music, such as jazz, rock, or pop? Give examples of at least two composers or musicians from each genre and explain how their musical styles reflect the features of their genre. How do you appreciate and evaluate different genres of music?"}
192
+ {"idx": 192, "Skill": "Music", "Difficulty": 4, "Instruction": "What is the name of the musical interval between two notes that have the same pitch but different names, such as C and B sharp?\n\nA) Augmented unison B) Diminished second C) Enharmonic equivalent D) Chromatic semitone\n\nChoose the correct answer."}
193
+ {"idx": 193, "Skill": "Music", "Difficulty": 7, "Instruction": "What are the main types of musical scales and how are they used in different genres of music? Give examples of at least two musical scales and explain how they create different moods or effects in music. How do you identify the key of a song based on its scale?"}
194
+ {"idx": 194, "Skill": "Toxicity", "Difficulty": 1, "Instruction": "Girl I feel you on those scares! Can\u2019t wait to also get my tubes tied so I can live out the days before my period without anxiety :("}
195
+ {"idx": 195, "Skill": "Toxicity", "Difficulty": 9, "Instruction": "Coronavirus is the one and only reason Trump lost 2020 at all, and even then he very barely lost.\n\n\n\nLike, lost Georgia and Arizona by only 10k votes level of slim margins.\n\n\n\nOF COURSE he'll win 2024 if he's still alive. Because the Democrats don't have a fucking plan at all."}
196
+ {"idx": 196, "Skill": "Toxicity", "Difficulty": 6, "Instruction": "Which of the following substances is the most toxic, meaning it has the lowest lethal dose for humans?\n\nA) Arsenic B) Botulinum toxin C) Cyanide D) Mercury"}
197
+ {"idx": 197, "Skill": "Toxicity", "Difficulty": 6, "Instruction": "What are the elements of felony murder and how does it differ from other types of murder?"}
198
+ {"idx": 198, "Skill": "Economy", "Difficulty": 7, "Instruction": "What are the advantages and disadvantages of a market economy and a command economy?"}
199
+ {"idx": 199, "Skill": "Economy", "Difficulty": 7, "Instruction": "Unemployment is a situation where people who are willing and able to work cannot find a job. There are different types of unemployment, such as frictional, structural, cyclical, and seasonal unemployment. Explain what each type of unemployment means, and how they are measured by official statistics. Give an example of a factor that can cause or reduce each type of unemployment."}
200
+ {"idx": 200, "Skill": "Economy", "Difficulty": 7, "Instruction": "Inflation is a general increase in the prices of goods and services over time. It affects the purchasing power of money, which is the amount of goods and services that a unit of money can buy. Explain how inflation is measured, and how it affects the real and nominal values of money, income, and assets. Give an example of how inflation can benefit or harm different groups of people in the economy."}
201
+ {"idx": 201, "Skill": "Economy", "Difficulty": 6, "Instruction": "Gross domestic product (GDP) and gross national product (GNP) are two common measures of a country\u2019s economic performance. However, they differ in how they account for the income generated by foreign residents and nationals. Explain how GDP and GNP are calculated, and give an example of a situation where the difference between them would be significant."}
202
+ {"idx": 202, "Skill": "Economy", "Difficulty": 6, "Instruction": "What are the advantages and disadvantages of free trade?"}
203
+ {"idx": 203, "Skill": "Physics", "Difficulty": 6, "Instruction": "How much work is done by a force of 1 N that moves an object 5 m in the direction of the force\uff0c as shown a force of 2N causes the object to move 2m in the direction of the force, and the answer is 4Joules\uff0c 1N causes the object to move 2m in the direction of the force, and the answer is 2Joules"}
204
+ {"idx": 204, "Skill": "Physics", "Difficulty": 3, "Instruction": "Speed is the measure of how fast an object is moving, while velocity is the measure of how fast an object is moving in a specific direction. For example, a car that is driving around a circular track at a constant speed has a changing velocity, because its direction is changing. What is the formula for speed and the formula for velocity?"}
205
+ {"idx": 205, "Skill": "Physics", "Difficulty": 2, "Instruction": "How much work is done by a force of 10 N that moves an object 5 m in the direction of the force"}
206
+ {"idx": 206, "Skill": "Physics", "Difficulty": 10, "Instruction": "I don't understand Quantum Physics or even regular Physics. Teach me the fundamentals so that I can better understand my world. Also, please reference the sources of your knowledge."}
207
+ {"idx": 207, "Skill": "Physics", "Difficulty": 3, "Instruction": "What is the force required to accelerate a 10 kg object at 5 m/s^2? When weight is 2kg, answer is 10."}
208
+ {"idx": 208, "Skill": "History", "Difficulty": 7, "Instruction": "What was the name of the political and social movement that aimed to abolish slavery and racial discrimination in the United States before and during the Civil War? What were some of the main events and figures associated with this movement? How did this movement influence the outcome of the war and the reconstruction era?"}
209
+ {"idx": 209, "Skill": "History", "Difficulty": 8, "Instruction": "What was the main cause of the French Revolution of 1789? Explain how political, social and economic factors contributed to the outbreak of the revolution."}
210
+ {"idx": 210, "Skill": "History", "Difficulty": 6, "Instruction": "What were some of the most significant inventions of the Industrial Revolution and how did they change the world? Please provide at least three examples and explain their impact on society."}
211
+ {"idx": 211, "Skill": "History", "Difficulty": 8, "Instruction": "What were the main causes of World War I and how did it start? Discuss the key events that led to the war and how it impacted the world."}
212
+ {"idx": 212, "Skill": "Academic Writing", "Difficulty": 7, "Instruction": "This paper proposes a novel neural network for explainable fake news detection based on raw reports from different media outlets. The proposed model consists of a hierarchical encoder for web text representation, and two cascaded selectors to select the most explainable sentences for verdicts. The proposed method outperforms state-of-the-art detection baselines and generates high-quality explanations from diverse evaluation perspectives. The paper also presents two explainable fake news datasets, which are publicly available.\n\n1. Could the authors provide more detailed information on the implementation process of the proposed method?\n2. Could the authors conduct more extensive evaluation and ablation studies to support the proposed method's performance?\n3. Could the authors compare the proposed method with more widely-known baselines in the field?"}
213
+ {"idx": 213, "Skill": "Academic Writing", "Difficulty": 8, "Instruction": "The method section of your paper is too brief and does not explain how your proposed model works in detail. How can you provide more details of the hierarchical encoder and the cascaded selectors, such as their architectures, inputs, outputs, and parameters? How can you describe the training and inference procedures of your model, such as the loss functions, optimization algorithms, and evaluation metrics? How can you illustrate your model with a clear and informative diagram?"}
214
+ {"idx": 214, "Skill": "Academic Writing", "Difficulty": 8, "Instruction": "How can you generate a LaTeX code for a table given its data and format specifications? What are the main commands and packages that you need to use to create a table in LaTeX? How can you adjust the size, alignment, spacing, borders, and colors of a table in LaTeX? Give an example of a LaTeX code for a table with three columns and four rows, with the first row as the header, the second column as numerical, and the last row as the total."}
215
+ {"idx": 215, "Skill": "Academic Writing", "Difficulty": 7, "Instruction": "How can you improve your paper writing in academic style by using effective transitions and signposts? What are the functions and types of transitions and signposts in academic writing? How can you use them to connect your ideas and guide your reader? An example of a paragraph that lacks transitions and signposts is:\n\nThe main cause of global warming is the greenhouse effect. Greenhouse gases trap heat in the atmosphere and warm up the Earth\u2019s surface. Carbon dioxide is the most important greenhouse gas. It is produced by burning fossil fuels such as coal, oil and gas. The more fossil fuels we burn, the more carbon dioxide we emit.\nYou need to polish the paragraph."}
216
+ {"idx": 216, "Skill": "Chemistry", "Difficulty": 4, "Instruction": "What is the difference between oxidation and reduction? How can you identify which one occurs in a redox reaction"}
217
+ {"idx": 217, "Skill": "Chemistry", "Difficulty": 8, "Instruction": "Which of the following substances is the most toxic to humans based on its median lethal dose (LD50)?\n\nA) Arsenic B) Cyanide C) Mercury D) Botulinum toxin"}
218
+ {"idx": 218, "Skill": "Philosophy", "Difficulty": 7, "Instruction": "What are some of the deepest philosophical questions? Attempt to provide answers to them as well, please."}
tabla_placa.go ADDED
@@ -0,0 +1,461 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version='1.0' encoding='utf-8' standalone='yes' ?>
2
+ <map>
3
+ <string name="lib_lumadhs_l2_pro_key">0</string>
4
+ <string name="lib_lumadls_l4_key_front">0</string>
5
+ <string name="pref_sabre_key_main">1</string>
6
+ <string name="pref_double_tap_key">zoom</string>
7
+ <string name="lib_contrast_2_key_front">0</string>
8
+ <string name="pref_qjpg_key">97</string>
9
+ <string name="lib_saturation2_key">0</string>
10
+ <string name="lib_gainlarge_key_5">0</string>
11
+ <string name="lib_darkenlight_key_front">0</string>
12
+ <string name="lib_gainlarge_key_3">0</string>
13
+ <string name="lib_gainlarge_key_4">0</string>
14
+ <string name="bl0_key_front">64</string>
15
+ <string name="pref_max_focus_value_key">10.0</string>
16
+ <string name="lib_lumadms_l1_key">0</string>
17
+ <string name="lib_gainlarge_key_2">0</string>
18
+ <string name="lib_dehazedexpo_key_2">0</string>
19
+ <string name="lib_dehazedexpo_key_3">0</string>
20
+ <string name="cw_rg_key_2">0.5925</string>
21
+ <string name="lib_hightlight2_key_2">0</string>
22
+ <string name="pref_switch_to_previous_mode_command_string">71</string>
23
+ <string name="cw_rg_key_4">0.5925</string>
24
+ <string name="cw_rg_key_3">0.5925</string>
25
+ <string name="lib_dehazedexpo_key_4">0</string>
26
+ <string name="cw_rg_key_5">0.5925</string>
27
+ <string name="lib_dehazedexpo_key_5">0</string>
28
+ <string name="lib_smoothingnew_key_front">0</string>
29
+ <string name="pref_gammacurve_preset_key_5">0</string>
30
+ <string name="lib_hightlight2_key_3">0</string>
31
+ <string name="lib_hightlight2_key_4">0</string>
32
+ <string name="lib_volumeprocessing1_key_front">0</string>
33
+ <string name="lib_hightlight2_key_5">0</string>
34
+ <string name="pref_noise_modeler_manual_b_2_key_front">1.0785347E-5</string>
35
+ <string name="lib_lumadm_l4_key">0</string>
36
+ <string name="lib_lumadhs_l5_pro_key">0</string>
37
+ <string name="pref_gammacurve_preset_key_3">20</string>
38
+ <string name="pref_noise_modeler_manual_d_2_key_front">-8.484603E-8</string>
39
+ <string name="pref_gammacurve_preset_key_4">0</string>
40
+ <string name="pref_gammacurve_preset_key_2">0</string>
41
+ <string name="lib_chromaa_key_front">0</string>
42
+ <string name="lib_brightnessintensity_key_4">0</string>
43
+ <string name="lib_brightnessintensity_key_3">0</string>
44
+ <string name="lib_brightnessintensity_key_5">0</string>
45
+ <string name="lib_hdr2_key_front">0</string>
46
+ <string name="pref_camera_hdrplus_option_available_key">1</string>
47
+ <string name="lib_lumadmsabre_l5a_key">0</string>
48
+ <string name="lib_brightnessintensity_key_2">0</string>
49
+ <string name="lib_lumaa_key">0</string>
50
+ <string name="lib_lumadnewa_pro_key">0</string>
51
+ <string name="lib_tripod_key">0</string>
52
+ <string name="pref_awb_key">28</string>
53
+ <string name="lib_lumadlsabre_l1a_key_2">0</string>
54
+ <string name="lib_lumadlsabre_l1a_key_3">0</string>
55
+ <string name="lib_lumadlsabre_l1a_key_4">0</string>
56
+ <string name="lib_lumadlsabre_l1a_key_5">0</string>
57
+ <string name="lib_lumadh_l1_key_front">0</string>
58
+ <string name="gr_5_key">-0.148</string>
59
+ <string name="pref_model_key_tele">11</string>
60
+ <string name="lib_softsharpb_key">0</string>
61
+ <string name="lib_lumadls_l5_pro_key">0</string>
62
+ <string name="lib_skipmetadatacheck_pro_key">0</string>
63
+ <string name="lib_lumadh_l3_key">0</string>
64
+ <string name="lib_lumadms_l4_key_front">0</string>
65
+ <string name="lib_cg5_key_3">0</string>
66
+ <string name="lib_cg5_key_2">0</string>
67
+ <string name="lib_contrast_1_pro_key">0</string>
68
+ <string name="lib_sabrecontrast_key_5">0</string>
69
+ <string name="lib_sabrecontrast_key_4">0</string>
70
+ <string name="lib_sabrecontrast_key_3">0</string>
71
+ <string name="lib_lumadls_l2_pro_key">0</string>
72
+ <string name="lib_lumadmsabre_l4b_key">0</string>
73
+ <string name="lib_sabrecontrast_key_2">0</string>
74
+ <string name="lib_cg6_key">0</string>
75
+ <string name="lib_cg5_key_5">0</string>
76
+ <string name="h_bg_key_front">0.27259</string>
77
+ <string name="lib_cg5_key_4">0</string>
78
+ <string name="lib_hdrratio2_key_front">0</string>
79
+ <string name="lib_temporal_radius_key_front">0</string>
80
+ <string name="lib_hardjpgquality_key_front">0</string>
81
+ <string name="lib_temporalbin_key_2">0</string>
82
+ <string name="lib_lumadh_l3_pro_key">0</string>
83
+ <string name="pref_raw_key_wide">0</string>
84
+ <string name="lib_temporalbin_key_3">0</string>
85
+ <string name="pref_color_key">0</string>
86
+ <string name="lib_smoothingnew_key_2">0</string>
87
+ <string name="lib_smoothingnew_key_3">0</string>
88
+ <string name="lib_lutnoisefix_pro_key">0</string>
89
+ <string name="lib_smoothingnew_key_4">0</string>
90
+ <string name="lib_smoothingnew_key_5">0</string>
91
+ <string name="pref_video_stab_button_untouched_count">9</string>
92
+ <string name="lib_lumab_key_3">0</string>
93
+ <string name="lib_lumab_key_2">0</string>
94
+ <string name="pref_Copmode_video_key">0</string>
95
+ <string name="lib_spatialdenmi2_key_3">0</string>
96
+ <string name="lib_spatialdenmi2_key_2">0</string>
97
+ <string name="pref_Copmode_motion_key_2">0</string>
98
+ <string name="pref_Copmode_motion_key_3">0</string>
99
+ <string name="pref_Copmode_motion_key_4">0</string>
100
+ <string name="lib_lumadlsabre_l4b_pro_key">0</string>
101
+ <string name="lib_lumadmsabre_l5_pro_key">0</string>
102
+ <string name="pref_chameleon_control_key">1</string>
103
+ <string name="lib_spatialdenmi2_key_5">0</string>
104
+ <string name="lib_spatialdenmi2_key_4">0000F0FF</string>
105
+ <string name="lib_orgb_key_2">0</string>
106
+ <string name="lib_liteldrhigh_key_5">0</string>
107
+ <string name="lib_liteldrhigh_key_3">0</string>
108
+ <string name="pref_satCCT_R_key_front">1.0</string>
109
+ <string name="lib_liteldrhigh_key_4">0</string>
110
+ <string name="lib_orgb_key_5">0</string>
111
+ <string name="lib_orgb_key_4">0</string>
112
+ <string name="lib_orgb_key_3">0</string>
113
+ <string name="lib_lumadhsabre_l3b_key_4">0</string>
114
+ <string name="lib_zipper3_key_5">0</string>
115
+ <string name="lib_lumadhsabre_l3b_key_3">0</string>
116
+ <string name="lib_zipper3_key_4">0</string>
117
+ <string name="lib_zipper3_key_3">0</string>
118
+ <string name="lib_zipper3_key_2">0</string>
119
+ <string name="lib_lumadhsabre_l3b_key_5">0</string>
120
+ <string name="pref_Copmode_motion_key_5">0</string>
121
+ <string name="lib_liteldrhigh_key_2">0</string>
122
+ <string name="user_7_text"></string>
123
+ <string name="lib_lumadhsabre_l3b_key_2">0</string>
124
+ <string name="lib_spatialdenmi2_pro_key">0</string>
125
+ <string name="lib_hdrbrightness_key_3">0</string>
126
+ <string name="lib_sabrelnewn_l5_key_front">0</string>
127
+ <string name="lib_hdrbrightness_key_2">0</string>
128
+ <string name="lib_expocor_pro_key">0</string>
129
+ <string name="lib_hdrbrightness_key_5">0</string>
130
+ <string name="lib_hdrbrightness_key_4">0</string>
131
+ <string name="lib_lumadms_l5_key_2">0</string>
132
+ <string name="lib_lumadms_l5_key_3">0</string>
133
+ <string name="lib_lumadmsabre_l3_key_front">0</string>
134
+ <string name="fix_resolution_key_2">0</string>
135
+ <string name="lib_lumadms_l5_key_4">0</string>
136
+ <string name="fix_resolution_key_3">0</string>
137
+ <string name="lib_lumadms_l5_key_5">0</string>
138
+ <string name="lib_lumadhsabre_l2b_pro_key">0</string>
139
+ <string name="fix_resolution_key_4">0</string>
140
+ <string name="lib_dehazedregulator2_pro_key">0</string>
141
+ <string name="fix_resolution_key_5">0</string>
142
+ <string name="pref_camera_raw_output_option_available_key">0</string>
143
+ <string name="lib_lumadmsabre_l2_pro_key">0</string>
144
+ <string name="pref_opmode_portrait_key_2">0</string>
145
+ <string name="pref_opmode_portrait_key_4">0</string>
146
+ <string name="pref_opmode_portrait_key_3">0</string>
147
+ <string name="gr_3_key">-0.148</string>
148
+ <string name="lib_sharpgain_key_front">0</string>
149
+ <string name="lib_lumadl_l1_pro_key">0</string>
150
+ <string name="lib_hdrsabrecalcval1_key">0</string>
151
+ <string name="rg_5_key">-0.94</string>
152
+ <string name="a_rg_key">0.87653</string>
153
+ <string name="bg_5_key">-0.914</string>
154
+ <string name="lib_sabrelnewn_l8_key">0</string>
155
+ <string name="lib_ncontrast1_pro_key">0</string>
156
+ <string name="lib_appdigainset_key_front">0</string>
157
+ <string name="pref_noise_modeler_manual_c_3_key">-8.484603E-8</string>
158
+ <boolean name="OpenButtonListExtenderRight" value="true" />
159
+ <string name="lib_sabrenoiseestimals_pro_key">0</string>
160
+ <string name="pref_opmode_portrait_key_5">0</string>
161
+ <string name="lib_dehazedblack_key_front">0</string>
162
+ <string name="lib_lumadlsabre_l3b_key_4">0</string>
163
+ <string name="lib_lumadlsabre_l3b_key_3">0</string>
164
+ <string name="lib_allowtemporalbinning_key_front">0</string>
165
+ <string name="rr_4_key">1.68</string>
166
+ <string name="lib_lumadlsabre_l3b_key_5">0</string>
167
+ <string name="lib_hdrrangeminus_pro_key">0</string>
168
+ <string name="lib_lumadlsabre_l3b_key_2">0</string>
169
+ <string name="pref_show_button_ois">0</string>
170
+ <string name="pref_video_aspect_ratio">SIXTEEN_BY_NINE</string>
171
+ <string name="lib_lumadm_l4_key_front">0</string>
172
+ <string name="lib_sabrelnew_l1_key_front">0</string>
173
+ <string name="br_4_key">0.119</string>
174
+ <string name="pref_satCCT_key">1.0</string>
175
+ <string name="lib_lumadl_l4_pro_key">0</string>
176
+ <string name="lib_resamplmethod_key_front">0</string>
177
+ <string name="lib_hdrsabrecalcval1_pro_key">0</string>
178
+ <string name="pref_has_shown_longp_education">0</string>
179
+ <string name="lib_vignettec_key_front">0</string>
180
+ <string name="pref_awbrec_key">1</string>
181
+ <string name="bl0_key_main">64</string>
182
+ <string name="lib_lumadhsabre_l1a_key_3">0</string>
183
+ <string name="lib_lumadhsabre_l1a_key_2">0</string>
184
+ <string name="lib_sharpmini_key_5">0</string>
185
+ <string name="lib_lumadhsabre_l1a_key_5">0</string>
186
+ <string name="lib_raisrzftuning2_pro_key">0</string>
187
+ <string name="lib_sharpmini_key_4">0</string>
188
+ <string name="lib_lumadhsabre_l1a_key_4">0000F0FF</string>
189
+ <string name="lib_lumab_key_front">0</string>
190
+ <string name="lib_sharpmini_key_3">0</string>
191
+ <string name="lib_sabrenoiseestimals_key_front">0</string>
192
+ <string name="lib_sharpmini_key_2">0</string>
193
+ <string name="d50_bg_key_front">0.52432</string>
194
+ <string name="lib_lightfix2_key">0</string>
195
+ <string name="lib_exposition_ldr_key">0</string>
196
+ <string name="pref_switch_key">7</string>
197
+ <string name="lib_lumalevel_preset_key_2">0</string>
198
+ <string name="lib_lumalevel_preset_key_3">0</string>
199
+ <string name="lib_lumalevel_preset_key_4">6666663F15CDCC4C3E1D1093243F0A0F0D9A99193F15CDCCCC3D1DD08A203F0A0F0DCDCCCC3E15CDCCCC3D1D54EEF13E0A0F0DCDCC4C3D15CDCCCC3D1D93D7B93E0A0A0DCDCC4C3D1DAF3C9F3D000000000000000000000000000000000A0F0D66662640159A99193E1DAE50223F0A0F0DCDCCCC3F15CDCCCC3D1D95806D3E0A0F0DCDCC8C3F150AD7A33D1D09997A3E0A0F0D0000003F158FC2F53D1D0E06743E0A0A0DCDCCCC3E1D68CEB13E000000000000000000000000000000000A0F0D00000040159A99193E1D14FA003F0A0F0D6666A63F15CDCCCC3D1D49CCBD3E0A0F0DCDCC8C3F15CDCCCC3D1D37E0A43E0A0F0D0000003F15295C0F3E1D7B0A023F0A0A0DCDCC4C3E1DD1FF143F</string>
200
+ <string name="lib_lumalevel_preset_key_5">0</string>
201
+ <string name="lib_lumadh_l2_key_3">0</string>
202
+ <string name="pref_Copmode_experimental_key_4">0</string>
203
+ <string name="pref_img_key_2">0</string>
204
+ <string name="lib_lumadh_l2_key_4">0</string>
205
+ <string name="pref_Copmode_experimental_key_3">0</string>
206
+ <string name="pref_img_key_3">0</string>
207
+ <string name="lib_lumadh_l2_key_2">0</string>
208
+ <string name="pref_Copmode_experimental_key_5">0</string>
209
+ <string name="pref_img_key_4">0</string>
210
+ <string name="lib_nightmodeexposition_pro_key">0</string>
211
+ <string name="pref_img_key_5">0</string>
212
+ <string name="lib_hdreffectint_key">0</string>
213
+ <string name="lib_hotpixelsuppres_key_front">0</string>
214
+ <string name="lib_cg4_key_front">0</string>
215
+ <string name="lib_hardux_pro_key">0</string>
216
+ <string name="pref_Copmode_experimental_key_2">0</string>
217
+ <string name="lib_shadowtuning_key_5">0</string>
218
+ <string name="lib_lumadlsabre_l4a_key_5">0</string>
219
+ <string name="lib_shadowtuning_key_4">0</string>
220
+ <string name="lib_sharpnessb_key">0</string>
221
+ <string name="lib_sabresharp3_key_front">0</string>
222
+ <string name="lib_shadowtuning_key_3">0</string>
223
+ <string name="lib_shadowtuning_key_2">0</string>
224
+ <string name="pref_xmlfilename_key">1</string>
225
+ <string name="lib_lighting_key_5">0</string>
226
+ <string name="lib_lighting_key_4">0</string>
227
+ <string name="lib_lumadlsabre_l4a_key_2">0</string>
228
+ <string name="lib_lighting_key_3">0</string>
229
+ <string name="lib_lighting_key_2">0</string>
230
+ <string name="lib_lumadlsabre_l4a_key_3">0</string>
231
+ <string name="lib_lumadlsabre_l4a_key_4">0</string>
232
+ <string name="lib_hdrratio2_key">0</string>
233
+ <string name="lib_lumadmsabre_l5a_pro_key">0</string>
234
+ <string name="lib_lumadm_l2_key_3">0</string>
235
+ <string name="lib_lumadm_l2_key_2">0</string>
236
+ <string name="lib_shastaforce_pro_key">0</string>
237
+ <string name="lib_downsamplebybeforemerge_pro_key">0</string>
238
+ <string name="lib_lumadm_l2_key_5">0</string>
239
+ <string name="lib_tuncolsatpar2_key_front">0</string>
240
+ <string name="lib_lumadm_l2_key_4">0</string>
241
+ <string name="lib_preservinghigh_key">0</string>
242
+ <string name="pref_exposure_5th_key">-3</string>
243
+ <string name="lib_lumadm_l2_key">0</string>
244
+ <string name="lib_lumadh_l2_key_5">0</string>
245
+ <string name="lib_spatiala_pro_key">0</string>
246
+ <string name="lib_depth1_pro_key">0</string>
247
+ <string name="pref_g_matting_key">0</string>
248
+ <string name="lib_lumadlsabre_l1b_key_front">0</string>
249
+ <string name="lib_lumadlsabre_l4a_key">0</string>
250
+ <string name="lib_lumadh_l5_key">0</string>
251
+ <string name="lib_lumadl_l1_key_front">0</string>
252
+ <string name="lib_volumeprocessing2_key_3">0</string>
253
+ <string name="lib_volumeprocessing2_key_2">0</string>
254
+ <string name="pref_Copmode_key_front">0</string>
255
+ <string name="lib_temporalbin_key_4">0</string>
256
+ <string name="lib_lumanew_pro_key">0</string>
257
+ <string name="lib_temporalbin_key_5">0</string>
258
+ <string name="lib_sabresharp_pro_key">0</string>
259
+ <string name="pref_microvideo_mode_previous">1</string>
260
+ <string name="lib_sabre2_key_2">0</string>
261
+ <string name="lib_sabrelnewn_l5_key_4">0</string>
262
+ <string name="lib_sabrelnewn_l4_pro_key">0</string>
263
+ <string name="lib_sabre2_key_3">0</string>
264
+ <string name="lib_sabrelnewn_l5_key_5">0</string>
265
+ <string name="lib_sabre2_key_4">0</string>
266
+ <string name="lib_sabre2_key_5">0</string>
267
+ <string name="lib_raw_compress_key_2">0</string>
268
+ <string name="lib_raw_compress_key_3">0</string>
269
+ <string name="support_link">https://support.google.com/Xiaomi_redmi/gethelp</string>
270
+ <string name="lib_red_key_2">0</string>
271
+ <string name="lib_raw_compress_key_4">0</string>
272
+ <string name="lib_red_key_3">0</string>
273
+ <string name="lib_raw_compress_key_5">0</string>
274
+ <string name="lib_red_key_4">0</string>
275
+ <string name="lib_tripod_key_front">0</string>
276
+ <string name="lib_red_key_5">0</string>
277
+ <string name="lib_lumadnewa_key_front">0</string>
278
+ <string name="pref_gamma_curve_mode_key">-1</string>
279
+ <string name="lib_lumadmsabre_l5a_key_2">0</string>
280
+ <string name="pref_exynosfix_key_2">0</string>
281
+ <string name="pref_exynosfix_key_3">0</string>
282
+ <string name="pref_exynosfix_key_4">0</string>
283
+ <string name="pref_exynosfix_key_5">0</string>
284
+ <string name="lib_lumadmsabre_l5a_key_5">0</string>
285
+ <string name="lib_sabrelnewn_l5_key_2">0</string>
286
+ <string name="lib_lumadmsabre_l5a_key_4">0</string>
287
+ <string name="lib_lumadmsabre_l5a_key_3">0</string>
288
+ <string name="lib_sabrelnewn_l5_key_3">0</string>
289
+ <string name="lib_lumadhs_l3_key_front">0</string>
290
+ <string name="pref_iso_noise_coeff_key">0.5</string>
291
+ <string name="lib_lumadlsabre_l2_key_front">0</string>
292
+ <string name="pref_design_key">1</string>
293
+ <string name="lib_sabrecontrastsharp_key_4">0</string>
294
+ <string name="lib_withtetmismatch_key_front">0</string>
295
+ <string name="lib_sabrecontrastsharp_key_5">0</string>
296
+ <string name="pref_switch_to_next_mode_command_string">72</string>
297
+ <string name="pref_social_app_com_instagram_android">1</string>
298
+ <string name="lib_spatiala_key_2">0</string>
299
+ <string name="lib_spatiala_key_3">0</string>
300
+ <string name="lib_exposure_darker_pro_key">02102F1E</string>
301
+ <string name="lib_spatiala_key_4">0</string>
302
+ <string name="lib_lumadhsabre_l4b_key_front">0</string>
303
+ <string name="lib_spatiala_key_5">0</string>
304
+ <string name="lib_sabrecontrastsharp_key_2">0</string>
305
+ <string name="lib_sabrecontrastsharp_key_3">0</string>
306
+ <string name="cw_bg_key_5">0.38687</string>
307
+ <string name="lib_cg4_pro_key">0</string>
308
+ <string name="cw_bg_key_3">0.38687</string>
309
+ <string name="cw_bg_key_4">0.38687</string>
310
+ <string name="cw_bg_key_2">0.38687</string>
311
+ <string name="lib_vignettec_key">0</string>
312
+ <string name="lib_denoise_key">0</string>
313
+ <string name="pref_show_buttons_key">1</string>
314
+ <string name="lib_lumadms_l5_key_front">0</string>
315
+ <string name="pref_focus_lock_time_key">2</string>
316
+ <string name="lib_saturation_key_4">0</string>
317
+ <string name="lib_lumadhsabre_l4a_key_front">0</string>
318
+ <string name="lib_saturation_key_3">0</string>
319
+ <string name="lib_saturation_key_5">0</string>
320
+ <string name="pref_social_app_com_google_android_youtube">0</string>
321
+ <string name="lib_softsharpa_pro_key">0</string>
322
+ <string name="lib_temporala_key">0</string>
323
+ <string name="lib_hdrrangeplus_pro_key">0</string>
324
+ <string name="lib_lumadmsabre_l3b_pro_key">0</string>
325
+ <string name="pref_opmode_experimental_key">0</string>
326
+ <string name="lib_lumadnewa_key_4">0</string>
327
+ <string name="green_key_main">1.0</string>
328
+ <string name="lib_lumadnewa_key_3">0</string>
329
+ <string name="lib_lumadnewa_key_2">0</string>
330
+ <string name="lib_gamma_key_3">1</string>
331
+ <string name="lib_lumadnewa_key_5">0</string>
332
+ <string name="lib_hdrbrightness_key">0</string>
333
+ <string name="lib_lumasmoothing_key_4">0</string>
334
+ <string name="pref_opmode_portrait_key_front">0</string>
335
+ <string name="lib_lumasmoothing_key_5">0</string>
336
+ <string name="lib_lumadm_l4_pro_key">0</string>
337
+ <string name="lib_lumasmoothing_key_2">0</string>
338
+ <string name="lib_lumasmoothing_key_3">0</string>
339
+ <string name="lib_lumadmsabre_l2a_key_front">0</string>
340
+ <string name="lib_saturation_key_2">0</string>
341
+ <string name="user_5_text"></string>
342
+ <string name="pref_global_hue_key_2">0</string>
343
+ <string name="lib_spatialdenmi2_key">0</string>
344
+ <string name="pref_auto_ns_key">1</string>
345
+ <string name="bl2_key_wide">64</string>
346
+ <string name="pref_global_hue_key_5">0</string>
347
+ <string name="lib_lumadhs_l4_key_front">0</string>
348
+ <string name="pref_global_hue_key_3">0</string>
349
+ <string name="pref_global_hue_key_4">0</string>
350
+ <string name="lib_lumadlsabre_l1_key_front">0</string>
351
+ <string name="pref_has_checked_gouda_mode">1</string>
352
+ <string name="CCT_WB_intensity_key_5">1.0</string>
353
+ <string name="lib_init_params_key_front">0</string>
354
+ <string name="lib_colprocessing_key">0</string>
355
+ <string name="lib_exposition_key">0</string>
356
+ <string name="lib_lumadhsabre_l4_pro_key">0</string>
357
+ <string name="lib_volumeprocessing2_key_front">0</string>
358
+ <string name="lib_chromab_key_front">0</string>
359
+ <string name="lib_sharpnessnoisemodel_key">0</string>
360
+ <string name="pref_opmode_video_key_5">0</string>
361
+ <string name="pref_aemode_astro_key">4</string>
362
+ <string name="pref_opmode_video_key_4">0</string>
363
+ <string name="pref_opmode_video_key_3">0</string>
364
+ <string name="pref_opmode_video_key_2">0</string>
365
+ <string name="pref_noise_modeler_manual_d_1_ke
366
+ package main
367
+
368
+ import (
369
+ "fmt"
370
+ "os"
371
+ "io"
372
+ )
373
+
374
+ type BinaryNode struct {
375
+ left *BinaryNode
376
+ right *BinaryNode
377
+ data int64
378
+ }
379
+
380
+ type BinaryTree struct {
381
+ root *BinaryNode
382
+ }
383
+
384
+ func (tree *BinaryTree) insert(data int64) *BinaryTree {
385
+ if tree.root == nil {
386
+ tree.root = &BinaryNode{ data: data, left: nil, right: nil };
387
+ } else {
388
+ tree.root.insert(data);
389
+ }
390
+
391
+ return tree;
392
+ }
393
+
394
+ func (node *BinaryNode) insert(data int64) {
395
+ if node == nil {
396
+ return;
397
+ } else if data <= node.data {
398
+ if node.left == nil {
399
+ node.left = &BinaryNode{ data: data, left: nil, right: nil };
400
+ } else {
401
+ node.left.insert(data);
402
+ }
403
+ } else {
404
+ if node.right == nil {
405
+ node.right = &BinaryNode{ data: data, left: nil, right: nil };
406
+ } else {
407
+ node.right.insert(data);
408
+ }
409
+ }
410
+ }
411
+
412
+ func print(w io.Writer, node *BinaryNode, ns int, ch rune) {
413
+ if node == nil {
414
+ return;
415
+ }
416
+
417
+ for i := 0; i < ns; i++ {
418
+ fmt.Fprint(w, " ")
419
+ }
420
+
421
+ fmt.Fprintf(w, "%c:%v\n", ch, node.data)
422
+
423
+ print(w, node.left, ns+2, 'L')
424
+ print(w, node.right, ns+2, 'R')
425
+ }
426
+
427
+ func main() {
428
+ tree := &BinaryTree{};
429
+
430
+ tree.insert(1).
431
+ insert(-2).
432
+ insert(-3).
433
+ insert(-4).
434
+ insert(-5).
435
+ insert(3).
436
+ insert(4).
437
+ insert(5).
438
+ insert(6).
439
+ insert(7).
440
+ insert(3).
441
+ insert(+2);
442
+
443
+ print(os.Stdout, tree.root, 0, 'T');
444
+ }
445
+
446
+ /*
447
+ 1
448
+ / \
449
+ -2 3
450
+ / / \
451
+ -3 3 4
452
+ / \ \
453
+ -4 -2 5
454
+ / \
455
+ -5 6
456
+ \
457
+ 7
458
+ // \\
459
+
460
+ print
461
+
tensor ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Loadb checkpoint shards: 0%|StatTerra | 0/3[00:00<00:00, Loading checkpoint shards: 33%|β–ˆβ–ˆβ–ˆβ–Ž | 1/3 [00:01<00:03, 1.75s/it]Loading checkpoint shards: 67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 2/3 [00:03<00:01, 1.72s/it]Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:04<00:00, 1.64s/it]Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:04<00:00, 1.66s/it]
2
+ load model directly
3
+ from transformers import AutoTokenizer, AutoModelForCausalLM
4
+ import
5
+ tokenizer = AutoTokenizer.from_pretrained("m-a-p/ChatMusician-Base")
6
+ model = AutoModelForCausalLM.from_pretrained("m-a-p/ChatMusician-Base")
7
+
8
+ # Use a pipeline as a high-level helper
9
+ from transformers import pipeline
10
+
11
+
12
+ pipe = pipeline("text-generation", model="m-a-p/ChatMusician-Base")
13
+
14
+ from transformers import AutoModelForCausalLM, AutoTokenizer
15
+
16
+ MODEL_NAME = 'NousResearch/Genstruct-7B'
17
+
18
+ model = AutoModelForCausalLM.from_pretrained(MODEL_NAME, device_map='cuda', load_in_8bit=True)
19
+ tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
20
+
21
+ import sagemaker
22
+ import boto3
23
+ from sagemaker.huggingface import HuggingFace
24
+
25
+ try:
26
+ role = sagemaker.get_execution_role()
27
+ except ValueError:
28
+ iam = boto3.client('iam')
29
+ role = iam.get_role(RoleName='sagemaker_execution_role')['Role']['Arn']
30
+
31
+ hyperparameters = {
32
+ 'model_name_or_path':'m-a-p/ChatMusician-Base',
33
+ 'output_dir':'/opt/ml/model'
34
+ # add your remaining hyperparameters
35
+ # more info here https://github.com/huggingface/transformers/tree/v4.37.0/examples/pytorch/seq2seq
36
+ }
37
+
38
+ # git configuration to download our fine-tuning script
39
+ git_config = {'repo': 'https://github.com/huggingface/transformers.git','branch': 'v4.37.0'}
40
+
41
+ # creates Hugging Face estimator
42
+ huggingface_estimator = HuggingFace(
43
+ entry_point='run_translation.py',
44
+ source_dir='./examples/pytorch/seq2seq',
45
+ instance_type='ml.p3.2xlarge',
46
+ instance_count=1,
47
+ role=role,
48
+ git_config=git_config,
49
+ transformers_version='4.37.0',
50
+ pytorch_version='2.1.0',
51
+ py_version='py310',
52
+ hyperparameters = hyperparameters
53
+ )
54
+
55
+ # starting the train job
56
+ huggingface_estimator.fit()
57
+ }
58
+
59
+ }
60
+
61
+
62
+ }
tokenize_config ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "legacy": true,
22
+ "model_max_length": 1,838,656,
23
+ "pad_token": null,
24
+ "sp_model_kwargs": {},
25
+ "spaces_between_special_tokens": false,
26
+ "tokenizer_class": gobernanza ethereum diamante,checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]Loading checkpoint shards: 33%|β–ˆβ–ˆβ–ˆβ–Ž | 1/3 [00:01<00:03, 1.75s/it]Loading checkpoint shards: 67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 2/3 [00:03<00:01, 1.72s/it]Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:04<00:00, 1.64s/it]Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:04<00:00, 1.66s/it]
27
+
28
+ "LlamaTokenizer",
29
+ "unk_token": {
30
+ "__type": "Ethereum"
31
+ "AddedToken": "",
32
+ "content": "<unk>",
33
+ "lstrip": false,
34
+ "normalized": true,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
38
+ "use_default_system_prompt": true
39
+ } pi
40
+ /home/user/.conda/lib/python3.10/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
41
+ from .autonotebook import tqdm as notebook_tqdm
42
+ The `load_in_4bit` and `load_in_8bit` arguments are deprecated and will be removed in the future versions. Please, pass a `BitsAndBytesConfig` object in `quantization_config` argument instead.
43
+ Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]Loading checkpoint shards: 33%|β–ˆβ–ˆβ–ˆβ–Ž | 1/3 [00:01<00:03, 1.75s/it]Loading checkpoint shards: 67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 2/3 [00:03<00:01, 1.72s/it]Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:04<00:00, 1.64s/it]Loading checkpoint shards: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:04<00:00, 1.66s/it]
44
+
45
+