why

#1
by YaserDS-777 - opened

HI! You can check out reference code here: https://github.com/huggingface/huggingface-llama-recipes/blob/main/inference-api.ipynb
My guess is that this piece of code is there because OpenAI client is more easy to use than the HF Client itself for Llama 3.1 :)

Sign up or log in to comment