-
-
Save hamletbatista/1f9a86d4364f641f776808bff03f557b to your computer and use it in GitHub Desktop.
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) |
Hi Hamlet
It wouldn't have been possible without you.
Can't thank you enough.
Regards,
Mithila
Hi Hamlet,
I'm getting issues when get to:
Import panda as pd
And
df = pd.read.csv("dAta.csv")
df.head ()
In the "data.csv" is that where I'm going to import my data I want to optimize?
And 2) How do I upload my data into it?
And after it has optimize the tag how do I download it into a spreadsheet for analysis?
@tthebimbolawal
When you dowload the file using the !wget
instructions provided by Hamlet, the resulting csv will be named hootsuite_titles.csv
, and it will be in the content
folder, if you are using google-colab. See screenshot.
So, to load it in pandas you can do pd.read_csv('hootsuite_titles.csv')
I hope that answers your question.
Hello all,
Thank you all for the information.
I have followed all steps and tried to make it work.
When I run the following code,
!ludwig predict --dataset hootsuite_titles_to_optimize.csv --model_path results/experiment_run/model/
It returns this error
FileNotFoundError: [Errno 2] No such file or directory: 'results/experiment_run/model/model_hyperparameters.json'
Could you all tell me what model path I should use to make it work?
Thank you a lot
Hii while I am trying to replace hootsuite_titles.csv dataset with my website dataset I am getting a value error like this:
ValueError: A Concatenate layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(128, 32, 512), (128, 224, 512)]
please reply.......
Thanks @marcusbianco can you please explain me how to prepare a dataset properly for training and the optimized score column in hootsuit dataset what is that ? Is that necessary for training?
@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..
Great job @mithila2806 @nearchoskatsanikakis ππ½ππ½ππ½
I'm glad you got it to work!