Instructions to use Pavan27/TeluguCommentContextClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Pavan27/TeluguCommentContextClassifier with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("PosteriorAI/godavari-telugu-llama2-7B") model = PeftModel.from_pretrained(base_model, "Pavan27/TeluguCommentContextClassifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 1.0, | |
| "eval_steps": 500, | |
| "global_step": 2, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.5, | |
| "grad_norm": 0.9979434013366699, | |
| "learning_rate": 0.0002, | |
| "loss": 4.0828, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 1.0, | |
| "grad_norm": 1.0152065753936768, | |
| "learning_rate": 0.0, | |
| "loss": 4.0279, | |
| "step": 2 | |
| } | |
| ], | |
| "logging_steps": 1, | |
| "max_steps": 2, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 500, | |
| "total_flos": 657223814479872.0, | |
| "train_batch_size": 2, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |