|
diff --git a/context.txt b/context.txt
|
|
|
1 |
Gandalf: wizard, Lord of the Rings, grey beard, staff, Istari, Grey Pilgrim, Mithrandir, fought Sauron, helped destroy One Ring. |
|
|
2 |
|
|
|
3 |
Frodo: hobbit, Lord of the Rings, Bilbo's nephew, Shire, carried One Ring to Mount Doom, Fellowship of the Ring. |
|
|
4 |
|
|
|
5 |
Example: Who is Gandalf? Gandalf is a wizard from The Lord of the Rings. |
|
|
6 |
Example: Who is Frodo? Frodo is a hobbit from The Lord of the Rings. |
|
|
7 |
Example: Who is Harry Potter? I don't have that information. |
|
|
8 |
|
|
|
9 |
Answer this question. Use only the facts from above. If unknown, say "I don't have that information." Just give the answer, no prefix: |
|
diff --git a/models.h b/models.h
|
| ... |
| 31 |
.min_p = 0.05f, |
31 |
.min_p = 0.05f, |
| 32 |
.seed = LLAMA_DEFAULT_SEED, |
32 |
.seed = LLAMA_DEFAULT_SEED, |
| 33 |
}, |
33 |
}, |
|
|
34 |
{ |
|
|
35 |
.name = "phi-4-mini-instruct", |
|
|
36 |
.filepath = "models/Phi-4-mini-instruct.Q2_K.gguf", |
|
|
37 |
.n_gpu_layers = 0, |
|
|
38 |
.use_mmap = false, |
|
|
39 |
.n_ctx = 131072, |
|
|
40 |
.n_batch = 4096, |
|
|
41 |
.embeddings = false, |
|
|
42 |
.temperature = 0.8f, |
|
|
43 |
.min_p = 0.05f, |
|
|
44 |
.seed = LLAMA_DEFAULT_SEED, |
|
|
45 |
}, |
|
|
46 |
{ |
|
|
47 |
.name = "tinyllama-1", |
|
|
48 |
.filepath = "models/TinyLlama-1.1B-intermediate-step-1431k-3T-Q2_K.gguf", |
|
|
49 |
.n_gpu_layers = 0, |
|
|
50 |
.use_mmap = false, |
|
|
51 |
.n_ctx = 2048, |
|
|
52 |
.n_batch = 4096, |
|
|
53 |
.embeddings = false, |
|
|
54 |
.temperature = 0.8f, |
|
|
55 |
.min_p = 0.05f, |
|
|
56 |
.seed = LLAMA_DEFAULT_SEED, |
|
|
57 |
}, |
| 34 |
}; |
58 |
}; |
| 35 |
|
59 |
|
| 36 |
const model_config *get_model_by_name(const char *name) { |
60 |
const model_config *get_model_by_name(const char *name) { |
| ... |