Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to replace the default LLaMA3 model with my fine-tuned LLaMA3? #220

Open
win4r opened this issue May 5, 2024 · 4 comments
Open

how to replace the default LLaMA3 model with my fine-tuned LLaMA3? #220

win4r opened this issue May 5, 2024 · 4 comments

Comments

@win4r
Copy link

win4r commented May 5, 2024

If I follow the steps outlined here "https://github.com/phidatahq/phidata/tree/main/cookbook/llms/ollama/rag",
can I replace the default LLaMA3 model with my fine-tuned LLaMA3?

@ysolanky
Copy link
Contributor

ysolanky commented May 5, 2024

@win4r the tutorial you linked, demonstrates running llama3 using Ollama. You can use any model that's available on Ollama using Phidata by passing the model id as a param to the Ollama class

Example: assistant = Assistant(llm=Ollama(model="model_id"))

Can you share more details about your fine-tuned llama3 model? How are you hosting/running the model?

@chen-li1314
Copy link

@win4r the tutorial you linked, demonstrates running llama3 using Ollama. You can use any model that's available on Ollama using Phidata by passing the model id as a param to the Ollama class

Example: assistant = Assistant(llm=Ollama(model="model_id"))

Can you share more details about your fine-tuned llama3 model? How are you hosting/running the model?

After replacing the fine-tuning model, I received an error ResponseError: model 'llama3' not found, try pulling it first

@chen-li1314
Copy link

@win4r the tutorial you linked, demonstrates running llama3 using Ollama. You can use any model that's available on Ollama using Phidata by passing the model id as a param to the Ollama class
Example: assistant = Assistant(llm=Ollama(model="model_id"))
Can you share more details about your fine-tuned llama3 model? How are you hosting/running the model?

After replacing the fine-tuning model, I received an error ResponseError: model 'llama3' not found, try pulling it first
image
image
My local olama will report an error
image
What is API/embeddings
who can help me

@ju1987yetchung
Copy link

@win4r the tutorial you linked, demonstrates running llama3 using Ollama. You can use any model that's available on Ollama using Phidata by passing the model id as a param to the Ollama class
Example:
Can you share more details about your fine-tuned llama3 model? How are you hosting/running the model?assistant = Assistant(llm=Ollama(model="model_id"))

After replacing the fine-tuning model, I received an error ResponseError: model 'llama3' not found, try pulling it first
图像
图像
My local olama will report an error
image
What is API/embeddings
who can help me

I have same problem. mark this issue and wait an answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants