Skip to content

Instantly share code, notes, and snippets.

@hamletbatista
Created October 25, 2019 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamletbatista/b117a790c1b3845069dfd041fae93c9e to your computer and use it in GitHub Desktop.
Save hamletbatista/b117a790c1b3845069dfd041fae93c9e to your computer and use it in GitHub Desktop.
#For example, let's create a YAML file to feed Ludwig
contents="""
input_features:
-
name: text
type: text
level: word
encoder: parallel_cnn
output_features:
-
name: category
type: category
"""
with open("ludwig_parallel_cnn_text.yaml", "w") as f:
f.write(content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment