Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ subprocess.run(
|
|
| 36 |
shell=True,
|
| 37 |
)
|
| 38 |
|
| 39 |
-
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 40 |
# pip install 'git+https://github.com/huggingface/transformers.git'
|
| 41 |
|
| 42 |
|
|
@@ -49,6 +49,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 49 |
# model_id = "mistralai/Mistral-7B-v0.3"
|
| 50 |
|
| 51 |
model_id = "microsoft/Phi-3-medium-4k-instruct"
|
|
|
|
|
|
|
| 52 |
# model_id = "Qwen/Qwen2-7B-Instruct"
|
| 53 |
|
| 54 |
|
|
|
|
| 36 |
shell=True,
|
| 37 |
)
|
| 38 |
|
| 39 |
+
# client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 40 |
# pip install 'git+https://github.com/huggingface/transformers.git'
|
| 41 |
|
| 42 |
|
|
|
|
| 49 |
# model_id = "mistralai/Mistral-7B-v0.3"
|
| 50 |
|
| 51 |
model_id = "microsoft/Phi-3-medium-4k-instruct"
|
| 52 |
+
model_id = "microsoft/phi-4"
|
| 53 |
+
|
| 54 |
# model_id = "Qwen/Qwen2-7B-Instruct"
|
| 55 |
|
| 56 |
|