Where do I add the line"trust_remode_code=True
There are similar question on this forum, but apparently the level of those posters is above mine. I am a true beginner.  (unless you want to talk firefighting which I’m retired from now!)Does this append to a already created python file, or batch file? Do I create another file to put these parameters in?I ask for your patience in giving me a step-by-step guide to do this.I apologize for my ignorance in this.My system is a Ryzen 5800x, 3070 8 gb, and 32 gb ram,windows 11 pro, 2 tb ssd. Which I realize is very low in this concept.I’ve asked youtubers and received no answers.Thank you in advance for considereing a response!
2023-06-22T23:08:40Z
Anyone at all? I know you guys are thinking…What’s this guy even here for?
2023-06-23T08:01:05Z
Hello@Psok,You should use this as an argument to the class method.from_pretrainedwhen called on the classAutoModel...As an example:model = AutoModel.from_pretrained("model_name_in_hub", trust_remote_code=True)
2023-06-23T18:21:25Z
It’s a pleasure to meet you!Can you please tell me which file to put that in? I have rudimentary knowledge of programming at best.I can do “Hello World!” And write a  simple ren’py novel, but that’s the extent of it.Thank you so much for answering!
2024-07-09T15:20:48Z
rvienne:trust_remote_codeHi Are you sure of this please?There is no parameter named ‘trust_remote_code’ for the method ‘from_pretrained’