seonglae commited on
Commit
35538bc
1 Parent(s): 02ed4ad

feat: update model to recent version

Browse files
Files changed (4) hide show
  1. config.json +3 -1
  2. generation_config.json +2 -0
  3. pytorch_model.bin +1 -1
  4. tokenizer.json +1 -6
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bart-base-finetuned-reddit-2023-05-18_22-14-51",
3
  "activation_dropout": 0.1,
4
  "activation_function": "gelu",
5
  "add_bias_logits": false,
@@ -39,7 +39,9 @@
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
 
42
  "max_position_embeddings": 1024,
 
43
  "model_type": "bart",
44
  "no_repeat_ngram_size": 3,
45
  "normalize_before": false,
 
1
  {
2
+ "_name_or_path": "facebook/bart-base",
3
  "activation_dropout": 0.1,
4
  "activation_function": "gelu",
5
  "add_bias_logits": false,
 
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
42
+ "max_length": 128,
43
  "max_position_embeddings": 1024,
44
+ "min_length": 12,
45
  "model_type": "bart",
46
  "no_repeat_ngram_size": 3,
47
  "normalize_before": false,
generation_config.json CHANGED
@@ -5,6 +5,8 @@
5
  "eos_token_id": 2,
6
  "forced_bos_token_id": 0,
7
  "forced_eos_token_id": 2,
 
 
8
  "no_repeat_ngram_size": 3,
9
  "num_beams": 4,
10
  "pad_token_id": 1,
 
5
  "eos_token_id": 2,
6
  "forced_bos_token_id": 0,
7
  "forced_eos_token_id": 2,
8
+ "max_length": 128,
9
+ "min_length": 12,
10
  "no_repeat_ngram_size": 3,
11
  "num_beams": 4,
12
  "pad_token_id": 1,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e96db493e0241969ff10d46b47f4540a1bde491c4a06c2d4b633c103676f5d27
3
  size 557984925
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e81144ff88620154fa305872c18a6e5d3c7369097ec5311b8530a27be702b39a
3
  size 557984925
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 128,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {