Answers.Body: <p>I tried it myself by giving the lyrics specifying the language and then, asking what comes after those lyrics. It also gives the translation. This can be solved using ChatGPT.</p>
  <p>Coming to your other point. Yes, we can do it without ChatGPT. You just need to create good embeddings of the other lyrics and find similarity between them. You can do that with training models like BERT and adding ArcFace loss to them.</p>
  <p>But, since you have ChatGPT, I wouldn't recommend that.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-01T11:03:43.697Z
Answers.LastActivityDate: 2023-03-01T11:03:43.697Z
Answers.UserDisplayName: Abhishek Verma
Body: <p>I want to make a lyric search tool.</p>
  <p>In other words,it is means that give some prompts and get some lyrics which exist in the real world.</p>
  <p><strong>For example:</strong></p>
  <p><strong>Input:</strong> some lyrics from coldplay ,give me power</p>
  <p><strong>Output:</strong></p>
  <p>Lights will guide you home</p>
  <p>And ignite your bones</p>
  <p>And I will try to fix you</p>
  <p>I am a NLP newbie.And I want to use BERT to solve this problem but i don't know how to continue to do it.</p>
  <p>My idea is bulid a structure as following:</p>
  <p><a href="https://i.sstatic.net/khloD.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/khloD.jpg" alt="enter image description here" /></a></p>
  <p>And calculate  cosine similarity between output.</p>
  <p>But it dosen't work well.</p>
  <p>So I have another idea.</p>
  <p>Powerful chatGPT can recommand lyric but it does not work well in other non-English language lyrics.</p>
  <p>Now my idea is use chatGPT to generate a lyric, translate the generated lyric into a specified language, and then compare the generated lyric with the lyric datasets to select the most similar one.</p>
  <p>But this method is complex and it's hard to guarantee the accuracy of the search.</p>
  <p>Is there any better way？Is there another way to do this without chatgpt?
  Or are there any similar papers?I only found the papers about ai generate lyric.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-01T02:40:52.847Z
Comments.Text: Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
Comments.UserDisplayName: Anshuman Kumar
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-02T18:03:59.270Z
Comments.Text: What have you tried? What do you understand about BERT? We want to help you but you have to communicate with us.  The answer. Generally speaking is yes. I've written similar systems for searching legal text which is just as obtuse.   
  
  Do you know what a semantic embedding is?
Comments.UserDisplayName: Conic
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-07T11:16:36.200Z
Comments.Text: @Conic Thank you for your comment. I added more details. I don't know semantic embedding.I'm going to learn it.Are there any recommended papers about semantic embedding ?
Comments.UserDisplayName: qsa
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-07T11:16:56.320Z
Comments.Text: @AnshumanKumar Thank you for your comment. I added more details.
Comments.UserDisplayName: qsa
Tags: <machine-learning><deep-learning><natural-language-processing>
Title: lyric search algorithm :prompt to real lyric
UserDisplayName: qsa
ThreadText: # lyric search algorithm :prompt to real lyric
  
  (Asked by: username_0 on 2023-03-01)
  
  I want to make a lyric search tool.
  
  In other words,it is means that give some prompts and get some lyrics which exist in the real world.
  
  **For example:**
  
  **Input:** some lyrics from coldplay ,give me power
  
  **Output:**
  
  Lights will guide you home
  
  And ignite your bones
  
  And I will try to fix you
  
  I am a NLP newbie.And I want to use BERT to solve this problem but i don't know how to continue to do it.
  
  My idea is bulid a structure as following:
  
  [![enter image description here](https://i.sstatic.net/khloD.jpg)](https://i.sstatic.net/khloD.jpg)
  
  And calculate cosine similarity between output.
  
  But it dosen't work well.
  
  So I have another idea.
  
  Powerful chatGPT can recommand lyric but it does not work well in other non-English language lyrics.
  
  Now my idea is use chatGPT to generate a lyric, translate the generated lyric into a specified language, and then compare the generated lyric with the lyric datasets to select the most similar one.
  
  But this method is complex and it's hard to guarantee the accuracy of the search.
  
  Is there any better way？Is there another way to do this without chatgpt?
  Or are there any similar papers?I only found the papers about ai generate lyric.
  
  **Tags:** machine-learning, deep-learning, natural-language-processing
  
  > **Comments:**
  > **username_1**: Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.  
  > **username_2**: What have you tried? What do you understand about BERT? We want to help you but you have to communicate with us.  The answer. Generally speaking is yes. I've written similar systems for searching legal text which is just as obtuse.     Do you know what a semantic embedding is?  
  > **username_0**: @username_2 Thank you for your comment. I added more details. I don't know semantic embedding.I'm going to learn it.Are there any recommended papers about semantic embedding ?  
  > **username_0**: @username_1 Thank you for your comment. I added more details.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2023-03-01. Score: 1
  
  I tried it myself by giving the lyrics specifying the language and then, asking what comes after those lyrics. It also gives the translation. This can be solved using ChatGPT.
  
  Coming to your other point. Yes, we can do it without ChatGPT. You just need to create good embeddings of the other lyrics and find similarity between them. You can do that with training models like BERT and adding ArcFace loss to them.
  
  But, since you have ChatGPT, I wouldn't recommend that.
  
  
  ---
  
  