chengyineng commited on
Commit
c2deae7
1 Parent(s): efb4d75

Upload model

Browse files
Files changed (2) hide show
  1. adapter_config.json +14 -0
  2. adapter_model.bin +3 -0
adapter_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model_name_or_path": "gpt2",
3
+ "inference_mode": true,
4
+ "num_attention_heads": 12,
5
+ "num_layers": 12,
6
+ "num_transformer_submodules": 1,
7
+ "num_virtual_tokens": 10,
8
+ "peft_type": "PROMPT_TUNING",
9
+ "prompt_tuning_init": "TEXT",
10
+ "prompt_tuning_init_text": "Classify if the terms of service is fair or not:",
11
+ "task_type": "CAUSAL_LM",
12
+ "token_dim": 768,
13
+ "tokenizer_name_or_path": "gpt2"
14
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab51bfb951909f62b099986e375025f85324a220405e50187ae6962bb31a8dc4
3
+ size 31485