digo-prayudha commited on
Commit
9efdff5
1 Parent(s): 183c3be

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -14
README.md CHANGED
@@ -22,20 +22,6 @@ This model is a fine-tuned version of [indolem/indobert-base-uncased](https://hu
22
  It achieves the following results on the evaluation set:
23
  - Loss: 1.4807
24
 
25
- ### How to use this model in Transformers Library
26
-
27
- ```python
28
- from transformers import pipeline
29
-
30
- question = "Berapa jumlah pulau yang ada di indonesia?"
31
- context = "Indonesia adalah negara kepulauan, Dengan jumlah pulau sekitar 17 ribu"
32
-
33
- from transformers import pipeline
34
-
35
- question_answerer = pipeline("question-answering", model="digo-prayudha/IndoQA")
36
- question_answerer(question=question, context=context)
37
- ```
38
-
39
  ### Training hyperparameters
40
 
41
  The following hyperparameters were used during training:
@@ -55,6 +41,19 @@ The following hyperparameters were used during training:
55
  | No log | 2.0 | 414 | 1.8862 |
56
  | 0.9416 | 3.0 | 621 | 1.4807 |
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  ### Framework versions
60
 
 
22
  It achieves the following results on the evaluation set:
23
  - Loss: 1.4807
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ### Training hyperparameters
26
 
27
  The following hyperparameters were used during training:
 
41
  | No log | 2.0 | 414 | 1.8862 |
42
  | 0.9416 | 3.0 | 621 | 1.4807 |
43
 
44
+ ### How to use this model in Transformers Library
45
+
46
+ ```python
47
+ from transformers import pipeline
48
+
49
+ question = "Berapa jumlah pulau yang ada di indonesia?"
50
+ context = "Indonesia adalah negara kepulauan, Dengan jumlah pulau sekitar 17 ribu"
51
+
52
+ from transformers import pipeline
53
+
54
+ question_answerer = pipeline("question-answering", model="digo-prayudha/IndoQA")
55
+ question_answerer(question=question, context=context)
56
+ ```
57
 
58
  ### Framework versions
59