Run this model with HF Jobs
Run williamplacroix/text-simplification 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/williamplacroix/text-simplification. 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/williamplacroix/text-simplification 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 williamplacroix/text-simplification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use williamplacroix/text-simplification with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B") model = PeftModel.from_pretrained(base_model, "williamplacroix/text-simplification") - Notebooks
- Google Colab
- Kaggle
Finished finetuning grade 4
Browse filesFiles changed (4)
11 unmodified lines12131415161718192021222318 unmodified lines424344454647484950515253545556575811 unmodified lines<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/uds/Graded%20text%20simplification%20training/runs/e9p38efz)# text-simplificationThis model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.6123## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 5### Training results| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.6649 | 1.0 | 235 | 0.6177 || 0.6503 | 2.0 | 470 | 0.6143 || 0.6462 | 3.0 | 705 | 0.6133 || 0.644 | 4.0 | 940 | 0.6123 || 0.6432 | 5.0 | 1175 | 0.6123 |### Framework versions11 unmodified lines12131415161718192021222318 unmodified lines4243444546474849505152535411 unmodified lines<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/uds/Graded%20text%20simplification%20training/runs/jgjxqnuw)# text-simplificationThis model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.7476## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 1### Training results| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.793 | 1.0 | 587 | 0.7476 |### Framework versions
12345678910111213141516171819202122232425262728293031{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "openai-community/gpt2", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_dropout": 0.01, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "c_proj", "c_attn", "lm_head", "c_fc" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:1f5961a8c88a0e5b7bf8b2cd087253ef54bd22bd94af12136eefba86a912ede5size 83581271123version https://git-lfs.github.com/spec/v1oid sha256:10ee7eb1fc65254b373e9a37fe65758dbbe70f869ed83b8512d6d4d5134d82d7size 5240123version https://git-lfs.github.com/spec/v1oid sha256:b3ee37f02930b6ff4e558b6b70d83284fe97137b69d5744272cc0aa3f8465e92size 5240
README.md+4-8
gpt2-grade-4-finetuned/adapter_config.jsonAdded+31
gpt2-grade-4-finetuned/adapter_model.binAdded+3
training_args.bin+1-1