You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
temperature: temperature (hyperparam) of model OPTIONAL, default 0.6
max_tokens: number of maximum output tokens from model OPTIONAL, default 1024
Creates instance of llm_request class from llm_request.py, takes input from user for a prompt, uses llm_request to prompt the LLM hosted at the url, prints response and exits
Just an example of how you could use vllm, not limited to this
"""
fromllm_requestimportllm_request
importargparse
defmain():
parser=argparse.ArgumentParser()
parser.add_argument("url", help="url to hosted model (via vllm)")