|
|
hace 2 años | |
|---|---|---|
| .. | ||
| hf-text-generation-inference | hace 2 años | |
| README.md | hace 2 años | |
| chat_completion.py | hace 2 años | |
| chat_utils.py | hace 2 años | |
| chats.json | hace 2 años | |
| inference.py | hace 2 años | |
| model_utils.py | hace 2 años | |
| safety_utils.py | hace 2 años | |
| samsum_prompt.txt | hace 2 años | |
| vLLM_inference.py | hace 2 años | |
This folder contains inference examples for Llama 2. So far, we have provided support for three methods of inference:
inference script script provides support for Hugging Face accelerate and PEFT fine tuned models.
vLLM_inference.py script takes advantage of vLLM's paged attention concept for low latency.
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.