Veucci commited on
Commit
b8be53a
1 Parent(s): 75c7b9c

Update README.md

Browse files

Added quick start code.

Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -57,6 +57,17 @@ For training and test codes check out [Github page](https://github.com/Veucci/tu
57
  The model was trained on a diverse and labeled dataset of song lyrics, which contained 3172 rows. The dataset was carefully curated to include songs from a wide range of artists and genres, ensuring a comprehensive representation of Pop, Rock, Hip-Hop and Arabesk music.
58
  [DATASET](https://huggingface.co/datasets/Veucci/turkish-lyric-to-genre)
59
 
 
 
 
 
 
 
 
 
 
 
 
60
  ## License
61
 
62
  This dataset is released under the Creative Commons Attribution-NonCommercial license. This means that you are not allowed to use the dataset for commercial purposes. For detailed information about the license, please refer to the [LICENSE](./LICENSE) file.
 
57
  The model was trained on a diverse and labeled dataset of song lyrics, which contained 3172 rows. The dataset was carefully curated to include songs from a wide range of artists and genres, ensuring a comprehensive representation of Pop, Rock, Hip-Hop and Arabesk music.
58
  [DATASET](https://huggingface.co/datasets/Veucci/turkish-lyric-to-genre)
59
 
60
+ ## Quick Start
61
+
62
+ ```py
63
+ from transformers import pipeline
64
+
65
+ classifier = pipeline("text-classification", model="Veucci/lyrics-to-genre")
66
+ result = classifier("Bedava yaşıyoruz, dostlar bedava Hava bedava, bulut bedava Dere tepe bedava, yağmur çamur bedava")
67
+
68
+ print(result)
69
+ ```
70
+
71
  ## License
72
 
73
  This dataset is released under the Creative Commons Attribution-NonCommercial license. This means that you are not allowed to use the dataset for commercial purposes. For detailed information about the license, please refer to the [LICENSE](./LICENSE) file.