Instructions to use TOKETTER/Omegus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TOKETTER/Omegus with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-135M-Instruct") model = PeftModel.from_pretrained(base_model, "TOKETTER/Omegus") - Notebooks
- Google Colab
- Kaggle
File size: 1,645 Bytes
f97a6e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | {
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 1.0,
"eval_steps": 500,
"global_step": 5,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"entropy": 2.919967442750931,
"epoch": 0.47058823529411764,
"grad_norm": 0.7388926148414612,
"learning_rate": 5e-05,
"loss": 3.528480052947998,
"mean_token_accuracy": 0.39445167779922485,
"num_tokens": 1330.0,
"step": 2
},
{
"entropy": 2.921311140060425,
"epoch": 0.9411764705882353,
"grad_norm": 0.7427535653114319,
"learning_rate": 2.5e-05,
"loss": 3.505293607711792,
"mean_token_accuracy": 0.3824109882116318,
"num_tokens": 2602.0,
"step": 4
},
{
"epoch": 1.0,
"eval_entropy": 2.845902681350708,
"eval_loss": 3.5877914428710938,
"eval_mean_token_accuracy": 0.38056680560112,
"eval_num_tokens": 2814.0,
"eval_runtime": 0.8041,
"eval_samples_per_second": 3.731,
"eval_steps_per_second": 1.244,
"step": 5
}
],
"logging_steps": 2,
"max_steps": 5,
"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": 1824259739904.0,
"train_batch_size": 1,
"trial_name": null,
"trial_params": null
}
|