Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
yaml_config="""
input_features:
-
name: Original_Title
type: text
level: word
encoder: t5
reduce_output: null
-
name: Keyword
type: text
level: word
tied_weights: Original_Title
encoder: t5
reduce_output: null
output_features:
-
name: Optimized_Title
type: sequence
level: word
decoder: generator
"""
with open("config.yaml", "w") as f:
f.write(yaml_config)
@Suvakanta8
Copy link

Suvakanta8 commented Sep 9, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment