llamafactory Writer agents
Collection
finetuned with LeoYML/FoamGPT as the input writer agent for foam agent โข 5 items โข Updated
Run finalform/foamMistral0.3-7B-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/finalform/foamMistral0.3-7B-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/finalform/foamMistral0.3-7B-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use finalform/foamMistral0.3-7B-Instruct with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3")
model = PeftModel.from_pretrained(base_model, "finalform/foamMistral0.3-7B-Instruct")This model is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.3 on the train 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 | Accuracy |
|---|---|---|---|---|
| 0.3179 | 1.0 | 32 | 0.3321 | 0.9217 |
| 0.206 | 2.0 | 64 | 0.2425 | 0.9408 |
| 0.1447 | 3.0 | 96 | 0.2109 | 0.9489 |
| 0.1067 | 4.0 | 128 | 0.2062 | 0.9527 |
| 0.0612 | 5.0 | 160 | 0.2128 | 0.9539 |
| 0.0491 | 6.0 | 192 | 0.2169 | 0.9549 |
| 0.0378 | 7.0 | 224 | 0.2166 | 0.9584 |
| 0.0294 | 8.0 | 256 | 0.2224 | 0.9588 |
| 0.0215 | 9.0 | 288 | 0.2260 | 0.9587 |
Base model
mistralai/Mistral-7B-v0.3