Update README.md
Browse files
README.md
CHANGED
@@ -23,6 +23,12 @@ What is the meaning of life?<|im_end|>
|
|
23 |
|
24 |
## Examples
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
```python
|
27 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
28 |
import torch
|
@@ -59,5 +65,4 @@ generated_ids = [
|
|
59 |
|
60 |
response = tokenizer.batch_decode(generated_ids)[0]
|
61 |
print(response)
|
62 |
-
|
63 |
```
|
|
|
23 |
|
24 |
## Examples
|
25 |
|
26 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/630430583926de1f7ec62c6b/E27JmdRAMrHQacM50-lBk.png)
|
27 |
+
|
28 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/630430583926de1f7ec62c6b/z0HS4bxHFQzPe0gZlvCzZ.png)
|
29 |
+
|
30 |
+
## Inference Code
|
31 |
+
|
32 |
```python
|
33 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
34 |
import torch
|
|
|
65 |
|
66 |
response = tokenizer.batch_decode(generated_ids)[0]
|
67 |
print(response)
|
|
|
68 |
```
|