Delta-Vector / Holland-4B-GGUF

huggingface.co
Total runs: 34
24-hour runs: 0
7-day runs: -3
30-day runs: 6
Model's Last Updated: December 21 2024

Introduction of Holland-4B-GGUF

Model Details of Holland-4B-GGUF

image/png A model made to continue off my previous work on Magnum 4B , A small model made for creative writing / General assistant tasks, finetuned ontop of IntervitensInc/Llama-3.1-Minitron-4B-Width-Base-chatml , this model is made to be more coherent and generally be better then the 4B at both writing and assistant tasks.

GGUF quants of Holland 4B, Thanks Lucy <3 Original weights can be found here

Prompting

Model has been Instruct tuned with the ChatML formatting. A typical input would look like this:

"""<|im_start|>system
system prompt<|im_end|>
<|im_start|>user
Hi there!<|im_end|>
<|im_start|>assistant
Nice to meet you!<|im_end|>
<|im_start|>user
Can I ask a question?<|im_end|>
<|im_start|>assistant
"""
Support

To run inference on this model, you'll need to use Aphrodite, vLLM or EXL 2/tabbyAPI, as llama.cpp hasn't yet merged the required pull request to fix the llama 3.1 rope_freqs issue with custom head dimensions.

However, you can work around this by quantizing the model yourself to create a functional GGUF file. Note that until this PR is merged, the context will be limited to 8 k tokens.

To create a working GGUF file, make the following adjustments:

  1. Remove the "rope_scaling": {} entry from config.json
  2. Change "max_position_embeddings" to 8192 in config.json

These modifications should allow you to use the model with llama. Cpp, albeit with the mentioned context limitation.

Axolotl config
See axolotl config

Axolotl version: 0.4.1

base_model: IntervitensInc/Llama-3.1-Minitron-4B-Width-Base-chatml
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer

load_in_8bit: false
load_in_4bit: false
strict: false

datasets:
  - path: NewEden/Gryphe-3.5-16k-Subset
    type: sharegpt
    conversation: chatml
  - path: Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
    type: sharegpt
    conversation: chatml
  - path: anthracite-org/kalo-opus-instruct-22k-no-refusal
    type: sharegpt
    conversation: chatml
  - path: PJMixers/lodrick-the-lafted_OpusStories-ShareGPT
    type: sharegpt
    conversation: chatml

chat_template: chatml

val_set_size: 0.01
output_dir: ./outputs/out

adapter:
lora_r:
lora_alpha:
lora_dropout:
lora_target_linear:

sequence_len: 16384
# sequence_len: 32768
sample_packing: true
eval_sample_packing: false
pad_to_sequence_len: true

plugins:
  - axolotl.integrations.liger.LigerPlugin
liger_rope: true
liger_rms_norm: true
liger_swiglu: true
liger_fused_linear_cross_entropy: true

wandb_project: 
wandb_entity:
wandb_watch:
wandb_name: 
wandb_log_model:

gradient_accumulation_steps: 32
micro_batch_size: 1
num_epochs: 2
optimizer: adamw_bnb_8bit
#optimizer: paged_adamw_8bit
lr_scheduler: cosine
learning_rate: 0.00002
weight_decay: 0.05

train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: true

gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_ratio: 0.1
evals_per_epoch: 4
eval_table_size:
eval_max_new_tokens: 128
saves_per_epoch: 1

debug:
deepspeed: /workspace/axolotl/deepspeed_configs/zero2.json
#deepspeed:
fsdp:
fsdp_config:

special_tokens:
  pad_token: <|finetune_right_pad_id|>

Credits

I couldn't have made this model without the help of Kubernetes_bad and the support of Lucy Knada

Training

The training was done for 2 epochs. We used 2 x RTX 6000s GPUs graciously provided by Kubernetes_Bad for the full-parameter fine-tuning of the model.

Built with Axolotl

Safety

...

Runs of Delta-Vector Holland-4B-GGUF on huggingface.co

34
Total runs
0
24-hour runs
0
3-day runs
-3
7-day runs
6
30-day runs

More Information About Holland-4B-GGUF huggingface.co Model

More Holland-4B-GGUF license Visit here:

https://choosealicense.com/licenses/agpl-3.0

Holland-4B-GGUF huggingface.co

Holland-4B-GGUF huggingface.co is an AI model on huggingface.co that provides Holland-4B-GGUF's model effect (), which can be used instantly with this Delta-Vector Holland-4B-GGUF model. huggingface.co supports a free trial of the Holland-4B-GGUF model, and also provides paid use of the Holland-4B-GGUF. Support call Holland-4B-GGUF model through api, including Node.js, Python, http.

Delta-Vector Holland-4B-GGUF online free

Holland-4B-GGUF huggingface.co is an online trial and call api platform, which integrates Holland-4B-GGUF's modeling effects, including api services, and provides a free online trial of Holland-4B-GGUF, you can try Holland-4B-GGUF online for free by clicking the link below.

Delta-Vector Holland-4B-GGUF online free url in huggingface.co:

https://huggingface.co/Delta-Vector/Holland-4B-GGUF

Holland-4B-GGUF install

Holland-4B-GGUF is an open source model from GitHub that offers a free installation service, and any user can find Holland-4B-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of Holland-4B-GGUF install, users can directly use Holland-4B-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Holland-4B-GGUF install url in huggingface.co:

https://huggingface.co/Delta-Vector/Holland-4B-GGUF

Url of Holland-4B-GGUF

Provider of Holland-4B-GGUF huggingface.co

Delta-Vector
ORGANIZATIONS

Other API from Delta-Vector

huggingface.co

Total runs: 41
Run Growth: 15
Growth Rate: 36.59%
Updated:December 31 2024
huggingface.co

Total runs: 35
Run Growth: 8
Growth Rate: 22.86%
Updated:December 31 2024