Transformers
PyTorch
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Run this model with HF Jobs
Run jvalline/randomization_model 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/jvalline/randomization_model. 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/jvalline/randomization_model 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 jvalline/randomization_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jvalline/randomization_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jvalline/randomization_model") model = AutoModelForSeq2SeqLM.from_pretrained("jvalline/randomization_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (5)
- README.md+9-9
- config.json+6-6
- pytorch_model.bin+2-2
- tokenizer.json+6-1
- training_args.bin+1-1
12334568 unmodified lines151617181819202021222315 unmodified lines394041424342434445461 unmodified line4849505152535451525354555657---license: apache-2.0base_model: t5-smallbase_model: t5-basetags:- generated_from_trainermetrics:8 unmodified lines
# randomization_model
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the None dataset.This model is a fine-tuned version of [t5-base](https://huggingface.co/t5-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.2898- Loss: 0.1101- Bleu: 0.0001- Gen Len: 18.9989
15 unmodified lines
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 16- eval_batch_size: 16- 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: linear1 unmodified line
### Training results
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len ||:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|| 0.3909 | 1.0 | 3125 | 0.3117 | 0.0001 | 18.9989 || 0.356 | 2.0 | 6250 | 0.2898 | 0.0001 | 18.9989 || Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len ||:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|| 0.1653 | 1.0 | 6250 | 0.1224 | 0.0001 | 18.9989 || 0.1446 | 2.0 | 12500 | 0.1101 | 0.0001 | 18.9989 |
### Framework versions1223456778991011125 unmodified lines181920212223212223242526{ "_name_or_path": "t5-small", "_name_or_path": "t5-base", "architectures": [ "T5ForConditionalGeneration" ], "classifier_dropout": 0.0, "d_ff": 2048, "d_ff": 3072, "d_kv": 64, "d_model": 512, "d_model": 768, "decoder_start_token_id": 0, "dense_act_fn": "relu", "dropout_rate": 0.1,5 unmodified lines "layer_norm_epsilon": 1e-06, "model_type": "t5", "n_positions": 512, "num_decoder_layers": 6, "num_heads": 8, "num_layers": 6, "num_decoder_layers": 12, "num_heads": 12, "num_layers": 12, "output_past": true, "pad_token_id": 0, "relative_attention_max_distance": 128,12323version https://git-lfs.github.com/spec/v1oid sha256:e7c269b7dc9d8c80da9b860f0c0cb275877d831e723f9021d782e0ba55416a15size 242072086oid sha256:d4199fbac2864bed1fdf474c8b322c86a053e4ce95b58001c041af683b56747bsize 89170337412334567891011{ "version": "1.0", "truncation": null, "truncation": { "direction": "Right", "max_length": 512, "strategy": "LongestFirst", "stride": 0 }, "padding": null, "added_tokens": [ {1223version https://git-lfs.github.com/spec/v1oid sha256:8c976e681199f8bf90735e20ae01eec6648d47e934b7cf6a8ca8ebe2d37ccb57oid sha256:af74cbe8fb034f62b00af7f27db72c57e44e4fd3da019ef33d0530d40fe21892size 4792README.md+9-9
config.json+6-6
pytorch_model.bin+2-2
tokenizer.json+6-1
training_args.bin+1-1