Instructions to use SparseCL/UAE-SparseCL-msmarco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SparseCL/UAE-SparseCL-msmarco with Transformers:
# Load model directly from transformers import AutoTokenizer, our_BertForCL tokenizer = AutoTokenizer.from_pretrained("SparseCL/UAE-SparseCL-msmarco") model = our_BertForCL.from_pretrained("SparseCL/UAE-SparseCL-msmarco", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 607 Bytes
647cfb6 | 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 | {
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 3.0,
"eval_steps": 500,
"global_step": 4200,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 3.0,
"step": 4200,
"total_flos": 0,
"train_runtime": 13708.0087,
"train_samples_per_second": 0.306
}
],
"logging_steps": 500,
"max_steps": 4200,
"num_input_tokens_seen": 0,
"num_train_epochs": 3,
"save_steps": 500,
"total_flos": 0,
"train_batch_size": null,
"trial_name": null,
"trial_params": null
}
|