Instructions to use rfvasile/trainer_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rfvasile/trainer_output with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rfvasile/trainer_output", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use rfvasile/trainer_output 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 rfvasile/trainer_output 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 rfvasile/trainer_output to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for rfvasile/trainer_output to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="rfvasile/trainer_output", max_seq_length=2048, )
File size: 1,005 Bytes
8e5e4cb 15084a2 3886b30 8e5e4cb 3886b30 15084a2 8e5e4cb 3886b30 8e5e4cb 15084a2 8e5e4cb 15084a2 8e5e4cb | 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 | {
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 1.0,
"eval_steps": 500,
"global_step": 1,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"step": 1,
"total_flos": 3989722274383872.0,
"train_loss": 0.7914382219314575,
"train_runtime": 48.4068,
"train_samples_per_second": 1.239,
"train_steps_per_second": 0.021
}
],
"logging_steps": 5,
"max_steps": 1,
"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": 3989722274383872.0,
"train_batch_size": 1,
"trial_name": null,
"trial_params": null
}
|