Update README.md
Browse files
README.md
CHANGED
@@ -53,19 +53,19 @@ It might not be working in ONNX execution provider other than DmlExecutionProvid
|
|
53 |
The needed python scripts are included in this repository
|
54 |
|
55 |
Prerequisites:<br>
|
56 |
-
1. Install Python 3.
|
57 |
-
https://apps.microsoft.com/
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
62 |
mkdir c:\temp<br>
|
63 |
cd c:\temp<br>
|
64 |
python -m venv dmlgenai<br>
|
65 |
dmlgenai\Scripts\activate.bat<br>
|
66 |
pip install onnxruntime-genai-directml
|
67 |
|
68 |
-
|
69 |
It is modified version of "https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/phi3-qa.py".<br>
|
70 |
The modification makes the text output changes to new line after "., :, and ;" to make the output easier to be read.
|
71 |
|
|
|
53 |
The needed python scripts are included in this repository
|
54 |
|
55 |
Prerequisites:<br>
|
56 |
+
1. Install Python 3.11 from Windows Store:<br>
|
57 |
+
https://apps.microsoft.com/search/publisher?name=Python+Software+Foundation
|
58 |
|
59 |
+
3. Open command line cmd.exe
|
60 |
|
61 |
+
4. Create python virtual environment, activate the environment then install onnxruntime-genai-directml<br>
|
62 |
mkdir c:\temp<br>
|
63 |
cd c:\temp<br>
|
64 |
python -m venv dmlgenai<br>
|
65 |
dmlgenai\Scripts\activate.bat<br>
|
66 |
pip install onnxruntime-genai-directml
|
67 |
|
68 |
+
5. Use the onnxgenairun.py to get chat interface.<br>
|
69 |
It is modified version of "https://github.com/microsoft/onnxruntime-genai/blob/main/examples/python/phi3-qa.py".<br>
|
70 |
The modification makes the text output changes to new line after "., :, and ;" to make the output easier to be read.
|
71 |
|