Instructions to use diagonalge/texttest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use diagonalge/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, "diagonalge/texttest") - Notebooks
- Google Colab
- Kaggle
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 8.704735376044569e-06, | |
| "eval_steps": 500, | |
| "global_step": 2, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 4.352367688022284e-06, | |
| "grad_norm": 3.3754799365997314, | |
| "learning_rate": 0.0001, | |
| "loss": 3.0324, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 8.704735376044569e-06, | |
| "grad_norm": 1.777471899986267, | |
| "learning_rate": 0.0001, | |
| "loss": 3.1369, | |
| "step": 2 | |
| }, | |
| { | |
| "epoch": 8.704735376044569e-06, | |
| "eval_loss": 2.350602865219116, | |
| "eval_runtime": 90.2001, | |
| "eval_samples_per_second": 25.732, | |
| "eval_steps_per_second": 25.732, | |
| "step": 2 | |
| } | |
| ], | |
| "logging_steps": 1, | |
| "max_steps": 2, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 500, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 1871145861120.0, | |
| "train_batch_size": 1, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |