Richard3306 commited on
Commit
9ce5ddf
·
verified ·
1 Parent(s): 9115c77

Update app.py

Browse files

trans model to llama 3.1

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,7 +4,9 @@ from huggingface_hub import InferenceClient
4
  """
5
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
6
  """
7
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
 
 
8
 
9
 
10
  def respond(
 
4
  """
5
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
6
  """
7
+ new_path = "meta-llama/Meta-Llama-3.1-8B-Instruct"
8
+ origin_path = "HuggingFaceH4/zephyr-7b-beta"
9
+ client = InferenceClient(new_path)
10
 
11
 
12
  def respond(