Update README.md
Browse files
README.md
CHANGED
@@ -11,6 +11,7 @@ This is a converted model from [InternLM2.5-7B-Chat](https://huggingface.co/inte
|
|
11 |
## Usage
|
12 |
You can load the model using the `LlamaForCausalLM` class as shown below:
|
13 |
```python
|
|
|
14 |
device = "cpu" # cpu is exacatly the same
|
15 |
attn_impl = 'eager' # the attention implementation to use
|
16 |
meta_instruction = ("You are an AI assistant whose name is InternLM (涔︾敓路娴﹁).\n"
|
|
|
11 |
## Usage
|
12 |
You can load the model using the `LlamaForCausalLM` class as shown below:
|
13 |
```python
|
14 |
+
from transformers import AutoTokenizer, LlamaForCausalLM
|
15 |
device = "cpu" # cpu is exacatly the same
|
16 |
attn_impl = 'eager' # the attention implementation to use
|
17 |
meta_instruction = ("You are an AI assistant whose name is InternLM (涔︾敓路娴﹁).\n"
|