Skip to content

Fine tuning mac try#145

Open
weilixu wants to merge 7 commits intofine_tuningfrom
fine_tuning_mac_try
Open

Fine tuning mac try#145
weilixu wants to merge 7 commits intofine_tuningfrom
fine_tuning_mac_try

Conversation

@weilixu
Copy link
Collaborator

@weilixu weilixu commented Nov 21, 2025

The updates are primarily for devcontainers to run fine-tunning
The only requirement now to run the evaluation is installation of Ollama on local machine (not inside dev container)

I tried configure Mac to run mps but the block is the XCode - which needs Apple ID (I am not 100% at this point), so currently, Mac user will have to use cpu to run this code.

For Ollama connection, I updated the dev-container so the code inside the container calls the local Ollama through API link.

@weilixu weilixu requested a review from jslane-h November 21, 2025 01:36

evaluation_model = OllamaModel(
model="llama3:8b",
model="llama3.1:8b", base_url="http://host.docker.internal:11434"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be set to the env in the dev container? Should be able to have OLLAMA_HOST=http://host.docker.internal:11434 and deepeval will grab it

@jslane-h
Copy link
Collaborator

"I tried configure Mac to run mps but the block is the XCode - which needs Apple ID (I am not 100% at this point), so currently, Mac user will have to use cpu to run this code." This makes sense due to this running in a container. Maybe we'd want the model we're evaluating to be hosted on the operating system but this seems overly complicated - I think it's easier to just run everything on mac with a venv

@jslane-h
Copy link
Collaborator

Looks good! Just 1 comment

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

Successfully merging this pull request may close these issues.

2 participants