HelloSun commited on
Commit
a68f59e
·
verified ·
1 Parent(s): 6d1bf41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ from huggingface_hub import InferenceClient
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
  from optimum.intel import OVModelForCausalLM
 
8
 
9
  model_id = "HelloSun/Qwen2.5-0.5B-Instruct-openvino"
10
  model = OVModelForCausalLM.from_pretrained(model_id)
 
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
  from optimum.intel import OVModelForCausalLM
8
+ from transformers import AutoTokenizer, pipeline
9
 
10
  model_id = "HelloSun/Qwen2.5-0.5B-Instruct-openvino"
11
  model = OVModelForCausalLM.from_pretrained(model_id)