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

redundant data transformation #193

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

CakeCrusher
Copy link
Contributor

Description

convert_to_tensor=True and .tolist() cancel each other out making for redundant code

Contribution Type

NA

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@weaviate-git-bot
Copy link

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

@CakeCrusher
Copy link
Contributor Author

I agree with the CLA

@erika-cardenas
Copy link
Member

Hi @CakeCrusher, thank you for spotting this!

I've run the notebook and encountered a different problem. It looks like there is a conflict with the Transformers library. I'll merge your PR once I get it fixed. 🙂

@erika-cardenas
Copy link
Member

I added the Python and Transformers version to the top of the notebook. Will merge this now, thank you!

@erika-cardenas erika-cardenas merged commit d491dd1 into weaviate:main Jan 15, 2025
4 checks passed
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.

3 participants