paulorvdc commited on
Commit
91406cd
1 Parent(s): 574de86

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md CHANGED
@@ -1,3 +1,40 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
+ # BERT fine-tuned commodities
6
+ This collection of fine-tuned BERT models were generated with the data of the "TRENCHANT: TRENd PrediCtion on Heterogeneous informAtion NeTworks" article.
7
+ Source code and networks are available at the following GitHub repo: https://github.com/paulorvdc/TRENCHANT
8
+
9
+ ## how to cite
10
+ ```
11
+ @article{doCarmo_ReisFilho_Marcacini_2023,
12
+ title={TRENCHANT: TRENd PrediCtion on Heterogeneous informAtion NeTworks},
13
+ volume={13},
14
+ url={https://sol.sbc.org.br/journals/index.php/jidm/article/view/2546},
15
+ DOI={10.5753/jidm.2022.2546},
16
+ number={6},
17
+ journal={Journal of Information and Data Management},
18
+ author={do Carmo, P. and Reis Filho, I. J. and Marcacini, R.},
19
+ year={2023},
20
+ month={Jan.}
21
+ }
22
+ ```
23
+
24
+ ## how to use
25
+ ```
26
+ from sentence_transformers import SentenceTransformer, LoggingHandler
27
+ import numpy as np
28
+ import logging
29
+
30
+ # load model
31
+ np.set_printoptions(threshold=100)
32
+
33
+ logging.basicConfig(format='%(asctime)s - %(message)s',
34
+ datefmt='%Y-%m-%d %H:%M:%S',
35
+ level=logging.INFO,
36
+ handlers=[LoggingHandler()])
37
+
38
+ model = SentenceTransformer('paulorvdc/sentencebert-fine-tuned-months-soy')
39
+ finetuned_embeddings = list(['Brazilian Corn Acreage Losing out to Higher Priced Soybeans', 'Brazil Soybeans are 93% GMO, Corn is 82%, and Cotton is 66%'])
40
+ ```