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
model-for-directory-testing
Browse filesFiles changed (9)
- README.mdAdded+60
- adapter_config.jsonAdded+31
- adapter_model.binAdded+3
- merges.txtAdded
- special_tokens_map.jsonAdded+6
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+21
- training_args.binAdded+3
- vocab.jsonAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960---base_model: openai-community/gpt2library_name: peftlicense: mittags:- generated_from_trainermodel-index:- name: text-simplification results: []---
<!-- 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%20HF%20model%20tampering/runs/93mdvykm)# text-simplification
This 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: 1.0205
## 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: 1e-05- train_batch_size: 8- eval_batch_size: 8- 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 ||:-------------:|:-----:|:----:|:---------------:|| 1.5871 | 1.0 | 937 | 1.0205 |
### Framework versions
- PEFT 0.12.0- Transformers 4.44.2- Pytorch 2.4.0- Datasets 2.19.1- Tokenizers 0.19.112345678910111213141516171819202122232425262728293031{ "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_attn", "c_fc", "lm_head", "c_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:d95ac902e5b682dacc08494c1853aea68ef5ef0571f0fd7f50f31a64e2d988cbsize 83581271123456{ "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "pad_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}123456789101112131415161718192021{ "add_prefix_space": false, "added_tokens_decoder": { "50256": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<|endoftext|>", "clean_up_tokenization_spaces": true, "eos_token": "<|endoftext|>", "model_max_length": 1024, "pad_token": "<|endoftext|>", "padding_side": "left", "tokenizer_class": "GPT2Tokenizer", "unk_token": "<|endoftext|>"}123version https://git-lfs.github.com/spec/v1oid sha256:a13de46d7709447647d2515c297b21cc3aa94a393e4a031a1d1420f01c4e89e6size 5240README.mdAdded+60
adapter_config.jsonAdded+31
adapter_model.binAdded+3
merges.txtAdded
special_tokens_map.jsonAdded+6
tokenizer.jsonAdded
tokenizer_config.jsonAdded+21
training_args.binAdded+3
vocab.jsonAdded