Run this model with HF Jobs
Run shileii/Reading 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/shileii/Reading. 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/shileii/Reading 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 shileii/Reading with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shileii/Reading with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "shileii/Reading") - Notebooks
- Google Colab
- Kaggle
Download training_args.yaml from shileii/Reading: direct link, hf CLI and curl.
- Browser
- Download file 734 Bytes
-
https://huggingface.co/shileii/Reading/resolve/main/training_args.yaml
- Command line
-
hf download hf://shileii/Reading/training_args.yaml
-
curl -L -o training_args.yaml https://huggingface.co/shileii/Reading/resolve/main/training_args.yaml
734 Bytes
| bf16: true | |
| cutoff_len: 1024 | |
| dataset: identity,alpaca_zh_demo,alpaca_en_demo,all-yxql | |
| dataset_dir: data | |
| ddp_timeout: 180000000 | |
| do_train: true | |
| finetuning_type: lora | |
| flash_attn: auto | |
| gradient_accumulation_steps: 8 | |
| include_num_input_tokens_seen: true | |
| learning_rate: 5.0e-05 | |
| logging_steps: 5 | |
| lora_alpha: 16 | |
| lora_dropout: 0 | |
| lora_rank: 8 | |
| lora_target: all | |
| lr_scheduler_type: cosine | |
| max_grad_norm: 1.0 | |
| max_samples: 100000 | |
| model_name_or_path: meta-llama/Meta-Llama-3.1-8B | |
| num_train_epochs: 3.0 | |
| optim: adamw_torch | |
| output_dir: saves/Llama-3.1-8B/lora/train_2024-10-17-08-10-26 | |
| packing: false | |
| per_device_train_batch_size: 2 | |
| plot_loss: true | |
| preprocessing_num_workers: 16 | |
| report_to: none | |
| save_steps: 100 | |
| stage: sft | |
| template: default | |
| warmup_steps: 0 | |