Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Enable Finetuning #5

Merged
merged 7 commits into from
Dec 28, 2023
Merged

Enable Finetuning #5

merged 7 commits into from
Dec 28, 2023

Conversation

nsosio
Copy link
Collaborator

@nsosio nsosio commented Dec 27, 2023

@nsosio nsosio added the enhancement New feature or request label Dec 27, 2023
@nsosio nsosio self-assigned this Dec 27, 2023
@nsosio nsosio marked this pull request as ready for review December 28, 2023 09:45
@nsosio nsosio marked this pull request as draft December 28, 2023 09:55
prem_utils/connectors/replicate.py Outdated Show resolved Hide resolved
@@ -9,6 +15,7 @@ class ReplicateConnector(BaseConnector):
def __init__(self, api_key: str, prompt_template: str = None):
super().__init__(prompt_template=prompt_template)
self.client = Client(api_token=api_key)
self.api_key = api_key
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's needed because _upload_and_transform_data needs the key to upload the file (no integration in the SDK)

prem_utils/connectors/azure.py Outdated Show resolved Hide resolved
prem_utils/connectors/replicate.py Show resolved Hide resolved
prem_utils/connectors/together.py Show resolved Hide resolved
@nsosio nsosio marked this pull request as ready for review December 28, 2023 13:26
@filopedraz filopedraz merged commit 2923614 into main Dec 28, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants