Custom use of Phi2 model wich is an open source LLM. We use 2B version.
- POC : use Phi2 model and prove it's sufficient for our use (tips for creating dishes from various ingredients)
- Model quantization for performances improvement
- Offline use with acceptables performances
You need to install right transformers
version :
python -m pip install git+https://github.com/huggingface/transformers
python main.py
- First Phi-2 use
- Try custom prompt
- Improve prompt
- Offline use
- Model quantization