Update name of the model
Browse files
README.md
CHANGED
@@ -18,8 +18,8 @@ widget:
|
|
18 |
|
19 |
```python
|
20 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
21 |
-
tokenizer = AutoTokenizer.from_pretrained("hululuzhu/solidity-
|
22 |
-
model = T5ForConditionalGeneration.from_pretrained("hululuzhu/solidity-
|
23 |
|
24 |
text = """pragma solidity ^0.5.7;
|
25 |
// Context: ParentA | Functions: helloA helloB | Constants: constantA
|
|
|
18 |
|
19 |
```python
|
20 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
21 |
+
tokenizer = AutoTokenizer.from_pretrained("hululuzhu/solidity-t5")
|
22 |
+
model = T5ForConditionalGeneration.from_pretrained("hululuzhu/solidity-t5")
|
23 |
|
24 |
text = """pragma solidity ^0.5.7;
|
25 |
// Context: ParentA | Functions: helloA helloB | Constants: constantA
|