Update README.md
#2
by
FlameF0X
- opened
README.md
CHANGED
|
@@ -11,9 +11,18 @@ datasets:
|
|
| 11 |
## Talk with the model:
|
| 12 |
- Open [Google Colab](https://colab.research.google.com/)
|
| 13 |
- Create new notebook
|
| 14 |
-
- Paste this code in the cell:
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
!pip install transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 18 |
import torch
|
| 19 |
|
|
|
|
| 11 |
## Talk with the model:
|
| 12 |
- Open [Google Colab](https://colab.research.google.com/)
|
| 13 |
- Create new notebook
|
| 14 |
+
- Paste this code in the first cell:
|
| 15 |
+
|
| 16 |
+
```bash
|
| 17 |
+
pip install transformers
|
| 18 |
+
```
|
| 19 |
+
or
|
| 20 |
+
```
|
| 21 |
!pip install transformers
|
| 22 |
+
```
|
| 23 |
+
Then past this in the second cell:
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 27 |
import torch
|
| 28 |
|