File size: 974 Bytes
30e9297
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>
<generation>
    <!-- Sampling Hyperparameters -->
    <settings>
        <temperature>0.85</temperature>
        <top_k>40</top_k>
        <top_p>0.92</top_p>
        <repetition_penalty>1.15</repetition_penalty>
        <max_tokens>512</max_tokens>
        <seed>42</seed>
    </settings>

    <!-- Seed notes to prompt the model with.
         pitch: MIDI note (60 = Middle C)
         velocity: note loudness (1 to 127)
         duration_ms: note length in milliseconds
         delay_ms: pause time before starting the note (0 for chords)
    -->
    <prompt>
        <note pitch="60" velocity="100" duration_ms="300" delay_ms="0"/> <!-- C4 -->
        <note pitch="64" velocity="100" duration_ms="300" delay_ms="0"/> <!-- E4 -->
        <note pitch="67" velocity="100" duration_ms="300" delay_ms="0"/> <!-- G4 -->
        <note pitch="72" velocity="100" duration_ms="600" delay_ms="300"/> <!-- C5 -->
    </prompt>
</generation>