kmthachai commited on
Commit
4ca68b3
1 Parent(s): 12f2869

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -85,7 +85,7 @@ The model was trained with the parameters:
85
 
86
  **DataLoader**:
87
 
88
- `torch.utils.data.dataloader.DataLoader` of length 125 with parameters:
89
  ```
90
  {'batch_size': 16, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
91
  ```
@@ -100,7 +100,7 @@ The model was trained with the parameters:
100
  Parameters of the fit()-Method:
101
  ```
102
  {
103
- "epochs": 5,
104
  "evaluation_steps": 0,
105
  "evaluator": "NoneType",
106
  "max_grad_norm": 1,
@@ -119,7 +119,7 @@ Parameters of the fit()-Method:
119
  ## Full Model Architecture
120
  ```
121
  SentenceTransformer(
122
- (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: RobertaModel
123
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
124
  )
125
  ```
 
85
 
86
  **DataLoader**:
87
 
88
+ `torch.utils.data.dataloader.DataLoader` of length 13 with parameters:
89
  ```
90
  {'batch_size': 16, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
91
  ```
 
100
  Parameters of the fit()-Method:
101
  ```
102
  {
103
+ "epochs": 30,
104
  "evaluation_steps": 0,
105
  "evaluator": "NoneType",
106
  "max_grad_norm": 1,
 
119
  ## Full Model Architecture
120
  ```
121
  SentenceTransformer(
122
+ (0): Transformer({'max_seq_length': 258, 'do_lower_case': False}) with Transformer model: RobertaModel
123
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
124
  )
125
  ```
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/root/.cache/torch/sentence_transformers/VoVanPhuc_sup-SimCSE-VietNamese-phobert-base",
3
  "architectures": [
4
  "RobertaModel"
5
  ],
@@ -7,7 +7,6 @@
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
9
  "eos_token_id": 2,
10
- "gradient_checkpointing": false,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
@@ -22,7 +21,7 @@
22
  "position_embedding_type": "absolute",
23
  "tokenizer_class": "PhobertTokenizer",
24
  "torch_dtype": "float32",
25
- "transformers_version": "4.33.2",
26
  "type_vocab_size": 1,
27
  "use_cache": true,
28
  "vocab_size": 64001
 
1
  {
2
+ "_name_or_path": "/root/.cache/torch/sentence_transformers/vinai_phobert-base-v2",
3
  "architectures": [
4
  "RobertaModel"
5
  ],
 
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
9
  "eos_token_id": 2,
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
 
21
  "position_embedding_type": "absolute",
22
  "tokenizer_class": "PhobertTokenizer",
23
  "torch_dtype": "float32",
24
+ "transformers_version": "4.34.1",
25
  "type_vocab_size": 1,
26
  "use_cache": true,
27
  "vocab_size": 64001
config_sentence_transformers.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "__version__": {
3
  "sentence_transformers": "2.2.2",
4
- "transformers": "4.33.2",
5
- "pytorch": "2.0.1+cu118"
6
  }
7
  }
 
1
  {
2
  "__version__": {
3
  "sentence_transformers": "2.2.2",
4
+ "transformers": "4.34.1",
5
+ "pytorch": "2.1.0+cu118"
6
  }
7
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fbade96fe7eb6c557683bb90a606d9ad80cb59b0f65929a2569e5ddf8df71c87
3
- size 540059817
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d68ffd8e2445e7584fed7d6985faa566f5498ea618b2acf1e708e273b541837
3
+ size 540060262
sentence_bert_config.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "max_seq_length": 256,
3
  "do_lower_case": false
4
  }
 
1
  {
2
+ "max_seq_length": 258,
3
  "do_lower_case": false
4
  }
tokenizer_config.json CHANGED
@@ -1,13 +1,54 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "bos_token": "<s>",
3
  "clean_up_tokenization_spaces": true,
4
  "cls_token": "<s>",
5
  "eos_token": "</s>",
6
  "mask_token": "<mask>",
7
- "model_max_length": 256,
8
  "pad_token": "<pad>",
9
  "sep_token": "</s>",
10
  "tokenizer_class": "PhobertTokenizer",
11
- "tokenizer_file": null,
12
  "unk_token": "<unk>"
13
  }
 
1
  {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "64000": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
  "bos_token": "<s>",
45
  "clean_up_tokenization_spaces": true,
46
  "cls_token": "<s>",
47
  "eos_token": "</s>",
48
  "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
  "pad_token": "<pad>",
51
  "sep_token": "</s>",
52
  "tokenizer_class": "PhobertTokenizer",
 
53
  "unk_token": "<unk>"
54
  }