Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix for np.float32 serialization#589

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
santiatpml merged 8 commits intomasterfromsanti-llm-apis
Apr 7, 2023
Merged

Conversation

santiatpml
Copy link
Contributor

@santiatpmlsantiatpml commentedApr 7, 2023
edited
Loading

Added tests for transforms and moved tune to a different set.

@@ -11,7 +11,7 @@ RUN cat /etc/apt/sources.list
RUN apt-get update && apt-get install -y postgresql-pgml-14

# Cache this, quicker
RUN pip3 install xgboost scikit-learn diptest torch lightgbm transformers datasets sentencepiece sentence_transformers sacremoses sacrebleu rouge
RUN pip3 install xgboost scikit-learn diptest torch lightgbm transformers datasets sentencepiece sentence_transformers sacremoses sacrebleu rouge protobuf
Copy link
Contributor

Choose a reason for hiding this comment

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

we should not need protobuf, what requires that?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Finbert model needs protobuf.

SELECTpgml.transform(    inputs=> ARRAY['Stocks rallied and the British pound gained.','Stocks making the biggest moves midday: Nvidia, Palantir and more'    ],    task=>'{"task": "text-classification",              "model": "ProsusAI/finbert"             }'::JSONB)AS market_sentiment;

Copy link
Contributor

Choose a reason for hiding this comment

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

wow... that's... indicative of a whole new level... are they actually calling any rpcs, or are they just serializing in a round about way? I don't really care...

Copy link
ContributorAuthor

@santiatpmlsantiatpmlApr 7, 2023
edited
Loading

Choose a reason for hiding this comment

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

I could not reproduce the error I saw before without protobuf on two other machines. I checked the model folder in cache and I don't see any reference to protobuf. Looks like we don't need it.

@santiatpmlsantiatpml merged commite02eaff intomasterApr 7, 2023
@santiatpmlsantiatpml deleted the santi-llm-apis branchApril 7, 2023 15:00
SilasMarvin pushed a commit that referenced this pull requestOct 5, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@montanalowmontanalowmontanalow approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@santiatpml@montanalow

[8]ページ先頭

©2009-2025 Movatter.jp