Update README.md
Browse files
README.md
CHANGED
|
@@ -52,7 +52,7 @@ Resources:
|
|
| 52 |
|
| 53 |
## Quickstart
|
| 54 |
|
| 55 |
-
### Chat
|
| 56 |
|
| 57 |
|
| 58 |
```python
|
|
@@ -72,7 +72,7 @@ print(outputs)
|
|
| 72 |
>>> [{'generated_text': '\nWhat does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud (1) lava'}]
|
| 73 |
```
|
| 74 |
|
| 75 |
-
### Chat
|
| 76 |
|
| 77 |
```python
|
| 78 |
import requests
|
|
|
|
| 52 |
|
| 53 |
## Quickstart
|
| 54 |
|
| 55 |
+
### Chat by `pipeline`
|
| 56 |
|
| 57 |
|
| 58 |
```python
|
|
|
|
| 72 |
>>> [{'generated_text': '\nWhat does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud (1) lava'}]
|
| 73 |
```
|
| 74 |
|
| 75 |
+
### Chat by pure `transformers`
|
| 76 |
|
| 77 |
```python
|
| 78 |
import requests
|