sequences = pipeline( 'I liked "Breaking Bad" and "Band of Brothers". Do you have any recommendations of other shows I might like?\n', do_sample=True, top_k=10, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id, max_length=200, ) for seq in sequences: print(f"Result: {seq['generated_text']}")
intmain(){ auto mod = LoadLibrary(L"onnxruntime1.16.1.dll"); auto OrtGetApiBase = (const OrtApiBase *(*)(void))GetProcAddress(mod, "OrtGetApiBase"); Ort::InitApi(OrtGetApiBase()->GetApi(ORT_API_VERSION));