EmmanuelM1
commited on
Commit
•
1805b9b
1
Parent(s):
940cdb3
Upload folder using huggingface_hub
Browse files- README.md +56 -0
- config.json +36 -0
- mergekit_config.yml +10 -0
- model-00001-of-00001.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +62 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- merge
|
4 |
+
- mergekit
|
5 |
+
- lazymergekit
|
6 |
+
- gchhablani/bert-base-cased-finetuned-sst2
|
7 |
+
- Wakaka/bert-finetuned-imdb
|
8 |
+
base_model:
|
9 |
+
- gchhablani/bert-base-cased-finetuned-sst2
|
10 |
+
- Wakaka/bert-finetuned-imdb
|
11 |
+
---
|
12 |
+
|
13 |
+
# roberta-movie-sentiment-multimodel
|
14 |
+
|
15 |
+
roberta-movie-sentiment-multimodel is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
16 |
+
* [gchhablani/bert-base-cased-finetuned-sst2](https://huggingface.co/gchhablani/bert-base-cased-finetuned-sst2)
|
17 |
+
* [Wakaka/bert-finetuned-imdb](https://huggingface.co/Wakaka/bert-finetuned-imdb)
|
18 |
+
|
19 |
+
## 🧩 Configuration
|
20 |
+
|
21 |
+
```yaml
|
22 |
+
models:
|
23 |
+
- model: gchhablani/bert-base-cased-finetuned-sst2
|
24 |
+
parameters:
|
25 |
+
weight: 0.5
|
26 |
+
- model: Wakaka/bert-finetuned-imdb
|
27 |
+
parameters:
|
28 |
+
weight: 0.5
|
29 |
+
merge_method: linear
|
30 |
+
dtype: float16
|
31 |
+
```
|
32 |
+
|
33 |
+
## 💻 Usage
|
34 |
+
|
35 |
+
```python
|
36 |
+
!pip install -qU transformers accelerate
|
37 |
+
|
38 |
+
from transformers import AutoTokenizer
|
39 |
+
import transformers
|
40 |
+
import torch
|
41 |
+
|
42 |
+
model = "EmmanuelM1/roberta-movie-sentiment-multimodel"
|
43 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
44 |
+
|
45 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
46 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
47 |
+
pipeline = transformers.pipeline(
|
48 |
+
"text-generation",
|
49 |
+
model=model,
|
50 |
+
torch_dtype=torch.float16,
|
51 |
+
device_map="auto",
|
52 |
+
)
|
53 |
+
|
54 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
55 |
+
print(outputs[0]["generated_text"])
|
56 |
+
```
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gchhablani/bert-base-cased-finetuned-sst2",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"finetuning_task": "sst2",
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "negative",
|
15 |
+
"1": "positive"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"negative": 0,
|
21 |
+
"positive": 1
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "bert",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"position_embedding_type": "absolute",
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"torch_dtype": "float16",
|
32 |
+
"transformers_version": "4.40.1",
|
33 |
+
"type_vocab_size": 2,
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 28996
|
36 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
models:
|
3 |
+
- model: gchhablani/bert-base-cased-finetuned-sst2
|
4 |
+
parameters:
|
5 |
+
weight: 0.5
|
6 |
+
- model: Wakaka/bert-finetuned-imdb
|
7 |
+
parameters:
|
8 |
+
weight: 0.5
|
9 |
+
merge_method: linear
|
10 |
+
dtype: float16
|
model-00001-of-00001.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f69aaa2dfcd1fbbeaa69eb13a2770f003493e1782c19f687cf183a618f7f9f6e
|
3 |
+
size 216651220
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"mergekit_version": "0.0.4.2", "total_size": 216627716}, "weight_map": {"bert.embeddings.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.embeddings.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.embeddings.position_embeddings.weight": "model-00001-of-00001.safetensors", "bert.embeddings.position_ids": "model-00001-of-00001.safetensors", "bert.embeddings.token_type_embeddings.weight": "model-00001-of-00001.safetensors", "bert.embeddings.word_embeddings.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.0.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.1.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.10.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.11.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.2.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.3.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.4.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.5.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.6.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.7.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.8.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.output.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.self.key.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.self.key.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.self.query.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.self.query.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.self.value.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.attention.self.value.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.intermediate.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.intermediate.dense.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.output.LayerNorm.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.output.LayerNorm.weight": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.output.dense.bias": "model-00001-of-00001.safetensors", "bert.encoder.layer.9.output.dense.weight": "model-00001-of-00001.safetensors", "bert.pooler.dense.bias": "model-00001-of-00001.safetensors", "bert.pooler.dense.weight": "model-00001-of-00001.safetensors", "classifier.bias": "model-00001-of-00001.safetensors", "classifier.weight": "model-00001-of-00001.safetensors"}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"max_length": 512,
|
49 |
+
"model_max_length": 512,
|
50 |
+
"pad_to_multiple_of": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"pad_token_type_id": 0,
|
53 |
+
"padding_side": "right",
|
54 |
+
"sep_token": "[SEP]",
|
55 |
+
"stride": 0,
|
56 |
+
"strip_accents": null,
|
57 |
+
"tokenize_chinese_chars": true,
|
58 |
+
"tokenizer_class": "BertTokenizer",
|
59 |
+
"truncation_side": "right",
|
60 |
+
"truncation_strategy": "longest_first",
|
61 |
+
"unk_token": "[UNK]"
|
62 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|