Update README.md
Browse files
README.md
CHANGED
@@ -305,7 +305,7 @@ We included GPT-3.5, GPT-4, LLaMA2-7B-Base, ChatMusician-Base, and ChatMusician.
|
|
305 |
You can use the models through Huggingface's Transformers library. Check our Github repo for more advanced use: [https://github.com/hf-lin/ChatMusician](https://github.com/hf-lin/ChatMusician)
|
306 |
|
307 |
## CLI demo
|
308 |
-
```
|
309 |
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
|
310 |
from string import Template
|
311 |
prompt_template = Template("Human: ${inst} </s> Assistant: ")
|
|
|
305 |
You can use the models through Huggingface's Transformers library. Check our Github repo for more advanced use: [https://github.com/hf-lin/ChatMusician](https://github.com/hf-lin/ChatMusician)
|
306 |
|
307 |
## CLI demo
|
308 |
+
```python
|
309 |
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
|
310 |
from string import Template
|
311 |
prompt_template = Template("Human: ${inst} </s> Assistant: ")
|