Artples commited on
Commit
92a7fff
·
verified ·
1 Parent(s): 97e999d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -21,7 +21,7 @@ M-LChat-7b is a merge of the following models using:
21
 
22
  Apache 2.0 but you cannot use this Model to compete with OpenAI.
23
 
24
- ## 🧩 Configuration
25
 
26
  ```yaml
27
  slices:
@@ -42,7 +42,7 @@ parameters:
42
  dtype: bfloat16
43
  ```
44
 
45
- ## 💻 Usage
46
 
47
  ```python
48
  !pip install -qU transformers accelerate
@@ -52,7 +52,7 @@ import transformers
52
  import torch
53
 
54
  model = "Artples/M-LChat-7b"
55
- messages = [{GPT4 Correct User: What can i do if a lama is in my porch?<|end_of_turn|>GPT4 Correct Assistant: }]
56
 
57
  tokenizer = AutoTokenizer.from_pretrained(model)
58
  prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
 
21
 
22
  Apache 2.0 but you cannot use this Model to compete with OpenAI.
23
 
24
+ ## Configuration
25
 
26
  ```yaml
27
  slices:
 
42
  dtype: bfloat16
43
  ```
44
 
45
+ ## Usage
46
 
47
  ```python
48
  !pip install -qU transformers accelerate
 
52
  import torch
53
 
54
  model = "Artples/M-LChat-7b"
55
+ messages = [{GPT4 Correct User: What can i do if a lama is in my porch?<|end_of_turn|>GPT4 Correct Assistant:}]
56
 
57
  tokenizer = AutoTokenizer.from_pretrained(model)
58
  prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)