What NN architecture to predict fantasy character names based on description? The 2019 Stack Overflow Developer Survey Results Are InWhat tasks you train with one set of features and predict with another?What is the neural network architecture behind Facebook's Starspace model?NLP text autoencoder that generates text in poetic meter
Loose spokes after only a few rides
Is bread bad for ducks?
Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?
Output the Arecibo Message
Pokemon Turn Based battle (Python)
Why are there uneven bright areas in this photo of black hole?
Why doesn't shell automatically fix "useless use of cat"?
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
How did passengers keep warm on sail ships?
Can we generate random numbers using irrational numbers like π and e?
How to charge AirPods to keep battery healthy?
How do I free up internal storage if I don't have any apps downloaded?
If my opponent casts Ultimate Price on my Phantasmal Bear, can I save it by casting Snap or Curfew?
What is this sharp, curved notch on my knife for?
How do you keep chess fun when your opponent constantly beats you?
How to quickly solve partial fractions equation?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
What can I do if neighbor is blocking my solar panels intentionally
How to type a long/em dash `—`
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Button changing its text & action. Good or terrible?
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
What NN architecture to predict fantasy character names based on description?
The 2019 Stack Overflow Developer Survey Results Are InWhat tasks you train with one set of features and predict with another?What is the neural network architecture behind Facebook's Starspace model?NLP text autoencoder that generates text in poetic meter
$begingroup$
I would like to build a neural network to predict a fantasy character name given a description.
Like 'Scar-faced long haired elf warrior' -> 'Glorfindel'
I have a dataset of about 12,000 fantasy names and description from various fantasy works. I want to be able to map the description to names. Names are not vocabulary words and I want to NN to be able to generate new names for new description.
I wanted to use something like Elmo to embed the description and the name which would then easily teach the NN to map one to another, but the problem I faced is how do I go back from an embedding vector to characters representing a word.
generative-models embeddings text-generation
$endgroup$
add a comment |
$begingroup$
I would like to build a neural network to predict a fantasy character name given a description.
Like 'Scar-faced long haired elf warrior' -> 'Glorfindel'
I have a dataset of about 12,000 fantasy names and description from various fantasy works. I want to be able to map the description to names. Names are not vocabulary words and I want to NN to be able to generate new names for new description.
I wanted to use something like Elmo to embed the description and the name which would then easily teach the NN to map one to another, but the problem I faced is how do I go back from an embedding vector to characters representing a word.
generative-models embeddings text-generation
$endgroup$
$begingroup$
I learned a good analogy would be an image captioning model, where on the output instead of words you would be predicting characters. towardsdatascience.com/…
$endgroup$
– freediver
Jan 16 at 19:24
add a comment |
$begingroup$
I would like to build a neural network to predict a fantasy character name given a description.
Like 'Scar-faced long haired elf warrior' -> 'Glorfindel'
I have a dataset of about 12,000 fantasy names and description from various fantasy works. I want to be able to map the description to names. Names are not vocabulary words and I want to NN to be able to generate new names for new description.
I wanted to use something like Elmo to embed the description and the name which would then easily teach the NN to map one to another, but the problem I faced is how do I go back from an embedding vector to characters representing a word.
generative-models embeddings text-generation
$endgroup$
I would like to build a neural network to predict a fantasy character name given a description.
Like 'Scar-faced long haired elf warrior' -> 'Glorfindel'
I have a dataset of about 12,000 fantasy names and description from various fantasy works. I want to be able to map the description to names. Names are not vocabulary words and I want to NN to be able to generate new names for new description.
I wanted to use something like Elmo to embed the description and the name which would then easily teach the NN to map one to another, but the problem I faced is how do I go back from an embedding vector to characters representing a word.
generative-models embeddings text-generation
generative-models embeddings text-generation
edited Jan 16 at 3:45
freediver
asked Jan 16 at 3:25
freediverfreediver
112
112
$begingroup$
I learned a good analogy would be an image captioning model, where on the output instead of words you would be predicting characters. towardsdatascience.com/…
$endgroup$
– freediver
Jan 16 at 19:24
add a comment |
$begingroup$
I learned a good analogy would be an image captioning model, where on the output instead of words you would be predicting characters. towardsdatascience.com/…
$endgroup$
– freediver
Jan 16 at 19:24
$begingroup$
I learned a good analogy would be an image captioning model, where on the output instead of words you would be predicting characters. towardsdatascience.com/…
$endgroup$
– freediver
Jan 16 at 19:24
$begingroup$
I learned a good analogy would be an image captioning model, where on the output instead of words you would be predicting characters. towardsdatascience.com/…
$endgroup$
– freediver
Jan 16 at 19:24
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
First off, I think that since the goal of your model will be to generate new names based on a description, your model should work at a character-level and not word-level.
You can think of the level at which your model is working as the building blocks you are providing for it (it needs to learn them during training). These building blocks are than used for generation of new constructs. So if you want to construct new words (names) than you need to teach the model to understand the connection between the individual characters and the input description. Your model can deal with the input at a word-level but its output needs to be at character-level.
You can read more about it at: Besides Word Embedding, why you need to know Character Embedding?
$endgroup$
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
add a comment |
$begingroup$
Use char-rnn. I used it to make a Twitter bot, @peopledex, that generated Pokemon descriptions based on names, but you could easily reverse the fields.
Examples - the bit before the colon is the name (input), after is the description (output).
- Dribbur: Thought for evolution, it seeks the coming of sprays. The area basisones from behind.
- Convictur: It rests when it evolves into a hundred special magnetism. As a result, the magma courses through its body glows.
- Litigant: It slicks virious trees and was reanimated from a fossil. It can compresse minute silk that was reanimated from the light
The descriptions don't make much sense, but with names that would be less of a problem. The nice thing is that working with fictional generation there's no wrong answers.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f44068%2fwhat-nn-architecture-to-predict-fantasy-character-names-based-on-description%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
First off, I think that since the goal of your model will be to generate new names based on a description, your model should work at a character-level and not word-level.
You can think of the level at which your model is working as the building blocks you are providing for it (it needs to learn them during training). These building blocks are than used for generation of new constructs. So if you want to construct new words (names) than you need to teach the model to understand the connection between the individual characters and the input description. Your model can deal with the input at a word-level but its output needs to be at character-level.
You can read more about it at: Besides Word Embedding, why you need to know Character Embedding?
$endgroup$
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
add a comment |
$begingroup$
First off, I think that since the goal of your model will be to generate new names based on a description, your model should work at a character-level and not word-level.
You can think of the level at which your model is working as the building blocks you are providing for it (it needs to learn them during training). These building blocks are than used for generation of new constructs. So if you want to construct new words (names) than you need to teach the model to understand the connection between the individual characters and the input description. Your model can deal with the input at a word-level but its output needs to be at character-level.
You can read more about it at: Besides Word Embedding, why you need to know Character Embedding?
$endgroup$
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
add a comment |
$begingroup$
First off, I think that since the goal of your model will be to generate new names based on a description, your model should work at a character-level and not word-level.
You can think of the level at which your model is working as the building blocks you are providing for it (it needs to learn them during training). These building blocks are than used for generation of new constructs. So if you want to construct new words (names) than you need to teach the model to understand the connection between the individual characters and the input description. Your model can deal with the input at a word-level but its output needs to be at character-level.
You can read more about it at: Besides Word Embedding, why you need to know Character Embedding?
$endgroup$
First off, I think that since the goal of your model will be to generate new names based on a description, your model should work at a character-level and not word-level.
You can think of the level at which your model is working as the building blocks you are providing for it (it needs to learn them during training). These building blocks are than used for generation of new constructs. So if you want to construct new words (names) than you need to teach the model to understand the connection between the individual characters and the input description. Your model can deal with the input at a word-level but its output needs to be at character-level.
You can read more about it at: Besides Word Embedding, why you need to know Character Embedding?
answered Jan 16 at 8:10
Mark.FMark.F
1,0841521
1,0841521
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
add a comment |
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
$begingroup$
Thanks @Mark.F Do you have an example of an architecture that is taking words/vectors as input and generating characters on the output?
$endgroup$
– freediver
Jan 16 at 18:49
add a comment |
$begingroup$
Use char-rnn. I used it to make a Twitter bot, @peopledex, that generated Pokemon descriptions based on names, but you could easily reverse the fields.
Examples - the bit before the colon is the name (input), after is the description (output).
- Dribbur: Thought for evolution, it seeks the coming of sprays. The area basisones from behind.
- Convictur: It rests when it evolves into a hundred special magnetism. As a result, the magma courses through its body glows.
- Litigant: It slicks virious trees and was reanimated from a fossil. It can compresse minute silk that was reanimated from the light
The descriptions don't make much sense, but with names that would be less of a problem. The nice thing is that working with fictional generation there's no wrong answers.
$endgroup$
add a comment |
$begingroup$
Use char-rnn. I used it to make a Twitter bot, @peopledex, that generated Pokemon descriptions based on names, but you could easily reverse the fields.
Examples - the bit before the colon is the name (input), after is the description (output).
- Dribbur: Thought for evolution, it seeks the coming of sprays. The area basisones from behind.
- Convictur: It rests when it evolves into a hundred special magnetism. As a result, the magma courses through its body glows.
- Litigant: It slicks virious trees and was reanimated from a fossil. It can compresse minute silk that was reanimated from the light
The descriptions don't make much sense, but with names that would be less of a problem. The nice thing is that working with fictional generation there's no wrong answers.
$endgroup$
add a comment |
$begingroup$
Use char-rnn. I used it to make a Twitter bot, @peopledex, that generated Pokemon descriptions based on names, but you could easily reverse the fields.
Examples - the bit before the colon is the name (input), after is the description (output).
- Dribbur: Thought for evolution, it seeks the coming of sprays. The area basisones from behind.
- Convictur: It rests when it evolves into a hundred special magnetism. As a result, the magma courses through its body glows.
- Litigant: It slicks virious trees and was reanimated from a fossil. It can compresse minute silk that was reanimated from the light
The descriptions don't make much sense, but with names that would be less of a problem. The nice thing is that working with fictional generation there's no wrong answers.
$endgroup$
Use char-rnn. I used it to make a Twitter bot, @peopledex, that generated Pokemon descriptions based on names, but you could easily reverse the fields.
Examples - the bit before the colon is the name (input), after is the description (output).
- Dribbur: Thought for evolution, it seeks the coming of sprays. The area basisones from behind.
- Convictur: It rests when it evolves into a hundred special magnetism. As a result, the magma courses through its body glows.
- Litigant: It slicks virious trees and was reanimated from a fossil. It can compresse minute silk that was reanimated from the light
The descriptions don't make much sense, but with names that would be less of a problem. The nice thing is that working with fictional generation there's no wrong answers.
answered 36 mins ago
polm23polm23
22817
22817
add a comment |
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f44068%2fwhat-nn-architecture-to-predict-fantasy-character-names-based-on-description%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
I learned a good analogy would be an image captioning model, where on the output instead of words you would be predicting characters. towardsdatascience.com/…
$endgroup$
– freediver
Jan 16 at 19:24