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 2
Browse filesFiles changed (4)
11 unmodified lines1213141516171819202122232424 unmodified lines4950515253545556575859606162636411 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/1mkbeo5j)[<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/vd7wa4iw)# 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.5178## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.546 | 1.0 | 775 | 0.5205 || 0.5405 | 2.0 | 1550 | 0.5186 || 0.5368 | 3.0 | 2325 | 0.5162 || 0.5338 | 4.0 | 3100 | 0.5176 || 0.5322 | 5.0 | 3875 | 0.5189 || 0.5304 | 6.0 | 4650 | 0.5179 || 0.5284 | 7.0 | 5425 | 0.5184 || 0.5278 | 8.0 | 6200 | 0.5176 || 0.5276 | 9.0 | 6975 | 0.5177 || 0.527 | 10.0 | 7750 | 0.5178 |### Framework versions11 unmodified lines12131415161718192021222324 unmodified lines4849505152535455565758596061626311 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/42n7wyjl)# 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.3608## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.4017 | 1.0 | 469 | 0.3665 || 0.3951 | 2.0 | 938 | 0.3640 || 0.3907 | 3.0 | 1407 | 0.3641 || 0.3892 | 4.0 | 1876 | 0.3623 || 0.3864 | 5.0 | 2345 | 0.3606 || 0.3847 | 6.0 | 2814 | 0.3614 || 0.383 | 7.0 | 3283 | 0.3606 || 0.3821 | 8.0 | 3752 | 0.3609 || 0.3815 | 9.0 | 4221 | 0.3610 || 0.3806 | 10.0 | 4690 | 0.3608 |### Framework versions
2 unmodified lines3456782 unmodified lines1112131415163 unmodified lines202122232425262728292 unmodified lines"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,2 unmodified lines"layers_to_transform": null,"loftq_config": {},"lora_alpha": 32,"lora_dropout": 0.01,"megatron_config": null,"megatron_core": "megatron.core",3 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["c_proj","c_attn","c_fc","lm_head"],"task_type": "CAUSAL_LM","use_dora": false,2 unmodified lines3456789102 unmodified lines131415161718193 unmodified lines232425262728293031322 unmodified lines"auto_mapping": null,"base_model_name_or_path": "openai-community/gpt2","bias": "none","eva_config": null,"exclude_modules": null,"fan_in_fan_out": false,"inference_mode": true,"init_lora_weights": true,2 unmodified lines"layers_to_transform": null,"loftq_config": {},"lora_alpha": 32,"lora_bias": false,"lora_dropout": 0.01,"megatron_config": null,"megatron_core": "megatron.core",3 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["c_fc","c_attn","lm_head","c_proj"],"task_type": "CAUSAL_LM","use_dora": false,
123version https://git-lfs.github.com/spec/v1oid sha256:0192c65a91bf678670e23d3d4f7dded3020605d04f62c90431a9971fb531a4desize 83581271123version https://git-lfs.github.com/spec/v1oid sha256:4befae71d3ecf37f12917a3a0825b40c7f14e9517932cb7691543736d133d327size 160776023
123version https://git-lfs.github.com/spec/v1oid sha256:73d8229af7e9a6c1c4932cebc80c86e66cb19d5f222f394f37cbd4a55f5c82desize 5368123version https://git-lfs.github.com/spec/v1oid sha256:b5faedaca63599a9ee5c38b36992fc6e39d2ddac460d824c93451e91a85592a3size 5496
README.md+12-13
gpt2-grade-2-finetuned/adapter_config.json+6-3
gpt2-grade-2-finetuned/adapter_model.bin+2-2
training_args.bin+2-2