#!/usr/bin/env bash

PRETRAINED=${1:-"hpcaitech/grok-1"}

torchrun --standalone --nproc_per_node 8 inference_tp.py --pretrained "$PRETRAINED" \
    --max_new_tokens 100 \
    --text "The company's annual conference, featuring keynote speakers and exclusive product launches, will be held at the Los Angeles Convention Center from October 20th to October 23rd, 2021. Extract the date mentioned in the above sentence." \
            "将以下句子翻译成英语。 我喜欢看电影和读书。" \
            "All books have the same weight, 10 books weigh 5kg, what is the weight of 2 books?"
