Instructions to use rayonlabs/texttest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rayonlabs/texttest with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("samoline/b7447218-27e6-491c-b3ab-ea03a5b93541") model = PeftModel.from_pretrained(base_model, "rayonlabs/texttest") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-3/trainer_state.json from rayonlabs/texttest: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/rayonlabs/texttest/resolve/main/checkpoint-3/trainer_state.json
- Command line
-
hf download hf://rayonlabs/texttest/checkpoint-3/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/rayonlabs/texttest/resolve/main/checkpoint-3/trainer_state.json
1.65 kB
| { | |
| "best_global_step": null, | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 0.03488372093023256, | |
| "eval_steps": 3, | |
| "global_step": 3, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0, | |
| "eval_loss": 1.5762042999267578, | |
| "eval_runtime": 6.5489, | |
| "eval_samples_per_second": 5.65, | |
| "eval_steps_per_second": 2.901, | |
| "step": 0 | |
| }, | |
| { | |
| "epoch": 0.011627906976744186, | |
| "grad_norm": 0.7823610901832581, | |
| "learning_rate": 0.0, | |
| "loss": 1.3599, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 0.023255813953488372, | |
| "grad_norm": 0.6125471591949463, | |
| "learning_rate": 2e-05, | |
| "loss": 1.3481, | |
| "step": 2 | |
| }, | |
| { | |
| "epoch": 0.03488372093023256, | |
| "grad_norm": 0.7715550065040588, | |
| "learning_rate": 4e-05, | |
| "loss": 1.607, | |
| "step": 3 | |
| }, | |
| { | |
| "epoch": 0.03488372093023256, | |
| "eval_loss": 1.575430154800415, | |
| "eval_runtime": 6.3129, | |
| "eval_samples_per_second": 5.861, | |
| "eval_steps_per_second": 3.01, | |
| "step": 3 | |
| } | |
| ], | |
| "logging_steps": 1, | |
| "max_steps": 10, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 3, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": false | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 72163654631424.0, | |
| "train_batch_size": 2, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |