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

Model: KoboldAI/OPT-2.7B-Erebus
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-09 15:49:19 +08:00
commit d6dab962eb
10 changed files with 100532 additions and 0 deletions

31
config.json Normal file
View File

@@ -0,0 +1,31 @@
{
"_name_or_path": "facebook/opt-2.7b",
"_remove_final_layer_norm": false,
"activation_dropout": 0.0,
"activation_function": "relu",
"architectures": [
"OPTForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": 2,
"do_layer_norm_before": true,
"dropout": 0.1,
"eos_token_id": 2,
"ffn_dim": 10240,
"hidden_size": 2560,
"init_std": 0.02,
"layerdrop": 0.0,
"max_position_embeddings": 2048,
"model_type": "opt",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"pad_token_id": 1,
"prefix": "</s>",
"torch_dtype": "float16",
"transformers_version": "4.21.2",
"use_cache": false,
"vocab_size": 50265,
"word_embed_proj_dim": 2560,
"welcome": "## Warning: This model has a very heavy NSFW bias and is not suitable for use by minors!\n\nYou are currently running story-writing model `Erebus, version 1 (2.7B).`\n\n This model is made by [Mr. Seeker](https://www.patreon.com/mrseeker) with help of ProudNoob and the KoboldAI team.\n\n### How to use this model\n\nErebus is designed to generate short stories and novels. Use the author's note to give it a certain genre to follow, use memory to give an overview of the story and use World Information to give specific details about the characters. To start off, give the AI an idea of what you are writing about by setting the scene. Give the AI around 10 sentences that make your story interesting to read. Introduce your character, describe the world, blow something up, or let the AI use its creative mind.",
"antemplate": "[Genre: <|>]"
}