Downloads · 30 days
6
1% of all-time downloads
dohonba/mistral_7b_fingpt
mistral_7b_fingpt is a machine learning model from dohonba. Use it for the machine learning task on the model card, and read the license before you ship it in a product. 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
6
1% of all-time downloads
All-time downloads
612
Public
Repo size
1 GB
Likes
0
Public
Click a slice to open those files.
.bin336 MB · 50%
From the Hugging Face model README
axolotl version: 0.4.0
# Llama-2-7b
# base_model: daryl149/llama-2-7b-chat-hf
# model_type: LlamaForCausalLM
# tokenizer_type: LlamaTokenizer
# is_llama_derived_model: true
#Mistral-7b
base_model: mistralai/Mistral-7B-v0.1
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
# git clone https://github.com/OpenAccess-AI-Collective/axolotl
# cd axolotl
# pip3 install packaging
# pip3 install -e '.[flash-attn,deepspeed]'
# accelerate launch -m axolotl.cli.train ./llama_7b_config.yaml
# accelerate launch -m axolotl.cli.inference ./llama_7b_config.yaml \
# --lora_model_dir="dohonba/mistral_7b_fingpt"
load_in_8bit: true
load_in_4bit: false
strict: false
datasets:
- path: dohonba/combi
type: context_qa.load_v2
# - path: dohonba/tfns
# type: context_qa.load_v2
# - path: dohonba/auditor_sentiment
# type: context_qa.load_v2
# - path: dohonba/tfns
# type: context_qa.load_v2
dataset_prepared_path:
val_set_size: 0.05
output_dir: ./lora-out
sequence_len: 512
sample_packing: true
pad_to_sequence_len: true
adapter: lora
lora_model_dir:
lora_r: 32
lora_alpha: 16
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:
wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 1
micro_batch_size: 14
# max_steps: 1000
num_epochs: 2
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.0002
train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
s2_attention:
warmup_steps: 50
evals_per_epoch: 0
eval_table_size:
eval_table_max_new_tokens: 128
saves_per_epoch: 1
debug:
deepspeed:
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"
</details><br>
This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on the None 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 |
|---|---|---|---|
| 0.08 | 1.02 | 566 | 0.0986 |
| 0.0919 | 1.98 | 1110 | 0.0917 |