Last active
September 9, 2021 13:48
-
-
Save hamletbatista/1f9a86d4364f641f776808bff03f557b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@marcusbianco While I am using this data set https://docs.google.com/spreadsheets/d/e/2PACX-1vQeg6komuBq6U4Rn_SWFNXgGxXIL4fhQcdJp2A8p0B2pmiucvDG5SUpXEGKooJPaTPsN0ivIaCvqIad/pub?gid=0&single=true&output=csv
its running fine but just check this dataset also https://docs.google.com/spreadsheets/d/e/2PACX-1vSbe_3C_JV06TQvL-TR741o7goEycu0oGwO3kfJleawuDQEQiu2ZC2lpgeHhRQayJ4JoZe6PvbdCvbF/pub?gid=0&single=true&output=csv , while I am trying to run this one its throwing that value error... please guide me.. Kindly check and tell me the differences..