Downloads · 30 days
0
0% of all-time downloads
anselmlong/almost-anselm
almost-anselm is a text generation model from anselmlong. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
39
Public
Parameters
7.4B
6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.5 GB · 100%
How the weights are stored.
U87B · 95%
From the Hugging Face model README
axolotl version: 0.12.2
base_model: mistralai/Mistral-7B-v0.1
# optionally might have model_type or tokenizer_type
model_type: MistralForCausalLM
# Automatically upload checkpoint and final model to HF
tokenizer_type: LlamaTokenizer
hub_model_id: anselmlong/almost-anselm
load_in_4bit: true
chat_template: chatml
datasets:
- path: data/processed/sft_train_new.json
type: chat_template
field_messages: messages
message_property_mappings:
role: from
content: value
roles:
assistant:
- system
- gpt
- model
- assistant
user:
- human
- user
# step 3
roles_to_train: ["assistant"]
train_on_eos: "turn"
dataset_prepared_path: last_run_prepared
val_set_size: 0.1
output_dir: models/base_v5
adapter: qlora
lora_model_dir:
sequence_len: 768
sample_packing: false
lora_r: 32
lora_alpha: 16
lora_dropout: 0.05
lora_target_linear: false
lora_target_modules:
- q_proj
- v_proj
- k_proj
- o_proj
wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 8
micro_batch_size: 2
num_epochs: 1
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.0002
bf16: auto
tf32: false
gradient_checkpointing: true
resume_from_checkpoint:
auto_resume_from_checkpoints: true
logging_steps: 50
flash_attention: false
loss_watchdog_threshold: 5.0
loss_watchdog_patience: 3
warmup_ratio: 0.1
evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
save_first_step: true # uncomment this to validate checkpoint saving works with your config
</details><br>
This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on the data/processed/sft_train_new.json dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Mem Active(gib) | Mem Allocated(gib) | Mem Reserved(gib) |
|---|---|---|---|---|---|---|
| No log | 0 | 0 | 5.0383 | 6.62 | 6.62 | 6.89 |
| 3.9016 | 0.2521 | 96 | 3.7967 | 6.62 | 6.62 | 7.07 |
| 3.4949 | 0.5041 | 192 | 3.6951 | 6.62 | 6.62 | 7.07 |
| 3.5013 | 0.7562 | 288 | 3.6523 | 6.62 | 6.62 | 7.07 |