Update README.md
Browse files
README.md
CHANGED
@@ -96,7 +96,7 @@ tokenizer = AutoTokenizer.from_pretrained("ckandemir/solidity_generator")
|
|
96 |
model = AutoModelForCausalLM.from_pretrained("ckandemir/solidity_generator")
|
97 |
|
98 |
# Input your code prompt
|
99 |
-
input_text = "contract MyToken"
|
100 |
input_ids = tokenizer.encode(input_text, return_tensors='pt')
|
101 |
sample_output = model.generate(input_ids, do_sample=True, max_length=400, num_return_sequences=1, temperature=0.7)
|
102 |
|
|
|
96 |
model = AutoModelForCausalLM.from_pretrained("ckandemir/solidity_generator")
|
97 |
|
98 |
# Input your code prompt
|
99 |
+
input_text = "contract MyToken is ERC20{"
|
100 |
input_ids = tokenizer.encode(input_text, return_tensors='pt')
|
101 |
sample_output = model.generate(input_ids, do_sample=True, max_length=400, num_return_sequences=1, temperature=0.7)
|
102 |
|