Update README.md
Browse files
README.md
CHANGED
|
@@ -21,10 +21,10 @@ model = MemoryLLM.from_pretrained("YuWangX/memoryllm-8b-chat")
|
|
| 21 |
tokenizer = AutoTokenizer.from_pretrained("YuWangX/memoryllm-8b-chat")
|
| 22 |
```
|
| 23 |
|
| 24 |
-
```python
|
| 25 |
-
|
| 26 |
### How to use the model
|
|
|
|
| 27 |
Inject a piece of context into the model using the following script:
|
|
|
|
| 28 |
```python
|
| 29 |
model = model.cuda()
|
| 30 |
|
|
|
|
| 21 |
tokenizer = AutoTokenizer.from_pretrained("YuWangX/memoryllm-8b-chat")
|
| 22 |
```
|
| 23 |
|
|
|
|
|
|
|
| 24 |
### How to use the model
|
| 25 |
+
|
| 26 |
Inject a piece of context into the model using the following script:
|
| 27 |
+
|
| 28 |
```python
|
| 29 |
model = model.cuda()
|
| 30 |
|