Instructions to use aswinsson/fake_new_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aswinsson/fake_new_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aswinsson/fake_new_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aswinsson/fake_new_classifier") model = AutoModelForSequenceClassification.from_pretrained("aswinsson/fake_new_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,399 Bytes
e9d2076 | 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 | {
"best_metric": 0.0004219035618007183,
"best_model_checkpoint": "/content/drive/MyDrive/Fatima_Code_Challenge/output/checkpoint-2000",
"epoch": 2.044989775051125,
"global_step": 2000,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.02,
"learning_rate": 3.9728841413311424e-05,
"loss": 0.0218,
"step": 1000
},
{
"epoch": 1.02,
"eval_accuracy": 0.971614883007288,
"eval_f1": 0.9743174456270245,
"eval_loss": 0.0007864381768740714,
"eval_precision": 0.9499210466952402,
"eval_recall": 1.0,
"eval_runtime": 70.1931,
"eval_samples_per_second": 111.421,
"eval_steps_per_second": 3.49,
"step": 1000
},
{
"epoch": 2.04,
"learning_rate": 1.9186524239934265e-05,
"loss": 0.0009,
"step": 2000
},
{
"epoch": 2.04,
"eval_accuracy": 0.6157780334995525,
"eval_f1": 0.7370263411219043,
"eval_loss": 0.0004219035618007183,
"eval_precision": 0.5835643015521065,
"eval_recall": 1.0,
"eval_runtime": 70.1804,
"eval_samples_per_second": 111.441,
"eval_steps_per_second": 3.491,
"step": 2000
}
],
"max_steps": 2934,
"num_train_epochs": 3,
"total_flos": 8474583161561088.0,
"trial_name": null,
"trial_params": null
}
|