ModuleNotFoundError: No module named ‘transformers.models.phi3’
When I try to run a LLM named ChatGLM3 in Aliyun, I run a python script to run a demo,but it comes out an error like this.enter image description here
How to solve it ?the LLM‘s github link is text,another py file named
streamlit run web_demo_streamlit.py is ok,but this py file python web_demo_gradio.py will end with this bug
ModuleNotFoundError: No module named ‘transformers.models.phi3’
When I try to run a LLM named ChatGLM3 in Aliyun, I run a python script to run a demo,but it comes out an error like this.enter image description here
How to solve it ?the LLM‘s github link is text,another py file named
streamlit run web_demo_streamlit.py is ok,but this py file python web_demo_gradio.py will end with this bug
How do I add my replicate api_key? I keep getting a 401 error
I’ve been entering my api key like this on a jupyter notebook.
import os
import replicate
os.environ[“REPLICATE_API_TOKEN”] = “”
api = replicate.Client(api_token=os.environ[“REPLICATE_API_TOKEN”])
RAG pipeline help request
I’m a bit new to the whole RAG pipeline thing and find myself being a bit lost in the endless possibilities of building one. My goal is to create a script that can transform about 60 anatomical pdfs into a vector store database and use this to answer questions about body parts and return the references to the pages of the pdfs where that information was taken from.
I get an error that says “Object of type Message is not JSON serializable” when I run this code
Whenever I run this code, I get an error that says “Object of type Message is not JSON serializable”. The code is supposed to create a chatbot to the local host. There is an API key involved and this code is based off of a tutorial video.
TypeError: Object of type PhiConfig is not JSON serializable
model_id = “vikhyatk/moondream2” revision = “2024-05-08” model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True, revision=revision) tokenizer = AutoTokenizer.from_pretrained(model_id, revision=revision) Above is my code cell, i am getting the error: TypeError: Object of type PhiConfig is not JSON serializable. What should i do? Kindly guide. python large-language-model New contributor Areeba is a new contributor to this site. Take care in […]
Phi-3 can’t deal with Japanese. How can I solve this issue?
I enjoy Phi-3 which Microsoft made.
I meet the error of onnxruntime_genai. onnxruntime_genai is library of Phi-3.
How can I solve this issue ?