forked from tintinweb/hallucinate.sol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,16 @@ | |
[[ π ](https://diligence.consensys.net) [ π© ](https://github.com/ConsenSys/vscode-solidity-doppelganger/blob/master/mailto:[email protected]) [ π₯ ](https://consensys.github.io/diligence/)] | ||
</sup><br/><br/> | ||
|
||
<sub><b>This is a PoC for HackWek! - a Diligence internal 5-day Hackathon π₯·βοΈ.<br>TLDR;</b> My plan was to have fun with tensorflow, RNN's, text-prediction, and connect this to solidity smart contracts π. This is an excerpt of my journey.</sub> | ||
|
||
# Hallucinate.sol | ||
<sub><b>βΉοΈ This is a PoC for HackWek! - a Diligence internal 5-day Hackathon. My plan was to have fun learning about tensorflow, RNN's, text-prediction, and connect this to solidity smart contracts π.</b></sub> | ||
|
||
π΅βπ« A Recurrent Neural Network (RNN) hallucinating solidity source code. | ||
|
||
* We train our model on samples from the https://github.com/tintinweb/smart-contract-sanctuary | ||
* And then "hallucinate" new contracts | ||
|
||
|
||
![image](https://user-images.githubusercontent.com/2865694/141459177-49d9d800-6da5-4736-b7f5-761546532160.png) | ||
|
||
**Note**: train the model on https://colab.research.google.com/ as it is much faster than doing this locally. | ||
|