初始化项目,由ModelHub XC社区提供模型

Model: cortexso/tinyllama
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-09 06:14:12 +08:00
commit 254884363f
15 changed files with 142 additions and 0 deletions

19
model.yml Normal file
View File

@@ -0,0 +1,19 @@
name: tinyllama 1B
model: tinyllama:1B
version: 1
# Results Preferences
stop:
- </s>
top_p: 0.95
temperature: 0.7
frequency_penalty: 0
presence_penalty: 0
max_tokens: 4096 # Infer from base config.json -> max_position_embeddings
stream: true # true | false
# Engine / Model Settings
ngl: 33 # Infer from base config.json -> num_attention_heads
ctx_len: 4096 # Infer from base config.json -> max_position_embeddings
engine: llama-cpp
prompt_template: "\n\n<|system|>\n{system_message}</s>\n\n\n\n\n<|user|>\n{prompt}</s>\n\n\n<|assistant|>\n\n"