Questions tagged [nlg]

Natural Language Generation: A sub-field of NLP where machine learns to generate natural language text.

14 questions
12
votes
3 answers

Why is the F-measure preferred for classification tasks?

Why is the F-measure usually used for (supervised) classification tasks, whereas the G-measure (or Fowlkes–Mallows index) is generally used for (unsupervised) clustering tasks? The F-measure is the harmonic mean of the precision and recall. The…
Bruno Lubascher
  • 3,488
  • 1
  • 11
  • 35
4
votes
2 answers

Generate new sentences based on keywords

For example, for a domain specific neural network in Fashion, with the Keywords light, dress, orange, cotton. It could output: This gorgeous orange summer dress is great for wearing on sunny camping days. It's cotton fabric makes it very comfortable…
user1274878
  • 171
  • 1
  • 2
2
votes
0 answers

Generate Intro-Text for Newsletter

I am trying to implement the following idea. For a daily newsletter I would like to generate an engaging and funny intro text, such as: Good morning. Sorry if there are beer stains and buffalo sauce smeared on the Brew this morning. Yesterday was…
Carol.Kar
  • 187
  • 5
2
votes
1 answer

Framing Sentences based on keywords

Given a few specific words, which techniques of Natural Language Processing can I use to achieve creating a meaningful sentence from those words? eg. Words: jackets, highest sale, sweaters, lowest sale Sentence: Jackets exhibited the highest sales…
Viswa
  • 121
  • 1
  • 5
2
votes
1 answer

How to create a language translator from scratch?

I want to create a translator which can translate English, Korean and Tamil sentences into English sentence, I tried googletrans but is there any way to create something better than that using DL and NLP techniques?
init-22
  • 21
  • 3
1
vote
1 answer

Generate sentences from keywords by adding formal word

For example, I have a list of keywords like I, hungry => output: I am hungry or I, author, poem => output: I am the author of this poem. Can someone please suggest the simplest way to achieve this? I am a newbie, please tell me which knowledge I…
1
vote
0 answers

Generate sentences using given data

I am working on an automated insights generation use case where I want to generate meaningful sentences from given aggregated data. For example, Data: Student = John Total_Marks = 96 Class_Average = 85 NLG model-generated insights: 1. You did an…
1
vote
0 answers

sentence patterns/rules/formulas for imperative sentences …

Please let me ask if you know any ressources on imperative sentence patterns for natural language generation. There’s probably some ressources online, but I did not really find any. Imperative sentences, or command sentences, could be structured…
fooness
  • 11
  • 2
1
vote
1 answer

How are natural language generation algorithms given a target

I've started learning about NLP and NLG and I'm fascinated! I've been blown away by the things I've seen from NLP; but I have a few questions about NLG. All my questions boil down to this: Given a network or Markov chain how does one specify what…
user6916458
  • 172
  • 5
1
vote
0 answers

How to monitor training of text generation models?

I'm finetuning a pretrained Huggingface model based on Transformers for a downstream Text Generation task, but I have doubts on how the fine-tuning process should be monitored: In classification, I usually calculate the loss and other metrics (e.g …
Ciodar
  • 151
  • 1
  • 8
1
vote
1 answer

What is the difference between batch_encode_plus() and encode_plus()

I am doing a project using T5 Transformer. I have read documentations related to T5 Transformer model. While using T5Tokenizer I am kind of confused with tokenizing my sentences. Can someone please help me understand the difference between…
10sha25
  • 43
  • 2
  • 7
0
votes
0 answers

Data To Text NLG for financial reports

I am working on a project where I want to replace a template-based approach for financial reporting with an end-to-end approach with NLG. The template-based approach takes as input some financial data (features about ESG: environment, governance,…
Doxcos44
  • 11
  • 1
0
votes
1 answer

How does T5 model work on input and target data while transfer learning?

I am working on a project where I want the model to generate job description based on Role, Industry, Skills. I have trained my data and got the resultant output. I am aware that the T5 model was trained on C4 data in an unsupervised manner. The…
10sha25
  • 43
  • 2
  • 7
0
votes
0 answers

How effective is text generation?

I have implemented some basic models like composing a poem using the dataset of poems. But the results were not that good in general. I want to make a model that could write an essay for me. One strong motivation for making this essay writing model…