kshahnathwani commited on
Commit
76b8745
·
verified ·
1 Parent(s): 43cbc8f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🎶 Chord Classifier
2
+
3
+ A RandomForest-based chord classifier trained on synthetic chord data.
4
+ It takes a set of notes (e.g., `"C E G"` or `"Db F Ab"`) and returns the chord label.
5
+
6
+ - **Model type**: RandomForestClassifier
7
+ - **Features**: 12-dim pitch class binary vector
8
+ - **Chord types supported**: maj, min, dim, aug, 7, maj7, m7, mMaj7, dim7, m7b5, 6, m6, sus2, sus4
9
+
10
+ ## Usage
11
+ ```python
12
+ from huggingface_hub import InferenceClient
13
+
14
+ client = InferenceClient("DS553-Music-Bot/chord_classifier", token="YOUR_HF_TOKEN")
15
+ print(client.post(inputs="C E G"))
16
+ # {'label': 'Cmaj'}