Skip to content

Conversation

@0xs1d
Copy link

@0xs1d 0xs1d commented Jul 11, 2025

added config presets for falcon -7b -instruct (using Q6_K)

towards #10932

common/arg.cpp Outdated
{"--fim-falcon-7b-spec"},
string_format("use quantized Falcon 7B model (note: can download weights from the internet)"),
[](common_params & params) {
params.model.hf_repo = "maddes8cht/tiiuae-falcon-7b-gguf";
Copy link
Member

Choose a reason for hiding this comment

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

Presets should only use models hosted on ggml-org.

Copy link
Author

Choose a reason for hiding this comment

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

ahh ok got it. I see that falcon is not in ggml-org, I will add another model then

common/arg.cpp Outdated
).set_examples({LLAMA_EXAMPLE_SERVER}));

add_opt(common_arg(
{"--fim-falcon-7b-spec"},
Copy link
Member

Choose a reason for hiding this comment

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

This identifier is not correct. It indicates:

  • A Fill-In-the-Middle (FIM) model
  • Speculative-decoding enabled (i.e. target + draft model)

You can call it --chat-falcon-7b

common/arg.cpp Outdated
string_format("use quantized Falcon 7B model (note: can download weights from the internet)"),
[](common_params & params) {
params.model.hf_repo = "maddes8cht/tiiuae-falcon-7b-gguf";
params.model.hf_file = "tiiuae-falcon-7b-Q6_K.gguf";
Copy link
Member

Choose a reason for hiding this comment

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

We use Q8_0 format in the presets.

@0xs1d 0xs1d closed this by deleting the head repository Sep 19, 2025
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.

2 participants