Views
No views yet

{system_message}
<|user|>
{prompt}
<|assistant|>
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|---|---|---|---|---|---|
| aurora-nights-103b-v1.0.Q2_K.gguf | Q2_K | 2 | 43.51 GB | 46.01 GB | smallest, significant quality loss - not recommended for most purposes |
| aurora-nights-103b-v1.0.Q3_K_S.gguf | Q3_K_S | 3 | 44.46 GB | 46.96 GB | very small, high quality loss |
| aurora-nights-103b-v1.0.Q3_K_M.gguf | Q3_K_M | 3 | 49.46 GB | 51.96 GB | very small, high quality loss |
| aurora-nights-103b-v1.0.Q3_K_L.gguf | Q3_K_L | 3 | 54.06 GB | 56.56 GB | small, substantial quality loss |
| aurora-nights-103b-v1.0.Q4_0.gguf | Q4_0 | 4 | 58.13 GB | 60.63 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| aurora-nights-103b-v1.0.Q4_K_S.gguf | Q4_K_S | 4 | 58.25 GB | 60.75 GB | small, greater quality loss |
| aurora-nights-103b-v1.0.Q4_K_M.gguf | Q4_K_M | 4 | 61.89 GB | 64.39 GB | medium, balanced quality - recommended |
| aurora-nights-103b-v1.0.Q5_0.gguf | Q5_0 | 5 | 71.00 GB | 73.50 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| aurora-nights-103b-v1.0.Q5_K_S.gguf | Q5_K_S | 5 | 71.00 GB | 73.50 GB | large, low quality loss - recommended |
| aurora-nights-103b-v1.0.Q5_K_M.gguf | Q5_K_M | 5 | 72.93 GB | 75.43 GB | large, very low quality loss - recommended |
| aurora-nights-103b-v1.0.Q6_K.gguf | Q6_K | 6 | 84.67 GB | 87.17 GB | very large, extremely low quality loss |
| aurora-nights-103b-v1.0.Q8_0.gguf | Q8_0 | 8 | 109.66 GB | 112.16 GB | very large, extremely low quality loss - not recommended |
aurora-nights-103b-v1.0.Q6_K.gguf-split-aaurora-nights-103b-v1.0.Q6_K.gguf-split-baurora-nights-103b-v1.0.Q8_0.gguf-split-aaurora-nights-103b-v1.0.Q8_0.gguf-split-bcat aurora-nights-103b-v1.0.Q6_K.gguf-split-* > aurora-nights-103b-v1.0.Q6_K.gguf && rm aurora-nights-103b-v1.0.Q6_K.gguf-split-*
cat aurora-nights-103b-v1.0.Q8_0.gguf-split-* > aurora-nights-103b-v1.0.Q8_0.gguf && rm aurora-nights-103b-v1.0.Q8_0.gguf-split-*COPY /B aurora-nights-103b-v1.0.Q6_K.gguf-split-a + aurora-nights-103b-v1.0.Q6_K.gguf-split-b aurora-nights-103b-v1.0.Q6_K.gguf
del aurora-nights-103b-v1.0.Q6_K.gguf-split-a aurora-nights-103b-v1.0.Q6_K.gguf-split-b
COPY /B aurora-nights-103b-v1.0.Q8_0.gguf-split-a + aurora-nights-103b-v1.0.Q8_0.gguf-split-b aurora-nights-103b-v1.0.Q8_0.gguf
del aurora-nights-103b-v1.0.Q8_0.gguf-split-a aurora-nights-103b-v1.0.Q8_0.gguf-split-btext-generation-webuihuggingface-hub Python library:pip3 install huggingface-hubhuggingface-cli download TheBloke/Aurora-Nights-103B-v1.0-GGUF aurora-nights-103b-v1.0.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks Falsehuggingface-cli download TheBloke/Aurora-Nights-103B-v1.0-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'huggingface-cli, please see: HF -> Hub Python Library -> Download files -> Download from the CLI.hf_transfer:pip3 install hf_transferHF_HUB_ENABLE_HF_TRANSFER to 1:HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Aurora-Nights-103B-v1.0-GGUF aurora-nights-103b-v1.0.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks Falseset HF_HUB_ENABLE_HF_TRANSFER=1 before the download command.llama.cpp commandllama.cpp from commit d0cee0d or later../main -ngl 35 -m aurora-nights-103b-v1.0.Q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "{system_message}\n<|user|>\n{prompt}\n<|assistant|>"-ngl 32 to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.-c 4096 to the desired sequence length. For extended sequence models - eg 8K, 16K, 32K - the necessary RoPE scaling parameters are read from the GGUF file and set by llama.cpp automatically. Note that longer sequence lengths require much more resources, so you may need to reduce this value.-p <PROMPT> argument with -i -instext-generation-webui1# Base ctransformers with no GPU acceleration
2pip install llama-cpp-python
3# With NVidia CUDA acceleration
4CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
5# Or with OpenBLAS acceleration
6CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
7# Or with CLBLast acceleration
8CMAKE_ARGS="-DLLAMA_CLBLAST=on" pip install llama-cpp-python
9# Or with AMD ROCm GPU acceleration (Linux only)
10CMAKE_ARGS="-DLLAMA_HIPBLAS=on" pip install llama-cpp-python
11# Or with Metal GPU acceleration for macOS systems only
12CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
13
14# In windows, to set the variables CMAKE_ARGS in PowerShell, follow this format; eg for NVidia CUDA:
15$env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
16pip install llama-cpp-python1from llama_cpp import Llama
2
3# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
4llm = Llama(
5 model_path="./aurora-nights-103b-v1.0.Q4_K_M.gguf", # Download the model file first
6 n_ctx=4096, # The max sequence length to use - note that longer sequence lengths require much more resources
7 n_threads=8, # The number of CPU threads to use, tailor to your system and the resulting performance
8 n_gpu_layers=35 # The number of layers to offload to GPU, if you have GPU acceleration available
9)
10
11# Simple inference example
12output = llm(
13 "{system_message}\n<|user|>\n{prompt}\n<|assistant|>", # Prompt
14 max_tokens=512, # Generate up to 512 tokens
15 stop=["</s>"], # Example stop token - not necessarily correct for this specific model! Please check before using.
16 echo=True # Whether to echo the prompt
17)
18
19# Chat Completion API
20
21llm = Llama(model_path="./aurora-nights-103b-v1.0.Q4_K_M.gguf", chat_format="llama-2") # Set chat_format according to the model you are using
22llm.create_chat_completion(
23 messages = [
24 {"role": "system", "content": "You are a story writing assistant."},
25 {
26 "role": "user",
27 "content": "Write a story about llamas."
28 }
29 ]
30)
{
"temp": 1.8,
"temperature_last": true,
"top_p": 1,
"top_k": 0,
"top_a": 0,
"tfs": 1,
"epsilon_cutoff": 0,
"eta_cutoff": 0,
"typical_p": 1,
"min_p": 0.5,
"rep_pen": 1,
"rep_pen_range": 0,
"no_repeat_ngram_size": 0,
"penalty_alpha": 0,
"num_beams": 1,
"length_penalty": 1,
"min_length": 0,
"encoder_rep_pen": 1,
"freq_pen": 0.01,
"presence_pen": 0,
"do_sample": true,
"early_stopping": false,
"add_bos_token": true,
"truncation_length": 2048,
"ban_eos_token": false,
"skip_special_tokens": true,
"streaming": true,
"mirostat_mode": 0,
"mirostat_tau": 5,
"mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"banned_tokens": "",
"ignore_eos_token_aphrodite": false,
"spaces_between_special_tokens_aphrodite": true,
"type": "ooba",
"legacy_api": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"n": 1,
"rep_pen_size": 0,
"genamt": 550,
"max_length": 4096
}{
"wrap": true,
"names": false,
"system_prompt": "You are an award-winning fiction author engaging in an uncensored literary roleplaying experience between a human (me) and a creative, obedient, and helpful AI assistant (you). It is VITAL that you follow all these instructions because this roleplay is very important to my career and I'll be fired from my job if it isn't good.\nROLEPLAY RULES:\n> It is vital that ONLY the human provides responses for {{user}}.\n> Reply as {{char}} using authentic, vivid, varied, explicit, accurate, creative, fresh, and descriptive responses that follow ALL provided narrative instructions. Stay in character as {{char}} and only write text for {{char}}.\n> Describe the scene and {{char}}'s sensory perceptions in vivid detail to immerse the reader in the story.\n> Keep your responses scoped to the current story beat and current scene.\n> Consider all available contextual information when narrating so that all the story details remain consistent between scenes.\n> Demonstrate {{char}}'s goals and motivations, and use subtle cues to hint at {{char}}'s mental state unless delving into {{char}}'s thoughts satisfies an explicit instruction or enhances the vividness of the scene.\n> When quoting {{char}}'s internal first-person thoughts (aka internal monologue, delivered in {{char}}'s own voice), *enclose the thoughts in asterisks like this*. Only use asterisks for thoughts.\n> Use strong action verbs and varied descriptions to produce dynamic, high-quality prose.",
"system_sequence": "",
"stop_sequence": "",
"input_sequence": "<|user|>\n",
"output_sequence": "<|assistant|>\n",
"separator_sequence": "",
"macro": true,
"names_force_groups": true,
"system_sequence_prefix": "",
"system_sequence_suffix": "",
"first_output_sequence": "",
"last_output_sequence": "<|assistant (provide varied, creative, and vivid narration; follow all narrative instructions; include all necessary possessive pronouns; maintain consistent story details; only roleplay as {{char}})|>\n",
"activation_regex": "",
"name": "Aurora-Nights"
}slices:
- sources:
- model: aurora-nights-70b-v1.0
layer_range: [0, 40] # 40
- sources:
- model: aurora-nights-70b-v1.0
layer_range: [20, 60] # 40
- sources:
- model: aurora-nights-70b-v1.0
layer_range: [40, 80] # 40
merge_method: passthrough
dtype: float16