Purporse of orientation parameter in rag_tuning. #59
Replies: 4 comments 4 replies
-
Hi, if the orientation is 'kind', then inputs and outputs are grouped together. It is is item, then all fields for items are grouped together. E.g, in JSON {"inputs": [item1, item2..], "outputs": [item1, item2..]} vs {item1: {"input": <>, "output": <>}. This makes sense trying out to see if locality impacts performance. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. I tried beam search with the following parameter values. I tried increasing the parameters as below: However still item = "kind" is not being iterated across the beam search. The documentation was only having contents relating to enumerative search with RAG. However i want to also perform instruction tuning along with optimization of orientation parameter. Q2. How to ensure both orient = "kind" and "item" are being iterated in beam search along with Instruction Optimisation? |
Beta Was this translation helpful? Give feedback.
-
Good question! Three ways:
|
Beta Was this translation helpful? Give feedback.
-
@t-schn , thank you for the reply I will check regarding this. However, I also wanted to get information on the optimised prompt from the iteration (refer Q1 of my previous comment). I couldn't see it. I checked both cache file and also the model.json file (I have attached the file above) but i couldn't find it. How to know that when "item" or "kind" is given as orientation parameter, then the particular input is optimised? I want to know the optimised prompt for the iteration. |
Beta Was this translation helpful? Give feedback.
-
Hello team,
I was trying out use case example rag_tuning. I have a doubt on the parameter you are optimising.
Beta Was this translation helpful? Give feedback.
All reactions