Код: Выделить всё
import text_generation
def generate_job_responsibilities(job_title, work_experience_required, skillset_required):
client = text_generation.InferenceAPIClient("OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5", token=)
`Предупреждение пользователя: поле «model_id» конфликтует с защищенным пространством имен «model_».
Это предупреждение можно устранить, установив model_config['protected_namespaces'] = ().
warnings.warn(`
Подробнее здесь: https://stackoverflow.com/questions/787 ... erence-api