emibaylor commited on
Commit
07485f1
1 Parent(s): 2c4e1ef

Update repository

Browse files
.gitattributes CHANGED
@@ -26,3 +26,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
26
  *.zip filter=lfs diff=lfs merge=lfs -text
27
  *.zstandard filter=lfs diff=lfs merge=lfs -text
28
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
26
  *.zip filter=lfs diff=lfs merge=lfs -text
27
  *.zstandard filter=lfs diff=lfs merge=lfs -text
28
  *tfevents* filter=lfs diff=lfs merge=lfs -text
29
+ *.th filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - allennlp
4
+ ---
5
+
6
+ # TODO: Fill this model card
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_reader": {
3
+ "type": "ccqa",
4
+ "lazy": true,
5
+ "token_indexers": {
6
+ "bert": {
7
+ "type": "pretrained_transformer",
8
+ "model_name": "roberta-base"
9
+ }
10
+ },
11
+ "tokenizer": {
12
+ "type": "pretrained_transformer",
13
+ "add_special_tokens": false,
14
+ "model_name": "roberta-base"
15
+ }
16
+ },
17
+ "model": {
18
+ "type": "basic_classifier_modified",
19
+ "seq2vec_encoder": {
20
+ "type": "bert_pooler",
21
+ "override_weights_file": "PretrainedRoberta/checkpoint_best.pt",
22
+ "pretrained_model": "roberta-base",
23
+ "requires_grad": true
24
+ },
25
+ "text_field_embedder": {
26
+ "type": "basic",
27
+ "token_embedders": {
28
+ "bert": {
29
+ "type": "pretrained_transformer",
30
+ "last_layer_only": false,
31
+ "model_name": "roberta-base",
32
+ "override_weights_file": "PretrainedRoberta/checkpoint_best.pt"
33
+ }
34
+ }
35
+ }
36
+ },
37
+ "train_data_path": "SufficientCompanyData/train_df_balanced_1500_15000.tsv",
38
+ "validation_data_path": "SufficientCompanyData/val_df_balanced_750_7500.tsv",
39
+ "trainer": {
40
+ "checkpointer": {
41
+ "num_serialized_models_to_keep": 1
42
+ },
43
+ "cuda_device": 0,
44
+ "grad_norm": 1,
45
+ "num_epochs": 50,
46
+ "optimizer": {
47
+ "type": "huggingface_adamw",
48
+ "lr": 2e-06,
49
+ "weight_decay": 0.1
50
+ },
51
+ "validation_metric": "+accuracy"
52
+ },
53
+ "data_loader": {
54
+ "batch_size": 8
55
+ }
56
+ }
vocabulary/.lock ADDED
File without changes
vocabulary/labels.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ N
2
+ Y
vocabulary/non_padded_namespaces.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *tags
2
+ *labels
weights.th ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a98201721a8a49d93290e3b42bbf4dcef61ad8916715eacb48c9e1c29b9eae
3
+ size 501069072