qminh369 / tpbank-extractive-compression

huggingface.co
Total runs: 63
24-hour runs: 0
7-day runs: 13
30-day runs: -11
Model's Last Updated: August 14 2024
sentence-similarity

Introduction of tpbank-extractive-compression

Model Details of tpbank-extractive-compression

qminh369/tpbank-extractive-compression

This is a sentence-transformers model: It maps sentences & paragraphs to a 1024 dimensional dense vector space and can be used for tasks like clustering or semantic search.

Usage (Sentence-Transformers)

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('qminh369/tpbank-extractive-compression')
embeddings = model.encode(sentences)
print(embeddings)
Evaluation Results

For an automated evaluation of this model, see the Sentence Embeddings Benchmark : https://seb.sbert.net

Training

The model was trained with the parameters:

DataLoader :

torch.utils.data.dataloader.DataLoader of length 1265 with parameters:

{'batch_size': 2, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}

Loss :

sentence_transformers.losses.MultipleNegativesRankingLoss.MultipleNegativesRankingLoss with parameters:

{'scale': 1, 'similarity_fct': 'dot_score'}

Parameters of the fit()-Method:

{
    "epochs": 10,
    "evaluation_steps": 1000,
    "evaluator": "sentence_transformers.evaluation.BinaryClassificationEvaluator.BinaryClassificationEvaluator",
    "max_grad_norm": 1,
    "optimizer_class": "<class 'torch.optim.adamw.AdamW'>",
    "optimizer_params": {
        "lr": 2e-05
    },
    "scheduler": "WarmupLinear",
    "steps_per_epoch": null,
    "warmup_steps": 1265,
    "weight_decay": 0.01
}
Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: XLMRobertaModel 
  (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)
Citing & Authors

Runs of qminh369 tpbank-extractive-compression on huggingface.co

63
Total runs
0
24-hour runs
-5
3-day runs
13
7-day runs
-11
30-day runs

More Information About tpbank-extractive-compression huggingface.co Model

tpbank-extractive-compression huggingface.co

tpbank-extractive-compression huggingface.co is an AI model on huggingface.co that provides tpbank-extractive-compression's model effect (), which can be used instantly with this qminh369 tpbank-extractive-compression model. huggingface.co supports a free trial of the tpbank-extractive-compression model, and also provides paid use of the tpbank-extractive-compression. Support call tpbank-extractive-compression model through api, including Node.js, Python, http.

tpbank-extractive-compression huggingface.co Url

https://huggingface.co/qminh369/tpbank-extractive-compression

qminh369 tpbank-extractive-compression online free

tpbank-extractive-compression huggingface.co is an online trial and call api platform, which integrates tpbank-extractive-compression's modeling effects, including api services, and provides a free online trial of tpbank-extractive-compression, you can try tpbank-extractive-compression online for free by clicking the link below.

qminh369 tpbank-extractive-compression online free url in huggingface.co:

https://huggingface.co/qminh369/tpbank-extractive-compression

tpbank-extractive-compression install

tpbank-extractive-compression is an open source model from GitHub that offers a free installation service, and any user can find tpbank-extractive-compression on GitHub to install. At the same time, huggingface.co provides the effect of tpbank-extractive-compression install, users can directly use tpbank-extractive-compression installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

tpbank-extractive-compression install url in huggingface.co:

https://huggingface.co/qminh369/tpbank-extractive-compression

Url of tpbank-extractive-compression

tpbank-extractive-compression huggingface.co Url

Provider of tpbank-extractive-compression huggingface.co

qminh369
ORGANIZATIONS

Other API from qminh369

huggingface.co

Total runs: 95
Run Growth: 20
Growth Rate: 21.05%
Updated:February 23 2024
huggingface.co

Total runs: 0
Run Growth: -1
Growth Rate: 0.00%
Updated:April 25 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 24 2024