nvrayzhang
commited on
Commit
·
107b74c
1
Parent(s):
5280fc4
add model
Browse files- config.json +3 -3
- generator_tokenizer/tokenizer.json +0 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"architectures": [
|
| 3 |
"RagSequenceForGeneration"
|
| 4 |
],
|
| 5 |
-
"context_max_length":
|
| 6 |
"dataset": "wiki_dpr",
|
| 7 |
"dataset_split": "train",
|
| 8 |
"do_deduplication": true,
|
|
@@ -126,10 +126,10 @@
|
|
| 126 |
"label_smoothing": 0.0,
|
| 127 |
"max_combined_length": 300,
|
| 128 |
"model_type": "rag",
|
| 129 |
-
"n_docs":
|
| 130 |
"output_retrieved": false,
|
| 131 |
"passages_path": "test_run/dummy-kb/my_knowledge_dataset",
|
| 132 |
-
"query_max_length":
|
| 133 |
"question_encoder": {
|
| 134 |
"_name_or_path": "hfl/chinese-macbert-base",
|
| 135 |
"add_cross_attention": false,
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"RagSequenceForGeneration"
|
| 4 |
],
|
| 5 |
+
"context_max_length": 128,
|
| 6 |
"dataset": "wiki_dpr",
|
| 7 |
"dataset_split": "train",
|
| 8 |
"do_deduplication": true,
|
|
|
|
| 126 |
"label_smoothing": 0.0,
|
| 127 |
"max_combined_length": 300,
|
| 128 |
"model_type": "rag",
|
| 129 |
+
"n_docs": 5,
|
| 130 |
"output_retrieved": false,
|
| 131 |
"passages_path": "test_run/dummy-kb/my_knowledge_dataset",
|
| 132 |
+
"query_max_length": 32,
|
| 133 |
"question_encoder": {
|
| 134 |
"_name_or_path": "hfl/chinese-macbert-base",
|
| 135 |
"add_cross_attention": false,
|
generator_tokenizer/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a388fd66419b7669eb9cb6b27b8687341a510beb47f78606fb8cfef5794ba2d3
|
| 3 |
+
size 874340393
|