How to get code to replicate autotrain model

Sorry if this is an obvious question that I should know the answer to, but I can’t seem to easily figure it out.

What I really want is an example of code that takes text, takes a numeric dependent variable, takes an existing LLM, runs a model on it with reasonable parameters, and produces scores.

Autotrain text regression seems to be that, but it’s buried behind a GUI. I see that a model I run includes a github file with a config of parameters once I run it, but what I really want is just code I could grab and use in python (either locally or on a server) and change the parameters of myself to iterate. Any ideas how I can get that? Thanks so much!

is this what youre looking for?

I don’t think so, but I have been able to figure out what I need off chain. Thanks!