- data/
- fine-tuning/
- models/
- tests/
- scripts/
- utils/
- web3_utils/
fine-tuning.ipynb
train_fine_tuning_model.ipynb
data/
: Contains the data used in the project. e.g. the ERC-20 tokens and network data supported by the project.fine-tuning/
: Contains the dataset for fine-tuning the GPT model. e.g. transfer.jsonl, approve.jsonl, etc.models/
: Contains Python models. e.g. erc20_token.py, network.py, etc.scripts/
: Contains the scripts. e.g. setup the project, etc.tests/
: Contains the test cases for the utils.utils/
: Contains the utility functions used in the project. e.g. , get_supported_network_by_id, etc.web3_utils/
: Contains the web3 utility functions. e.g. get_erc20_token_info, etc.
Execute the following commands to setup the project:
$ ./scripts/setup.sh
To update the ERC-20 tokens from CoinMarketCap, execute the following command:
$ ./scripts/update_erc20_tokens.sh
To update the protocol embeddings, execute the following command:
$ ./scripts/update_protocols.sh
For fine-tuning-related, execute the following command:
# Train the fine-tuning model
$ ./scripts/train_fine_tuning_model.sh
# Check the fine-tuning status
$ ./scripts/check_fine_tuning_status.sh