floriangardin
commited on
Commit
•
1aa19e2
1
Parent(s):
85648a9
Update README.md
Browse files
README.md
CHANGED
@@ -37,6 +37,7 @@ How to use ?
|
|
37 |
```python
|
38 |
from musiclang_predict import predict_chords, MusicLangTokenizer
|
39 |
from transformers import GPT2LMHeadModel
|
|
|
40 |
|
41 |
# Load model and tokenizer
|
42 |
model = GPT2LMHeadModel.from_pretrained('musiclang/musiclang-chord-v2-4k')
|
|
|
37 |
```python
|
38 |
from musiclang_predict import predict_chords, MusicLangTokenizer
|
39 |
from transformers import GPT2LMHeadModel
|
40 |
+
from musiclang.library import *
|
41 |
|
42 |
# Load model and tokenizer
|
43 |
model = GPT2LMHeadModel.from_pretrained('musiclang/musiclang-chord-v2-4k')
|