Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
Vietnamese
Vietnamese
feature-extraction
dense
Generated from Trainer
dataset_size:81409
loss:TripletLoss
custom_code
Eval Results (legacy)
Instructions to use KietReal/vietnamese-document-embedding_FT_QQP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use KietReal/vietnamese-document-embedding_FT_QQP with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KietReal/vietnamese-document-embedding_FT_QQP", trust_remote_code=True) sentences = [ "Đâu là lập luận tồi tệ nhất trên thế giới?", "Một số ví dụ về phương tiện giao thông cũ và hiện đại là gì?", "Trận chiến nào trong lịch sử thế giới là tồi tệ nhất?", "Cuộc tranh luận tồi tệ nhất trên thế giới là gì?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Kiet Ha tuan commited on
Training in progress, step 500
Browse filesFiles changed (9)
- .gitattributes+1
- config.jsonAdded+49
- eval/triplet_evaluation_results.csvAdded+2
- model.safetensorsAdded+3
- runs/Jan02_17-56-19_a543c9381c34/events.out.tfevents.1767376645.a543c9381c34.8253.0Added+3
- special_tokens_map.jsonAdded+51
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+62
- training_args.binAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ "architectures": [ "VietnameseModel" ], "attention_probs_dropout_prob": 0.0, "auto_map": { "AutoConfig": "configuration.VietnameseConfig", "AutoModel": "modeling.VietnameseModel", "AutoModelForMaskedLM": "dangvantuan/Vietnamese_impl--modeling.VietnameseForMaskedLM", "AutoModelForMultipleChoice": "dangvantuan/Vietnamese_impl--modeling.VietnameseForMultipleChoice", "AutoModelForQuestionAnswering": "dangvantuan/Vietnamese_impl--modeling.VietnameseForQuestionAnswering", "AutoModelForSequenceClassification": "dangvantuan/Vietnamese_impl--modeling.VietnameseForSequenceClassification", "AutoModelForTokenClassification": "dangvantuan/Vietnamese_impl--modeling.VietnameseForTokenClassification" }, "classifier_dropout": 0.0, "dtype": "float32", "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "LABEL_0" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "LABEL_0": 0 }, "layer_norm_eps": 1e-12, "layer_norm_type": "layer_norm", "logn_attention_clip1": false, "logn_attention_scale": false, "max_position_embeddings": 8192, "model_type": "Vietnamese", "num_attention_heads": 12, "num_hidden_layers": 12, "pack_qkv": true, "pad_token_id": 1, "position_embedding_type": "rope", "rope_scaling": { "factor": 8.0, "type": "ntk" }, "rope_theta": 20000, "transformers_version": "4.57.3", "type_vocab_size": 1, "unpad_inputs": false, "use_memory_efficient_attention": false, "vocab_size": 250048}12epoch,steps,accuracy_cosine
0.3927729772191673,500,0.6860905289649963123version https://git-lfs.github.com/spec/v1oid sha256:129e01cfccbb835ca34ae8e83b7a16b8c81373225f0edffc11cda8bcb7d32694size 1221487872123version https://git-lfs.github.com/spec/v1oid sha256:9e6bba13559e8a20e9e7042a5af99d6c69764e62a94b2ae0f54145520c481dfesize 5053123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "cls_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "mask_token": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "sep_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:aa7a6ad87a7ce8fe196787355f6af7d03aee94d19c54a5eb1392ed18c8ef451asize 170829881234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "250001": { "content": "<mask>", "lstrip": true, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "extra_special_tokens": {}, "mask_token": "<mask>", "max_length": 8192, "model_max_length": 8192, "pad_to_multiple_of": null, "pad_token": "<pad>", "pad_token_type_id": 0, "padding_side": "right", "sep_token": "</s>", "stride": 0, "tokenizer_class": "XLMRobertaTokenizerFast", "truncation_side": "right", "truncation_strategy": "longest_first", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:f6c710b2c130477fc993f8eabc9b72afc9a72a446c2e9e3e10b12bcaf3d8128esize 6225.gitattributes+1
config.jsonAdded+49
eval/triplet_evaluation_results.csvAdded+2
model.safetensorsAdded+3
runs/Jan02_17-56-19_a543c9381c34/events.out.tfevents.1767376645.a543c9381c34.8253.0Added+3
special_tokens_map.jsonAdded+51
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+62
training_args.binAdded+3