Run this model with HF Jobs
Run NanQiangHF/llama3_8b_bwgenerator 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:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/NanQiangHF/llama3_8b_bwgenerator. 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.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/NanQiangHF/llama3_8b_bwgenerator 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.
Instructions to use NanQiangHF/llama3_8b_bwgenerator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NanQiangHF/llama3_8b_bwgenerator with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct") model = PeftModel.from_pretrained(base_model, "NanQiangHF/llama3_8b_bwgenerator") - Notebooks
- Google Colab
- Kaggle
llama3_8b_bwgenerator
This model is a fine-tuned version of meta-llama/Meta-Llama-3-8B-Instruct on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1103
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 32
- total_train_batch_size: 256
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5558 | 0.3359 | 80 | 0.2518 |
| 0.1877 | 0.6718 | 160 | 0.1439 |
| 0.1275 | 1.0077 | 240 | 0.1190 |
| 0.1168 | 1.3437 | 320 | 0.1136 |
| 0.1125 | 1.6796 | 400 | 0.1103 |
Framework versions
- PEFT 0.10.0
- Transformers 4.44.0
- Pytorch 2.3.0+cu121
- Datasets 2.14.7
- Tokenizers 0.19.1
- Downloads last month
- 3
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for NanQiangHF/llama3_8b_bwgenerator
Base model
meta-llama/Meta-Llama-3-8B-Instruct