LLM chat example using llama_3b
Install Anaconda and create a new env.
Below is the valid commands for macos . see cheat sheet for windows and linux.
conda create --name chatgpt-310 python=3.10
conda activate chatgpt-310
pip install tiktoken transformers torch sentencepiece accelerate
python chat.py
prints:
Q: What is opposite color of black?
A: Black is the opposite of white.