mjbuehler commited on
Commit
b757c12
1 Parent(s): d38bc3b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -43,7 +43,13 @@ def generate_response (text_input="Biological materials offer amazing",
43
  )
44
  return tokenizer.batch_decode(outputs[:,inputs.shape[1]:].detach().cpu().numpy(), skip_special_tokens=True)
45
  ```
46
- Generation example:
 
 
 
 
 
 
47
  ```
48
  system_prompt = "You are BioinspiredLLM. You are knowledgeable in biological and bio-inspired materials and provide accurate and qualitative insights about biological materials found in Nature. You are a cautious assistant. You think step by step. You carefully follow instructions."
49
  user_message = "What are hierarchical, biological materials?"
 
43
  )
44
  return tokenizer.batch_decode(outputs[:,inputs.shape[1]:].detach().cpu().numpy(), skip_special_tokens=True)
45
  ```
46
+ Generation example and prompt template
47
+
48
+ Prompt template:
49
+ ```
50
+ <|im_start|>system\n{system_prompt}<|im_end|>\n<|im_start|>user\n{user_message}<|im_end|>\n<|im_start|>assistant....
51
+ ```
52
+ Sample code:
53
  ```
54
  system_prompt = "You are BioinspiredLLM. You are knowledgeable in biological and bio-inspired materials and provide accurate and qualitative insights about biological materials found in Nature. You are a cautious assistant. You think step by step. You carefully follow instructions."
55
  user_message = "What are hierarchical, biological materials?"