Update README.md
Browse files
README.md
CHANGED
|
@@ -20,5 +20,9 @@ PyAutoCode is a cut-down python autosuggestion built on **GPT-2** *(motivation:
|
|
| 20 |
You can use my model too!. Here's a quick tour of how you can achieve this:
|
| 21 |
|
| 22 |
```python
|
|
|
|
| 23 |
|
|
|
|
|
|
|
|
|
|
| 24 |
```
|
|
|
|
| 20 |
You can use my model too!. Here's a quick tour of how you can achieve this:
|
| 21 |
|
| 22 |
```python
|
| 23 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 24 |
|
| 25 |
+
tokenizer = AutoTokenizer.from_pretrained("P0intMaN/PyAutoCode")
|
| 26 |
+
|
| 27 |
+
model = AutoModelForCausalLM.from_pretrained("P0intMaN/PyAutoCode")
|
| 28 |
```
|