botryan96 commited on
Commit
a5fc232
·
1 Parent(s): 1e9f8d7

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: GeoBERT
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
10
+ probably proofread and complete it, then remove this comment. -->
11
+
12
+ # GeoBERT_Analyzer
13
+
14
+ GeoBERT_Analyzer is a Text Classification model that was fine-tuned from GeoBERT on the Geoscientific Corpus dataset.
15
+ The model was trained on the Labeled Geoscientific & Non-Geosceintific Corpus dataset (21416 x 2 sentences).
16
+
17
+
18
+ ## Intended uses
19
+
20
+ The train aims to make the Language Model have the ability to distinguish between Geoscience and Non – Geoscience (General) corpus
21
+
22
+
23
+ ### Training hyperparameters
24
+
25
+ The following hyperparameters were used during training:
26
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 14000, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
27
+ - training_precision: mixed_float16
28
+
29
+
30
+ ### Framework versions
31
+
32
+ - Transformers 4.22.1
33
+ - TensorFlow 2.10.0
34
+ - Datasets 2.4.0
35
+ - Tokenizers 0.12.1
36
+
37
+ ## Model performances (metric: seqeval)
38
+
39
+ entity|precision|recall|f1
40
+ -|-|-|-
41
+ General |0.9976|0.9980|0.9978
42
+ Geoscience|0.9980|0.9984|0.9982
43
+
44
+ ## How to use GeoBERT with HuggingFace
45
+
46
+ ##### Load GeoBERT and its sub-word tokenizer :
47
+
48
+ ```python
49
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("botryan96/GeoBERT_analyzer")
52
+ model = AutoModelForTokenClassification.from_pretrained("botryan96/GeoBERT_analyzer")
53
+ ```