Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use srsawant34/ProTopic-trial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use srsawant34/ProTopic-trial with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("srsawant34/ProTopic-trial") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use srsawant34/ProTopic-trial with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("srsawant34/ProTopic-trial") model = AutoModel.from_pretrained("srsawant34/ProTopic-trial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-13/trainer_state.json from srsawant34/ProTopic-trial: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/srsawant34/ProTopic-trial/resolve/main/checkpoint-13/trainer_state.json
- Command line
-
hf download hf://srsawant34/ProTopic-trial/checkpoint-13/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/srsawant34/ProTopic-trial/resolve/main/checkpoint-13/trainer_state.json
513 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 1.0, | |
| "eval_steps": 500, | |
| "global_step": 13, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 1.0, | |
| "learning_rate": 0.00025, | |
| "loss": 1.7228, | |
| "step": 13 | |
| } | |
| ], | |
| "logging_steps": 500, | |
| "max_steps": 26, | |
| "num_train_epochs": 2, | |
| "save_steps": 500, | |
| "total_flos": 13265377689600.0, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |