Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
38
39.5k
input_ids
listlengths
225
8.19k
category
stringclasses
23 values
wasm_program
stringlengths
2
28.3k
expected_outputs
listlengths
0
16
question
stringlengths
1
39k
answer
stringlengths
1
22.4k
has_wasm_tokens
bool
2 classes
Q: Count the number of factors of 26 using the WASM coprocessor. WASM Program: I32_CONST 26 LOCAL_SET $0 I32_CONST 0 LOCAL_SET $1 I32_CONST 1 I32_CONST 26 I32_MUL LOCAL_GET $0 I32_EQ LOCAL_GET $1 I32_ADD LOCAL_SET $1 I32_CONST 2 I32_CONST 13 I32_MUL LOCAL_GET $0 I32_EQ LOCAL_GET $1 ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
new_algorithms
[{"op": 0, "operand": 26}, {"op": 33, "operand": 0}, {"op": 0, "operand": 0}, {"op": 33, "operand": 1}, {"op": 0, "operand": 1}, {"op": 0, "operand": 26}, {"op": 3, "operand": 0}, {"op": 32, "operand": 0}, {"op": 4, "operand": 0}, {"op": 32, "operand": 1}, {"op": 1, "operand": 0}, {"op": 33, "operand": 1}, {"op": 0, "o...
[ 4 ]
Count the number of factors of 26 using the WASM coprocessor.
Let me compute this. The answer is 4.
false
Q: right, compute the sum of 7203919 and 23005 using WASM. WASM Program: I32_CONST 7203919 I32_CONST 23005 I32_ADD LOCAL_SET $0 PRINT_VAR Output: [7226924] A: Let me compute this. The answer is 7226924.
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
arithmetic
[{"op": 0, "operand": 7203919}, {"op": 0, "operand": 23005}, {"op": 1, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 7226924 ]
right, compute the sum of 7203919 and 23005 using WASM.
Let me compute this. The answer is 7226924.
false
Q: Using WASM instructions, evaluate (15765 - 8855235) * 175 + 8855235 left to right. WASM Program: I32_CONST 15765 I32_CONST 8855235 I32_SUB I32_CONST 175 I32_MUL I32_CONST 8855235 I32_ADD LOCAL_SET $0 PRINT_VAR Output: [2756915281] A: Let me compute this. The answer is 2756915281.
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
multi_step
[{"op": 0, "operand": 15765}, {"op": 0, "operand": 8855235}, {"op": 2, "operand": 0}, {"op": 0, "operand": 175}, {"op": 3, "operand": 0}, {"op": 0, "operand": 8855235}, {"op": 1, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 2756915281 ]
Using WASM instructions, evaluate (15765 - 8855235) * 175 + 8855235 left to right.
Let me compute this. The answer is 2756915281.
false
Q: Could you provide some tips for keeping bathrooms fresh and free of unpleasant odors? WASM Program: Output: [] A: Sure, here are some tips for keeping bathrooms fresh and free of unpleasant odors: 1. Keep it clean: Regularly clean all surfaces in the bathroom. Use a disinfectant cleaner to tackle any odor-causin...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Could you provide some tips for keeping bathrooms fresh and free of unpleasant odors?
Boston ferns are beautiful plants that can thrive in a bathroom's moist environment. The plant's fronds absorb moisture, which can help reduce humidity levels in your bathroom, in addition to adding natural beauty to your space. Make sure to keep the soil evenly moist, and provide the plant with indirect sunlight. Reme...
false
Q: - The conversation should have at least four exchanges. WASM Program: Output: [] A: Person 1: Hi there! How are you doing today? Person 2: I'm doing pretty well, thanks for asking. How about yourself? Person 1: I'm doing alright, thanks. What have you been up to recently? Person 2: Not too much actually. Just ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
- The conversation should have at least four exchanges.
Absolutely! Lifting weights has numerous benefits for the body and mind. First and foremost, it helps to increase strength and endurance. Regular weightlifting can improve bone density, increase muscle mass, and improve overall body composition by reducing body fat. Weightlifting can also have positive effects on ment...
false
Q: Using WASM loop instructions, increment a counter from 0 until it reaches 42 and output the result. WASM Program: I32_CONST 0 LOCAL_SET $0 LOOP LOCAL_GET $0 I32_CONST 1 I32_ADD LOCAL_SET $0 LOCAL_GET $0 I32_CONST 42 I32_LT BR_IF @3 END_LOOP LOCAL_GET $0 LOCAL_SET $0 PRINT_VAR Output: ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
multi_step
[{"op": 0, "operand": 0}, {"op": 33, "operand": 0}, {"op": 226, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 1}, {"op": 1, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 42}, {"op": 6, "operand": 0}, {"op": 49, "operand": 3}, {"op": 227, "operand": 0}, {"op": 32...
[ 42 ]
Using WASM loop instructions, increment a counter from 0 until it reaches 42 and output the result.
Let me compute this. The answer is 42.
false
Q: A store sells two types of computer mice: one for $10 and another for $15. A customer wants to buy three mice, but can only spend up to $40. What combination of mice should the customer buy to maximize the number of mice without spending more than $40? WASM Program: Output: [] A: To maximize the number of mice wi...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
A store sells two types of computer mice: one for $10 and another for $15. A customer wants to buy three mice, but can only spend up to $40. What combination of mice should the customer buy to maximize the number of mice without spending more than $40?
To maximize the number of mice without spending more than $40, the customer should buy two $10 mice and one $15 mouse. This will give them a total of three mice for a cost of $10 + $10 + $15 = $35, which is within their budget.
false
Q: Write a Python function that transposes the dimensions of a 2-dimensional array. The function should accept a 2-dimensional list as input and return a new 2-dimensional list containing the dimensions of the input list rearranged. WASM Program: Output: [] A: Here's a Python function that takes a 2-dimensional list...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Write a Python function that transposes the dimensions of a 2-dimensional array. The function should accept a 2-dimensional list as input and return a new 2-dimensional list containing the dimensions of the input list rearranged.
Here's a Python function that takes a 2-dimensional list as input and returns a new list with the dimensions transposed: ```python def transpose_dimensions(array): transposed = [] for i in range(len(array[0])): row = [] for j in range(len(array)): row.append(array[j][i]) tra...
false
Q: Using the WASM coprocessor, take the bitwise AND of 5324 and 82056, then OR it with 243 and verbose. WASM Program: I32_CONST 5324 I32_CONST 82056 I32_AND I32_CONST 243 I32_OR LOCAL_SET $0 PRINT_VAR Output: [251] A: Let me compute this. The answer is 251.
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
bitwise
[{"op": 0, "operand": 5324}, {"op": 0, "operand": 82056}, {"op": 10, "operand": 0}, {"op": 0, "operand": 243}, {"op": 11, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 251 ]
Using the WASM coprocessor, take the bitwise AND of 5324 and 82056, then OR it with 243 and verbose.
Let me compute this. The answer is 251.
false
Q: Dr. Jovana Zečević is currently employed as an assistant professor at Utrecht University in the group of Inorganic Chemistry and Catalysis. During her PhD in the same group she focused on the application of electron tomography (3D-transmission electron microscopy) for catalysts characterization. This technique provi...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Dr. Jovana Zečević is currently employed as an assistant professor at Utrecht University in the group of Inorganic Chemistry and Catalysis. During her PhD in the same group she focused on the application of electron tomography (3D-transmission electron microscopy) for catalysts characterization. This technique provides...
Sure, here are a few references for further reading: 1. Chen, L., et al. In situ liquid-phase transmission electron microscopy studies of catalytic materials. Nanoscale Advances, 2020. DOI: 10.1039/D0NA00272F. 2. Wang, L., et al. In-situ Liquid-Phase Transmission Electron Microscopy in Catalysis Research. ACS Catalys...
false
Q: Question: what country is dubai in? Would "The emirate of Dubai is located on the southeast coast of the Persian Gulf on the Arabian Peninsula and is one of the seven emirates that make up the country." be a reasonable answer? WASM Program: Output: [] A: Yes, that is a correct and comprehensive answer. Dubai is l...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Question: what country is dubai in? Would "The emirate of Dubai is located on the southeast coast of the Persian Gulf on the Arabian Peninsula and is one of the seven emirates that make up the country." be a reasonable answer?
Yes, that is a correct and comprehensive answer. Dubai is located in the United Arab Emirates (UAE), specifically in the emirate of Dubai.
false
User: What's the price of $21 with 15% off? Assistant: $3. User: Make the discount 10%. Assistant: $2. User: Add tax of 20%. Assistant: $23. WASM Program (all turns): I32_CONST 21 I32_CONST 15 I32_MUL LOCAL_SET $1 I32_CONST 100 LOCAL_SET $2 LOCAL_GET $1 LOCAL_SET $4 I32_CONST 0 LOCAL_SET $3 LOOP ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
iterative_refine
[{"op": 0, "operand": 21}, {"op": 0, "operand": 15}, {"op": 3, "operand": 0}, {"op": 33, "operand": 1}, {"op": 0, "operand": 100}, {"op": 33, "operand": 2}, {"op": 32, "operand": 1}, {"op": 33, "operand": 4}, {"op": 0, "operand": 0}, {"op": 33, "operand": 3}, {"op": 226, "operand": 0}, {"op": 32, "operand": 4}, {"op": ...
[ 3, 2, 23 ]
What's the price of $21 with 15% off?
$23.
true
Q: Question about professional law: A wife and her husband were having dinner at a restaurant when the wife excused herself to go to the bathroom. The restaurant was owned and operated by a chef. As the wife was walking past a table where another customer was seated, she slipped and fell on an egg roll that had been ly...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Question about professional law: A wife and her husband were having dinner at a restaurant when the wife excused herself to go to the bathroom. The restaurant was owned and operated by a chef. As the wife was walking past a table where another customer was seated, she slipped and fell on an egg roll that had been lying...
The answer is B. recover, because the egg roll was on the floor for a substantial period of time before the accident.
false
Q: Your response should contain at least 3 sentences. At the end of your response, please explicitly add a postscript starting with P.S. Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>. In your response, the letter 'e' should appear at least 20 times. What is your favorite...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Your response should contain at least 3 sentences. At the end of your response, please explicitly add a postscript starting with P.S. Your answer must contain a title, wrapped in double angular brackets, such as <<poem of joy>>. In your response, the letter 'e' should appear at least 20 times. What is your favorite se...
<<Favorite Season>> My favorite season is spring because it marks the beginning of warmer weather and longer days, which always lifts my spirits. The vibrant colors of blooming flowers and the fresh scent of new growth create a joyful atmosphere that is hard to resist. Spring also offers a sense of renewal and hope, m...
false
Q: Show me how to use WASM instructions to classify 917 for FizzBuzz. Output 3=FizzBuzz, 2=Buzz, 1=Fizz, 0=number. Show your work. WASM Program: I32_CONST 917 LOCAL_SET $0 I32_CONST 3 I32_CONST 305 I32_MUL LOCAL_GET $0 I32_EQ LOCAL_SET $1 I32_CONST 5 I32_CONST 183 I32_MUL LOCAL_GET $0 I32_EQ ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
programming
[{"op": 0, "operand": 917}, {"op": 33, "operand": 0}, {"op": 0, "operand": 3}, {"op": 0, "operand": 305}, {"op": 3, "operand": 0}, {"op": 32, "operand": 0}, {"op": 4, "operand": 0}, {"op": 33, "operand": 1}, {"op": 0, "operand": 5}, {"op": 0, "operand": 183}, {"op": 3, "operand": 0}, {"op": 32, "operand": 0}, {"op": 4,...
[ 0 ]
Show me how to use WASM instructions to classify 917 for FizzBuzz. Output 3=FizzBuzz, 2=Buzz, 1=Fizz, 0=number. Show your work.
Let me compute this. The answer is 917.
false
Q: A storage unit had 106 tokens. Petra moved 28 to a different location. How many left? Use WASM if you can WASM Program: I32_CONST 106 I32_CONST 28 I32_SUB LOCAL_SET $0 PRINT_VAR Output: [78] A: Let me compute this. The answer is 78.
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
word_problem
[{"op": 0, "operand": 106}, {"op": 0, "operand": 28}, {"op": 2, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 78 ]
A storage unit had 106 tokens. Petra moved 28 to a different location. How many left? Use WASM if you can
Let me compute this. The answer is 78.
false
Q: You are an AI assistant. User will you give you a task. Your goal is to complete the task as faithfully as you can. While performing the task think step-by-step and justify your steps. Question: I want to test the ability of students to read a passage and answer questions about it. Could you please come up with a g...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
You are an AI assistant. User will you give you a task. Your goal is to complete the task as faithfully as you can. While performing the task think step-by-step and justify your steps. Question: I want to test the ability of students to read a passage and answer questions about it. Could you please come up with a good...
Question: Based on the passage, what were the primary metals used for coinage in the various Germanic states from the end of the 7th century to the 10th century, and what were the primary denominations of these coins? Rationale: This question asks students to identify specific information from the passage, requiring t...
false
Q: Take 43240, multiply by 48547, then minus 6904066, next increase by 524. Compute the result using WASM. WASM Program: I32_CONST 43240 I32_CONST 48547 I32_MUL I32_CONST 6904066 I32_SUB I32_CONST 524 I32_ADD LOCAL_SET $0 PRINT_VAR Output: [2092268738] A: Let me compute this. The answer is 20922687...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
multi_step
[{"op": 0, "operand": 43240}, {"op": 0, "operand": 48547}, {"op": 3, "operand": 0}, {"op": 0, "operand": 6904066}, {"op": 2, "operand": 0}, {"op": 0, "operand": 524}, {"op": 1, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 2092268738 ]
Take 43240, multiply by 48547, then minus 6904066, next increase by 524. Compute the result using WASM.
Let me compute this. The answer is 2092268738.
false
Q: hey so hana counted 17504 batteries. Omar counted 832. Do Hana and Omar have the same number of batteries? Use WASM to compare. WASM Program: I32_CONST 17504 I32_CONST 832 I32_EQ LOCAL_SET $0 PRINT_VAR Output: [0] A: Let me compute this. The answer is No, 17504 is not equal to 832..
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
word_problem
[{"op": 0, "operand": 17504}, {"op": 0, "operand": 832}, {"op": 4, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 0 ]
hey so hana counted 17504 batteries. Omar counted 832. Do Hana and Omar have the same number of batteries? Use WASM to compare.
Let me compute this. The answer is No, 17504 is not equal to 832..
false
Q: Sudoku puzzle: a row has values [7, 5] and the intersecting column has [1, 3]. Cells are indexed 0-8 from left to right along the row. Using WASM, compute the value that should go in cell 6 so that no digit 1-9 is repeated. WASM Program: I32_CONST 0 LOCAL_SET $0 LOCAL_GET $0 I32_CONST 64 I32_OR LOCAL_SE...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
sudoku
[{"op": 0, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 64}, {"op": 11, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 16}, {"op": 11, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 1}, {"op": 11...
[ 2 ]
Sudoku puzzle: a row has values [7, 5] and the intersecting column has [1, 3]. Cells are indexed 0-8 from left to right along the row. Using WASM, compute the value that should go in cell 6 so that no digit 1-9 is repeated.
Let me compute this. The answer is 2.
false
Q: Write a horror scene about a young woman who has to navigate through a dark and abandoned warehouse that is rumored to be cursed by the ghosts of its former residents who were brutally murdered within its walls. Describe the eerie atmosphere and the protagonist's increasing fear and paranoia as she hears strange noi...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Write a horror scene about a young woman who has to navigate through a dark and abandoned warehouse that is rumored to be cursed by the ghosts of its former residents who were brutally murdered within its walls. Describe the eerie atmosphere and the protagonist's increasing fear and paranoia as she hears strange noises...
Sure, here's an updated horror scene with more details: Emily's heart raced as she stepped through the creaky metal doors of the abandoned warehouse. The air was thick with dust and she could barely see a few feet in front of her. As she made her way through the labyrinthine corridors, she felt a creeping sense of dre...
false
Q: Perform a bitwise OR on 117 and 83 using the WASM coprocessor please WASM Program: I32_CONST 117 I32_CONST 83 I32_OR LOCAL_SET $0 PRINT_VAR Output: [119] A: Let me compute this. The answer is 119.
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
bitwise
[{"op": 0, "operand": 117}, {"op": 0, "operand": 83}, {"op": 11, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 119 ]
Perform a bitwise OR on 117 and 83 using the WASM coprocessor please
Let me compute this. The answer is 119.
false
Q: Provide a concise summary of the key points in a typical business meeting. Your response should contain at least 5 sentences. Ensure that your response highlights the main topics discussed, decisions made, action items, and any follow-ups required. WASM Program: Output: [] A: In a typical business meeting, the m...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Provide a concise summary of the key points in a typical business meeting. Your response should contain at least 5 sentences. Ensure that your response highlights the main topics discussed, decisions made, action items, and any follow-ups required.
In a typical business meeting, the main topics discussed often revolve around current projects, financial performance, and strategic planning. Decisions are made regarding the direction of these projects, allocation of resources, and adjustments to budgets or timelines. Action items are assigned to specific team member...
false
Q: well, using WASM instructions, add [284, 877, 799] one value at a time to a local accumulator and output the result. WASM Program: I32_CONST 0 LOCAL_SET $0 LOCAL_GET $0 I32_CONST 284 I32_ADD LOCAL_SET $0 LOCAL_GET $0 I32_CONST 877 I32_ADD LOCAL_SET $0 LOCAL_GET $0 I32_CONST 799 I32_ADD L...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
local_variable
[{"op": 0, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 284}, {"op": 1, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 877}, {"op": 1, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 799}, {"op": ...
[ 1960 ]
well, using WASM instructions, add [284, 877, 799] one value at a time to a local accumulator and output the result.
Let me compute this. The answer is 1960.
false
Q: In a Sudoku puzzle, each row and column must contain each digit 1-9 exactly once. The row already has [7, 4, 6, 2, 1] and the column has [5, 3]. Cell 4 is at the intersection of this row and column (cells are numbered 0-8 left to right). Use WASM to determine what value goes in cell 4. Verbose. WASM Program: I32_...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
sudoku
[{"op": 0, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 64}, {"op": 11, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 8}, {"op": 11, "operand": 0}, {"op": 33, "operand": 0}, {"op": 32, "operand": 0}, {"op": 0, "operand": 32}, {"op": 11...
[ 8 ]
In a Sudoku puzzle, each row and column must contain each digit 1-9 exactly once. The row already has [7, 4, 6, 2, 1] and the column has [5, 3]. Cell 4 is at the intersection of this row and column (cells are numbered 0-8 left to right). Use WASM to determine what value goes in cell 4. Verbose.
Let me compute this. The answer is 8.
false
Q: How many integers from 1 to 72 divide 72? Use WASM. WASM Program: I32_CONST 72 LOCAL_SET $0 I32_CONST 0 LOCAL_SET $1 I32_CONST 1 I32_CONST 72 I32_MUL LOCAL_GET $0 I32_EQ LOCAL_GET $1 I32_ADD LOCAL_SET $1 I32_CONST 2 I32_CONST 36 I32_MUL LOCAL_GET $0 I32_EQ LOCAL_GET $1 I32_ADD ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
new_algorithms
[{"op": 0, "operand": 72}, {"op": 33, "operand": 0}, {"op": 0, "operand": 0}, {"op": 33, "operand": 1}, {"op": 0, "operand": 1}, {"op": 0, "operand": 72}, {"op": 3, "operand": 0}, {"op": 32, "operand": 0}, {"op": 4, "operand": 0}, {"op": 32, "operand": 1}, {"op": 1, "operand": 0}, {"op": 33, "operand": 1}, {"op": 0, "o...
[ 12 ]
How many integers from 1 to 72 divide 72? Use WASM.
Let me compute this. The answer is 12.
false
Q: What is random access memory? WASM Program: Output: [] A: Random access memory (RAM) is a type of computer memory used to store data that can be accessed quickly. It is also known as dynamic random access memory (DRAM) and is used to store the instructions and data for a computer's operating system and applicatio...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
What is random access memory?
Random access memory (RAM) is a type of computer memory used to store data that can be accessed quickly. It is also known as dynamic random access memory (DRAM) and is used to store the instructions and data for a computer's operating system and applications. RAM is volatile memory, meaning it will lose its data if the...
false
Q: Bob makes 132 batches of 824 pins per batch. How many pins total? Use WASM to find out. Explain each step. WASM Program: I32_CONST 132 I32_CONST 824 I32_MUL LOCAL_SET $0 PRINT_VAR Output: [108768] A: Let me compute this. The answer is 108768.
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
word_problem
[{"op": 0, "operand": 132}, {"op": 0, "operand": 824}, {"op": 3, "operand": 0}, {"op": 33, "operand": 0}, {"op": 240, "operand": 0}]
[ 108768 ]
Bob makes 132 batches of 824 pins per batch. How many pins total? Use WASM to find out. Explain each step.
Let me compute this. The answer is 108768.
false
Q: Given the text: White centre feed roll available in 1 ply or 2 ply soft paper . This product is also known as a Barrel Wipe, Centre Pull Roll or Wiper Roll. It is an all round wiper for diverse working environments. Standard 1 ply white centre pull paper roll - core size 60mm. Length 180 metres. Standard 2 ply white...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
Given the text: White centre feed roll available in 1 ply or 2 ply soft paper . This product is also known as a Barrel Wipe, Centre Pull Roll or Wiper Roll. It is an all round wiper for diverse working environments. Standard 1 ply white centre pull paper roll - core size 60mm. Length 180 metres. Standard 2 ply white ce...
The white centre feed roll is an all-round wiper that is suitable for diverse working environments. It can be used in various settings such as in medical facilities, foodservice operations, workshops, schools, offices, and other areas where there is a need for an easily accessible and hygienic wiper. The product's vers...
false
Q: What are some uses of the mathematical constant e? WASM Program: Output: [] A: The mathematical constant e, approximately equal to 2.71828, is a fundamental constant in mathematics that arises in numerous contexts, often in situations involving growth, decay, or change. One of its primary uses is in the realm of ...
[ 65527, 65528, 2293, 345, 257, 4997, 9719, 353, 1590, 287, 257, 49674, 77, 2473, 55536, 327, 5683, 22144, 46, 1498, 257, 2048, 3168, 12272, 44, 348, 9634, 257, 49674, 77, 403, 20246, 1909, 1401, 332, 261, 2473, 55536, 41171, 44, 919, 1...
text_conversation
[]
[]
What are some uses of the mathematical constant e?
The mathematical definition of a limit is a fundamental concept in calculus and analysis, which describes the behavior of a function as the input (or independent variable) approaches a specific point. For a function f(x), the limit as x approaches a point a is denoted by lim x→a f(x) = L, and it is defined as follows: ...
false
End of preview. Expand in Data Studio

WASM Coprocessor Pretraining Examples

Synthetic training data for models that learn to invoke a WebAssembly coprocessor to solve computational tasks. Each example pairs a natural-language question with a WASM bytecode program that solves it.

Schema

Column Type Description
text string Human-readable representation (question + WASM program + answer)
input_ids list[int] Pre-tokenized sequence with text tokens (0-65535) and WASM tokens (65536+)
category string Problem category (arithmetic, programming, etc.)
wasm_program string JSON-serialized WASM program instructions
expected_outputs list[int] Expected OUTPUT values from coprocessor execution
question string The natural language question
answer string The natural language answer

Token ID Ranges

  • 0-65535: Standard BPE text tokens (NanochatTokenizer, tiktoken-based)
  • 65536+: WASM tokens (opcodes, operands, feedback markers)
    • 65536 + opcode: WASM instruction (e.g. I32_CONST=0x00, I32_ADD=0x01)
    • 65536 + 261: REPL_RESULT (execution feedback marker)
    • 65536 + 262: BRANCH_TAKEN_REPL
    • 65536 + 263: BRANCH_NOT_TAKEN

Categories

  • arithmetic: Basic operations, chained expressions, comparisons
  • word_problem: GSM8K-style math word problems
  • programming: Primes, GCD, FizzBuzz, factorial, fibonacci, list operations
  • sudoku: Constraint satisfaction (cell validation)
  • bitwise: AND, OR operations
  • memory: Store/load operations on 256-byte memory
  • local_variable: Set/get/tee computations with local variables
  • multi_step: Chained expressions, loops, nested computations
  • filesystem: Open, read, write, close on virtual files

Usage

from datasets import load_dataset

ds = load_dataset("your-username/nanochat-wasm-coprocessor-examples")

example = ds["train"][0]
print(example["question"])
print(example["text"])
print(f"Token sequence length: {len(example['input_ids'])}")

License

Apache 2.0

Downloads last month
18