mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-06-09 08:23:56 +02:00
fix path
This commit is contained in:
@@ -20,9 +20,8 @@ jobs:
|
||||
|
||||
- name: 'set up Microsoft Phi-3 Mini 4k LLM from HuggingFace'
|
||||
run: |
|
||||
mkdir ${{ github.workspace }}/tests/llm/phi3
|
||||
pip install huggingface-hub[cli]
|
||||
huggingface-cli download microsoft/Phi-3-mini-4k-instruct --local-dir ${{ github.workspace }}/tests/llm/phi3
|
||||
huggingface-cli download microsoft/Phi-3-mini-4k-instruct-onnx --include cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/* --local-dir ${{ github.workspace }}/tests/llm
|
||||
|
||||
- name: 'test'
|
||||
run: |
|
||||
@@ -32,5 +31,5 @@ jobs:
|
||||
pip install transformers
|
||||
pip install accelerate
|
||||
pip install optimum[exporters,onnxruntime]
|
||||
python -m tests.llm.llm_rag --prompt "What is the capital of France?"
|
||||
python -m tests.llm.llm_rag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user