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 2-12 grades: evens pretraining
Browse filesFiles changed (3)
12 unmodified lines131415161718192021222324 unmodified lines484950515253545556575812 unmodified linesshould 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/4mf11grk)# text-simplificationThis model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9922## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:-----:|:---------------:|| 1.4054 | 1.0 | 4932 | 1.0352 || 1.0639 | 2.0 | 9864 | 0.9727 || 1.0374 | 3.0 | 14796 | 0.9790 || 1.0411 | 4.0 | 19728 | 0.9888 || 1.045 | 5.0 | 24660 | 0.9922 |### Framework versions12 unmodified lines13141516171819202122232424 unmodified lines495051525354555657585912 unmodified linesshould 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/4mf11grk)[<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/fkl8in2e)# text-simplificationThis model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.9653## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:-----:|:---------------:|| 1.5549 | 1.0 | 3022 | 1.1338 || 1.1431 | 2.0 | 6044 | 1.0146 || 1.0544 | 3.0 | 9066 | 0.9736 || 1.0264 | 4.0 | 12088 | 0.9658 || 1.0198 | 5.0 | 15110 | 0.9653 |### Framework versions
19 unmodified lines20212223242526272819 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["c_attn","lm_head","c_proj","c_fc"],"task_type": "CAUSAL_LM",19 unmodified lines20212223242526272819 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["c_proj","lm_head","c_attn","c_fc"],"task_type": "CAUSAL_LM",
123version https://git-lfs.github.com/spec/v1oid sha256:217e787aeb17eef1d198a3c8bd355116d8291b4cb6d37c82e41558de313bb402size 5240123version https://git-lfs.github.com/spec/v1oid sha256:dc7b4f548f7a8ddfaae09ebd46c749bb4b4075519657c8289da7a5e250e9167asize 5240
README.md+7-6
gpt2-2-12-evens/adapter_config.json+2-2
training_args.bin+1-1