The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ArrowInvalid
Message: Failed to parse string: '@@@.' as a scalar of type double
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2116, in cast_array_to_feature
return array_cast(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1804, in wrapper
return func(array, *args, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1963, in array_cast
return array.cast(pa_type)
File "pyarrow/array.pxi", line 996, in pyarrow.lib.Array.cast
File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast
return call_function("cast", [arr], options, memory_pool)
File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function
File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Failed to parse string: '@@@.' as a scalar of type double
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Unnamed: 0 string | instruction string | source_code string | output string | model string | Unnamed: 5 null | Unnamed: 6 null | Unnamed: 7 null | Unnamed: 8 null | Unnamed: 9 null | Unnamed: 10 null | Unnamed: 11 null | Unnamed: 12 null | Unnamed: 13 null | Unnamed: 14 null |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Make a smart contract to manage a token called ZildFinanceCoin. The contract allows users to transfer tokens, burn tokens, and approve token transfers. It also includes functionality to change the founder address, set a minter address, set a furnace address, and freeze/unfreeze user accounts. | pragma solidity 0.5.4;
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address s... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to manage a token called ZildFinanceCoin. The contract allows users to transfer tokens, burn tokens, and approve token transfers. It also includes functionality to change the ... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
1 | Make a smart contract to calculate the amount of SASHIMI rewards or staked tokens for a given account. The contract interacts with the MasterChef contract to retrieve the necessary information. | pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct UserInfo {
uint256 amount;
uint256 rewardDebt;
}
struct PoolInfo {
address lpToken;
uint256 allocPoint;
uint256 lastRewardBlock;
uint256 accSushiPerShare;
}
interface ProtocolAdapter {
/**
* @dev MUST return "A... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to calculate the amount of SASHIMI rewards or staked tokens for a given account. The contract interacts with the MasterChef contract to retrieve the necessary information. ###... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
2 | Make a smart contract to transfer and manage ERC20 tokens. The contract allows users to transfer tokens, check balances, approve token spending, and transfer tokens on behalf of others. It also includes functionality to stop and start token transfers. Additionally, the contract implements a locking mechanism to prevent... | pragma solidity 0.4.26;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender)
external view returns (uint256);
function transfer(address to, uint256 value) external ... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to transfer and manage ERC20 tokens. The contract allows users to transfer tokens, check balances, approve token spending, and transfer tokens on behalf of others. It also inc... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
3 | Make a smart contract to create an ERC20 token called "Orion Protocol" with the symbol "ORN" and 8 decimal places. The token should have a total supply cap of 100 million tokens. The contract should also include a MinterRole, allowing designated addresses to mint new tokens. | pragma solidity 0.5.10;
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender() intern... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to create an ERC20 token called "Orion Protocol" with the symbol "ORN" and 8 decimal places. The token should have a total supply cap of 100 million tokens. The contract shoul... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
4 | Make a smart contract to calculate the amount of SUSHI rewards or staked tokens for a given account. The contract interacts with the MasterChef contract to retrieve the necessary information. | pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct UserInfo {
uint256 amount;
uint256 rewardDebt;
}
struct PoolInfo {
address lpToken;
uint256 allocPoint;
uint256 lastRewardBlock;
uint256 accSushiPerShare;
}
interface ProtocolAdapter {
/**
* @dev MUST return "A... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to calculate the amount of SUSHI rewards or staked tokens for a given account. The contract interacts with the MasterChef contract to retrieve the necessary information. ### O... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
5 | Make a smart contract to manage the transfer of tokens between accounts. The purpose of the smart contract is to provide a secure and efficient way to transfer tokens on the Ethereum blockchain. | pragma solidity 0.6.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - se... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to manage the transfer of tokens between accounts. The purpose of the smart contract is to provide a secure and efficient way to transfer tokens on the Ethereum blockchain. ##... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
6 | Make a smart contract to create a token with the ability to mint, burn, and pause. The contract should have a maximum capitalization limit if specified, and the options for burning, minting, and pausing should be activated or deactivated based on the provided parameters. | pragma solidity 0.5.7;
library Roles {
struct Role {
mapping (address => bool) bearer;
}
function add(Role storage role, address account) internal {
require(account != address(0));
require(!has(role, account));
role.bearer[account] = true;
}
function remove(... | Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Make a smart contract to create a token with the ability to mint, burn, and pause. The contract should have a maximum capitalization limit if specified, and the options for burning, minting, and pa... | gpt-4 | null | null | null | null | null | null | null | null | null | null |
7 | "Make a smart contract to create a token called YFATM with the symbol \"YFATM\" and 18 decimal place(...TRUNCATED) | "pragma solidity 0.5.0;\n\ncontract Context {\n\n constructor () internal { }\n\n function _ms(...TRUNCATED) | "Below is an instruction that describes a task. Write a response that appropriately completes the re(...TRUNCATED) | gpt-4 | null | null | null | null | null | null | null | null | null | null |
8 | "Make a smart contract to implement a timelock mechanism for executing transactions. The purpose of (...TRUNCATED) | "pragma solidity 0.5.17;\n\ncontract Timelock {\n\n using SafeMath for uint256;\n\n /// @notic(...TRUNCATED) | "Below is an instruction that describes a task. Write a response that appropriately completes the re(...TRUNCATED) | gpt-4 | null | null | null | null | null | null | null | null | null | null |
9 | "Make a smart contract to propose and vote on various changes to the SeedDAO system. The contract al(...TRUNCATED) | "pragma solidity 0.7.0;\n\ninterface IOwnershipTransferrable {\n\n function transferOwnership(addre(...TRUNCATED) | "Below is an instruction that describes a task. Write a response that appropriately completes the re(...TRUNCATED) | gpt-4 | null | null | null | null | null | null | null | null | null | null |
Dataset Card for Dataset Name
This dataset card aims to be a base template for new datasets. It has been generated using this raw template.
Dataset Details
Dataset Description
- Curated by: [More Information Needed]
- Funded by [optional]: [More Information Needed]
- Shared by [optional]: [More Information Needed]
- Language(s) (NLP): [More Information Needed]
- License: [More Information Needed]
Dataset Sources [optional]
- Repository: [More Information Needed]
- Paper [optional]: [More Information Needed]
- Demo [optional]: [More Information Needed]
Uses
Direct Use
[More Information Needed]
Out-of-Scope Use
[More Information Needed]
Dataset Structure
[More Information Needed]
Dataset Creation
Curation Rationale
[More Information Needed]
Source Data
Data Collection and Processing
[More Information Needed]
Who are the source data producers?
[More Information Needed]
Annotations [optional]
Annotation process
[More Information Needed]
Who are the annotators?
[More Information Needed]
Personal and Sensitive Information
[More Information Needed]
Bias, Risks, and Limitations
[More Information Needed]
Recommendations
Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
Citation [optional]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
Glossary [optional]
[More Information Needed]
More Information [optional]
[More Information Needed]
Dataset Card Authors [optional]
[More Information Needed]
Dataset Card Contact
[More Information Needed]
- Downloads last month
- 13