Matthias Reso 3ddf755539 Move examples into subfolders 1 éve
..
chat_completion 3ddf755539 Move examples into subfolders 1 éve
code_llama ccda6fb8ca Move inference scripts into example folder 1 éve
hf_text_generation_inference ccda6fb8ca Move inference scripts into example folder 1 éve
vllm 3ddf755539 Move examples into subfolders 1 éve
README.md ccda6fb8ca Move inference scripts into example folder 1 éve
inference.py ccda6fb8ca Move inference scripts into example folder 1 éve
samsum_prompt.txt ccda6fb8ca Move inference scripts into example folder 1 éve

README.md

Inference

This folder contains inference examples for Llama 2. So far, we have provided support for three methods of inference:

  1. inference script script provides support for Hugging Face accelerate, PEFT and FSDP fine tuned models.

  2. vLLM_inference.py script takes advantage of vLLM's paged attention concept for low latency.

  3. The hf_text_generation_inference folder contains information on Hugging Face Text Generation Inference (TGI).

For more in depth information on inference including inference safety checks and examples, see the inference documentation here.