silence09 commited on
Commit
d3e8df5
verified
1 Parent(s): dfcdb0c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
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"