Instructions to use ktcapraz/actor_alignments with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ktcapraz/actor_alignments with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ktcapraz/actor_alignments", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use ktcapraz/actor_alignments with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ktcapraz/actor_alignments to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ktcapraz/actor_alignments to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ktcapraz/actor_alignments to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="ktcapraz/actor_alignments", max_seq_length=2048, )
File size: 2,768 Bytes
9e0d661 8aef96b 9e0d661 8aef96b 9e0d661 8aef96b 9e0d661 8aef96b 9e0d661 | 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | {
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 0.16,
"eval_steps": 50,
"global_step": 100,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.016,
"grad_norm": 0.2649502456188202,
"learning_rate": 0.00019870967741935483,
"loss": 0.296,
"step": 10
},
{
"epoch": 0.032,
"grad_norm": 0.3341752588748932,
"learning_rate": 0.00019548387096774195,
"loss": 0.278,
"step": 20
},
{
"epoch": 0.048,
"grad_norm": 0.29673072695732117,
"learning_rate": 0.00019225806451612904,
"loss": 0.2872,
"step": 30
},
{
"epoch": 0.064,
"grad_norm": 0.27321192622184753,
"learning_rate": 0.00018903225806451616,
"loss": 0.2884,
"step": 40
},
{
"epoch": 0.08,
"grad_norm": 0.28777027130126953,
"learning_rate": 0.00018580645161290325,
"loss": 0.287,
"step": 50
},
{
"epoch": 0.08,
"eval_loss": 0.2932877540588379,
"eval_runtime": 573.3368,
"eval_samples_per_second": 0.872,
"eval_steps_per_second": 0.218,
"step": 50
},
{
"epoch": 0.096,
"grad_norm": 0.27004000544548035,
"learning_rate": 0.00018258064516129033,
"loss": 0.2846,
"step": 60
},
{
"epoch": 0.112,
"grad_norm": 0.24109533429145813,
"learning_rate": 0.00017935483870967742,
"loss": 0.2828,
"step": 70
},
{
"epoch": 0.128,
"grad_norm": 0.2596932649612427,
"learning_rate": 0.0001761290322580645,
"loss": 0.277,
"step": 80
},
{
"epoch": 0.144,
"grad_norm": 0.2961156964302063,
"learning_rate": 0.00017290322580645163,
"loss": 0.29,
"step": 90
},
{
"epoch": 0.16,
"grad_norm": 0.3086676597595215,
"learning_rate": 0.00016967741935483872,
"loss": 0.2883,
"step": 100
},
{
"epoch": 0.16,
"eval_loss": 0.28304216265678406,
"eval_runtime": 519.1154,
"eval_samples_per_second": 0.963,
"eval_steps_per_second": 0.241,
"step": 100
}
],
"logging_steps": 10,
"max_steps": 625,
"num_input_tokens_seen": 0,
"num_train_epochs": 1,
"save_steps": 50,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 8826978008930304.0,
"train_batch_size": 2,
"trial_name": null,
"trial_params": null
}
|