Skip to content

Commit

Permalink
Add default model for keyword generation
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-grella committed Oct 3, 2022
1 parent c6e6ac6 commit 8209000
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/tasks/text2text/text2text.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const (
// DefaultModelForAbstractiveQuestionAnswering is a summarization model fine-tuned for answer generation.
// Model card: https://huggingface.co/vblagoje/bart_lfqa/tree/main
DefaultModelForAbstractiveQuestionAnswering = "vblagoje/bart_lfqa"

// DefaultModelForKeywordsGeneration is a text generation model that produces a concatenated sequence of keyphrases.
// Model card: https://huggingface.co/bloomberg/KeyBART
DefaultModelForKeywordsGeneration = "bloomberg/KeyBART"
)

// DefaultModelForMachineTranslation specializes the model template for the source and target languages (iso-a2).
Expand Down

0 comments on commit 8209000

Please sign in to comment.