Instructions to use Yanhao/simcse-bert-large-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yanhao/simcse-bert-large-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Yanhao/simcse-bert-large-uncased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Yanhao/simcse-bert-large-uncased") model = AutoModel.from_pretrained("Yanhao/simcse-bert-large-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from Yanhao/simcse-bert-large-uncased: direct link, hf CLI and curl.
- Browser
- Download file 590 Bytes
-
https://huggingface.co/Yanhao/simcse-bert-large-uncased/resolve/main/trainer_state.json
- Command line
-
hf download hf://Yanhao/simcse-bert-large-uncased/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/Yanhao/simcse-bert-large-uncased/resolve/main/trainer_state.json
590 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 5.0, | |
| "global_step": 990, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 2.53, | |
| "learning_rate": 2.474747474747475e-05, | |
| "loss": 1.5145, | |
| "step": 500 | |
| }, | |
| { | |
| "epoch": 5.0, | |
| "step": 990, | |
| "train_runtime": 467.9743, | |
| "train_samples_per_second": 2.116 | |
| } | |
| ], | |
| "max_steps": 990, | |
| "num_train_epochs": 5, | |
| "total_flos": 4473714078590976, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |