-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
415a3dc
commit 1d3cb3b
Showing
4 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
defaults: | ||
- _base_ | ||
- _inference_ | ||
- _self_ | ||
# order of inheritance, last one overrides previous ones | ||
- _base_ # inherits from base config | ||
- _cpu_ # inherits from cpu config | ||
- _inference_ # inherits from inference config | ||
- _self_ # hydra 1.1 compatibility | ||
- override backend: llama_cpp | ||
|
||
name: inference_llama_cpp_embedding | ||
|
||
backend: | ||
model: nomic-ai/nomic-embed-text-v1.5-GGUF | ||
task: feature-extraction | ||
filename: nomic-embed-text-v1.5.Q4_0.gguf | ||
|
||
scenario: | ||
input_shapes: | ||
batch_size: 1 | ||
sequence_length: 256 | ||
vocab_size: 30000 | ||
type_vocab_size: 1 | ||
max_position_embeddings: 512 | ||
generate_kwargs: | ||
max_new_tokens: 100 | ||
min_new_tokens: 100 | ||
min_new_tokens: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
defaults: | ||
- _base_ | ||
- _inference_ | ||
- _self_ | ||
# order of inheritance, last one overrides previous ones | ||
- _base_ # inherits from base config | ||
- _cpu_ # inherits from cpu config | ||
- _inference_ # inherits from inference config | ||
- _self_ # hydra 1.1 compatibility | ||
- override backend: llama_cpp | ||
|
||
name: inference_llama_cpp_text_generation | ||
name: cpu_inference_llama_cpp_text_generation | ||
|
||
backend: | ||
model: TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF | ||
task: text-generation | ||
filename: tinyllama-1.1b-chat-v1.0.Q4_0.gguf | ||
|
||
scenario: | ||
input_shapes: | ||
batch_size: 1 | ||
sequence_length: 256 | ||
vocab_size: 32000 | ||
generate_kwargs: | ||
max_new_tokens: 100 | ||
min_new_tokens: 100 | ||
min_new_tokens: 100 |