This demo repo compares a Pytorch RNN model vs an LLM for simple classification tasks.
RNN model source
Copy the .env.example
file to .env
and fill in the values. Or export values in shell.
Set the OPENAI_API_KEY
environment variable to access the OpenAI models.
Set the PAREA_API_KEY
environment variable to access tracing
with PareaAI:
or export values in shell:
export OPENAI_API_KEY= <YOUR OPENAI API KEY>
export PAREA_API_KEY= <YOUR OPENAI API KEY>
pip install -r requirements.txt
Then run main/rnn_experiment.py
View experiment results on Parea AI.