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

[Bug]: Custom user prompt is not recognized with attachment #1228

Open
1 task done
ruihangdu opened this issue Dec 24, 2024 · 2 comments
Open
1 task done

[Bug]: Custom user prompt is not recognized with attachment #1228

ruihangdu opened this issue Dec 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ruihangdu
Copy link

What happened?

▶ fabric --model google/gemini-flash-1.5-8b -a "$HOME/Downloads/whisper_transcription.m4a" "Please transcribe the attached audio file into an SRT file" --dry-run
Dry run: Would send the following request:
User:


Options:
Model: google/gemini-flash-1.5-8b
Temperature: 0.700000
TopP: 0.900000
PresencePenalty: 0.000000
FrequencyPenalty: 0.000000
empty response

I expected the User prompt to be "Please transcribe the attached audio file into an SRT file", but seems it's empty.

To compare, this is what the output is when I ran without the attachment flag:

▶ fabric --model google/gemini-flash-1.5-8b "Please transcribe the attached audio file into an SRT file" --dry-run
Dry run: Would send the following request:
User:
Please transcribe the attached audio file into an SRT file

Options:
Model: google/gemini-flash-1.5-8b
Temperature: 0.700000
TopP: 0.900000
PresencePenalty: 0.000000
FrequencyPenalty: 0.000000
empty response

Is this a bug?

Version check

  • Yes I was.

Relevant log output

No response

Relevant screenshots (optional)

No response

@ruihangdu ruihangdu added the bug Something isn't working label Dec 24, 2024
@mattjoyce
Copy link
Contributor

Can you change the order of the options, I'm curious to learn if that makes a difference?

@ruihangdu
Copy link
Author

Tried two other permutations and neither worked

▶ fabric --model google/gemini-flash-1.5-8b "Please transcribe the attached audio file into an SRT file" -a "$HOME/Downloads/whisper_transcription.m4a" --dry-run
Dry run: Would send the following request:
User:


Options:
Model: google/gemini-flash-1.5-8b
Temperature: 0.700000
TopP: 0.900000
PresencePenalty: 0.000000
FrequencyPenalty: 0.000000

~
▶ fabric "Please transcribe the attached audio file into an SRT file" --model google/gemini-flash-1.5-8b -a "$HOME/Downloads/whisper_transcription.m4a" --dry-run
Dry run: Would send the following request:
User:


Options:
Model: google/gemini-flash-1.5-8b
Temperature: 0.700000
TopP: 0.900000
PresencePenalty: 0.000000
FrequencyPenalty: 0.000000
empty response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants