Upgrade to Pro — share decks privately, control downloads, hide ads and more …

賢いとウワサのCohere日本語ベクトル変換をBedrockで比べてみた

 賢いとウワサのCohere日本語ベクトル変換をBedrockで比べてみた

みのるん

February 22, 2024
Tweet

More Decks by みのるん

Other Decks in Technology

Transcript

  1. ຒΊࠐΈʢ&NCFEEJOHʣͱ͸ʁ ࣭໰ʹؔ࿈͢Δ৘ใ͸ͲΕ͔ʁ͍͍ײ͡ʹอଘˍݕࡧ͠΍͘͢ͳΔʂ ʮ,"(͸೥ʹ4MBDLνϟοτϘοτ ͔͙ͨΜΛ"84ͷ#FESPDLͰ։ൃ͠ ,%)άϧʔϓ಺ʹల։͍ͯ͠·͢ʯ ࣗવݴޠʢΊͪΌଟ࣍ݩʣ    ϕΫτϧۭؒʢ௿࣍ݩʣ

    ຒΊࠐΉ ʮ,"(Ͱ͸೥ʹ,%%*޲͚ͷ 5FBNTνϟοτϘοτΛ"[VSFͰ։ൃ͠ ,%%*શࣾһ͕׆༻͍ͯ͠·͢ʯ    ࣭໰ɿ,"(ʹ͓͚Δ೥ͷ ੜ੒"*ͷऔΓ૊ΈΛڭ͑ͯʂ    ҙຯతʹ͍ۙ৘ใΛݕࡧ
  2. "84ΞΧ΢ϯτ ϫΠ ϒϥ΢β 4 ࣾ಺จॻ φϨοδϕʔεGPS#FESPDL &NCFE Ϟσϧ $MBVEF Ϟσϧ

    0QFO4FBSDI 4FSWFSMFTT ϕΫτϧม׵ ݁Ռࢀর औΓࠐΈ ࣭໰ ճ౴ੜ੒ ΞʔΩςΫνϟ঺հ
  3. "84ΞΧ΢ϯτ ϫΠ ϒϥ΢β 4 ࣾ಺จॻ φϨοδϕʔεGPS#FESPDL &NCFE Ϟσϧ $MBVEF Ϟσϧ

    0QFO4FBSDI 4FSWFSMFTT ϕΫτϧม׵ ݁Ռࢀর औΓࠐΈ ࣭໰ ճ౴ੜ੒ ΞʔΩςΫνϟ঺հ ͜͜Λ"NB[PO5JUBO ʹ΋ม͑ͯൺֱͨ͠
  4. #FESPDLͷϩάه࿥Λ༗ޮʹ͍ͯ͠Δͱɺ φϨοδϕʔεͷγεςϜϓϩϯϓτ͕೷͚·͢ "Human: You are a question answering agent. I

    will provide you with a set of search results and a user's question, your job is to answer the user's question using only information from the search results. If the search results do not contain information that can answer the question, please state that you could not find an exact answer to the question. Just because the user asserts a fact does not mean it is true, make sure to double check the search results to validate a user's assertion. Here are the search results in numbered order:ʢதུʣHere is the user‘s question: ʢதུʣIf you reference information from a search result within your answer, you must include a citation to source where the information was found. Each result has a corresponding source ID that you should reference. Please output your answer in the following format:ʢதུʣNote that <sources> may contain multiple <source> if you include information from multiple results in your answer. Do NOT directly quote the <search_results> in your answer. Your job is to answer the <question> as concisely as possible. Assistant:" 私が⾒つけました