Does John Snow provide a way to generate narration based on the given points? #13870
-
Hello 👋 👉 BackgroundI have a program that takes a dataset as input and calculates some metrics based on the input and generates the points written in English. The points are templates. The main goal is to generate points that can be used as in interpretation of the given visualization in the dashboard/visualization. 👉 ExampleSuppose there is a pie chart in the dashboard that shows which state of USA contributes to the gross sales and by how much. Thus there are 2 columns, one is numeric (for GrossSales) and second is the categorical (name of the state). ➡️ Then my program would produce the following based on the preset template:
➡️ Now based on this I want to create a narration like the given below which takes all points created my program and generates a paragraph that has a smooth reading flow:
👉 ProblemThis can easily be achieved with GPT-3.5/4 or other LLMs like GPT-J/OpenAssit models which are >6B & instruction tuned. But I am wiling to find a simpler appraoch which can be light weight and simple. I have tried GPT-2 and T5 (which are reasonably smaller) but their summaries are not approapriate (can't call these "summaries" right? "praraphrazing"?). Also paraphrasing models are not working. Will you please suggest something? I have tried both of these model on JSL as well, but didn't work. And this templatized approach doesn't look good and feels more robotic. By using something I want to add some dynamic words in my narration. Bigger and instruction tuned models have shown pretty good results but as asked here #13864 , JSL is adding the support of CausalLM. And as of now I am not sure if there are any good models to do this task. Also for fine tuning, the appropriate datasets are not available. Please direct, if there is anything on this platform that I can use. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We are in the process of integrating ONNX Runtime in addition to TensorFlow in Spark NLP. Once that happens, we will bring CasualLM models that were fine-tuned over instructions and allow you to construct prompts to allow this. Stay tuned, more updates will come! :) |
Beta Was this translation helpful? Give feedback.
We are in the process of integrating ONNX Runtime in addition to TensorFlow in Spark NLP. Once that happens, we will bring CasualLM models that were fine-tuned over instructions and allow you to construct prompts to allow this.
Stay tuned, more updates will come! :)