Quangnguyen711 commited on
Commit
a5d7c0e
·
verified ·
1 Parent(s): 54c53ac

Upload CodeBERT encoder model

Browse files
Files changed (2) hide show
  1. config.json +1 -2
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "microsoft/codebert-base",
3
  "architectures": [
4
- "RobertaForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
@@ -20,7 +20,6 @@
20
  "output_past": true,
21
  "pad_token_id": 1,
22
  "position_embedding_type": "absolute",
23
- "problem_type": "single_label_classification",
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.47.0",
26
  "type_vocab_size": 1,
 
1
  {
2
  "_name_or_path": "microsoft/codebert-base",
3
  "architectures": [
4
+ "RobertaModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
20
  "output_past": true,
21
  "pad_token_id": 1,
22
  "position_embedding_type": "absolute",
 
23
  "torch_dtype": "float32",
24
  "transformers_version": "4.47.0",
25
  "type_vocab_size": 1,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d84037e10d01f9330db4d074f32dcd57058ede17da96b648594640f44ad52275
3
- size 498612824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c15e52d1cb32b6140b4f49ae174cd63c33bd788e7502c67ad6d26a2d76b5f82
3
+ size 498604904