Text Classification
Transformers
PyTorch
English
bert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use Cheng98/bert-large-boolq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cheng98/bert-large-boolq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Cheng98/bert-large-boolq")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Cheng98/bert-large-boolq") model = AutoModelForSequenceClassification.from_pretrained("Cheng98/bert-large-boolq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,209 Bytes
82aa65c 4d085c2 82aa65c 4d085c2 3ef7528 4d085c2 82aa65c 4d085c2 3ef7528 4d085c2 82aa65c 4d085c2 3ef7528 4d085c2 82aa65c 4d085c2 3ef7528 4d085c2 82aa65c 4d085c2 3ef7528 4d085c2 3ef7528 82aa65c 4d085c2 82aa65c | 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 | {
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 5.0,
"global_step": 2950,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.85,
"learning_rate": 1.663050847457627e-05,
"loss": 0.6703,
"step": 500
},
{
"epoch": 1.69,
"learning_rate": 1.3247457627118644e-05,
"loss": 0.6156,
"step": 1000
},
{
"epoch": 2.54,
"learning_rate": 9.857627118644068e-06,
"loss": 0.4724,
"step": 1500
},
{
"epoch": 3.39,
"learning_rate": 6.4677966101694925e-06,
"loss": 0.317,
"step": 2000
},
{
"epoch": 4.24,
"learning_rate": 3.0847457627118648e-06,
"loss": 0.1946,
"step": 2500
},
{
"epoch": 5.0,
"step": 2950,
"total_flos": 1.098164620261632e+16,
"train_loss": 0.4028913801807468,
"train_runtime": 280.0096,
"train_samples_per_second": 168.334,
"train_steps_per_second": 10.535
}
],
"max_steps": 2950,
"num_train_epochs": 5,
"total_flos": 1.098164620261632e+16,
"trial_name": null,
"trial_params": null
}
|