Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Image Annotation Moderation and FLUX Model Integration #65
Image Annotation Moderation and FLUX Model Integration #65
Changes from 37 commits
2f6160e
2adec09
c81a4a7
b3b4f60
aaaedd5
8af1cc6
e5e9f60
fa19189
4bec465
51d39f8
31ccd59
02dcea8
f6de46e
ddc06ad
e128200
cf16da4
bdb3693
d6199a9
cd5b897
aed5346
160dd66
2f7fab5
7ea024d
56b2cec
46b2cdd
f7ed8f3
585f42f
3e5128f
46fcaef
c1e2ac9
75981ca
949df9b
be629c4
b220f12
6285d92
8c51b22
2fd800b
8e3c6bc
4cb39cc
8ea2b54
a4204f8
4aaf558
a90c2c6
1c59491
b31b17c
6cadbbd
e817257
0625df5
9b4c612
fc1d817
17ee8f5
fa90608
d2cf985
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
torch_dtype
is no longer hardcoded, so it must be specified in the pipeline /DIFFUSER_ARGS
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arguments decided based on experimental generation latencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New field for generation arguments, which FLUX-1.dev can utilize.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[INST]
and[/INST]
tokens are used here to signify the beginning and end of instructions. Without them, the model repeats the prompt in its answer.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced "A picture of" with "An image of" because I noticed qualitative improvements in my experiments. This makes sense because "picture" is more constrained than "Image" in my opinion. Could use further testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check for the moderation model repeating the prompt in its response.