chieunq commited on
Commit
d56bff5
·
1 Parent(s): 635d773

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -36
README.md CHANGED
@@ -1,46 +1,51 @@
1
  ---
 
2
  tags:
3
- - generated_from_trainer
4
- model-index:
5
- - name: xlm-roberta-base-finetuned-squad-5
6
- results: []
7
- ---
8
-
9
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
- should probably proofread and complete it, then remove this comment. -->
11
-
12
- # xlm-roberta-base-finetuned-squad-5
13
-
14
- This model was trained from scratch on the None dataset.
15
-
16
- ## Model description
17
-
18
- More information needed
19
 
20
- ## Intended uses & limitations
21
-
22
- More information needed
23
-
24
- ## Training and evaluation data
25
-
26
- More information needed
27
-
28
- ## Training procedure
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
- ### Training hyperparameters
31
 
32
- The following hyperparameters were used during training:
33
- - learning_rate: 2e-05
34
- - train_batch_size: 16
35
- - eval_batch_size: 16
36
- - seed: 42
37
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
38
- - lr_scheduler_type: linear
39
- - num_epochs: 5
40
 
41
  ### Framework versions
42
 
43
- - Transformers 4.25.1
44
  - Pytorch 1.12.1+cu113
45
- - Datasets 2.7.1
46
  - Tokenizers 0.13.2
 
1
  ---
2
+ language: vi
3
  tags:
4
+ - vi
5
+ - xlm-roberta
6
+ widget:
7
+ - text: 3 thành viên trong nhóm gồm những ai ?
8
+ context: "Nhóm của chúng tôi là sinh viên năm 4 trường ĐH Công Nghệ - ĐHQG Hà Nội. Nhóm gồm 3 thành viên: Nguyễn Quang Chiều, Nguyễn Quang Huy và Nguyễn Trần Anh Đức . Đây là pha Reader trong dự án cuồi kì môn Các vấn đề hiện đại trong CNTT của nhóm ."
9
+
10
+ datasets:
11
+ - uit-vquad
12
+ metrics:
13
+ - EM (exact match) : 60.63
14
+ - F1 : 79.63
 
 
 
 
 
15
 
16
+ ---
17
+ We fined-tune model XLM-Roberta-base in UIT-vquad dataset (https://arxiv.org/pdf/2009.14725.pdf) and argument data technique
18
+ ### Performance
19
+ - EM (exact match) : 65.63
20
+ - F1 : 85.63
21
+
22
+ ### How to run
23
+ ```
24
+ from transformers import pipeline
25
+
26
+ # Replace this with your own checkpoint
27
+ model_checkpoint = "chieunq/XLM-R-base-finetuned-uit-vquad-1"
28
+ question_answerer = pipeline("question-answering", model=model_checkpoint)
29
+
30
+ context = """
31
+ Nhóm của chúng tôi là sinh viên năm 4 trường ĐH Công Nghệ - ĐHQG Hà Nội. Nhóm gồm 3 thành viên : Nguyễn Quang Chiều, Nguyễn Quang Huy và Nguyễn Trần Anh Đức . Đây là pha Reader trong dự án cuồi kì môn Các vấn đề hiện đại trong CNTT của nhóm .
32
+ """
33
+ question = "3 thành viên trong nhóm gồm những ai ?"
34
+ question_answerer(question=question, context=context)
35
+ ```
36
+ ### Output
37
+ ```
38
+ {'score': 0.9928902387619019,
39
+ 'start': 98,
40
+ 'end': 158,
41
+ 'answer': 'Nguyễn Quang Chiều, Nguyễn Quang Huy và Nguyễn Trần Anh Đức.'}
42
+ ```
43
 
 
44
 
 
 
 
 
 
 
 
 
45
 
46
  ### Framework versions
47
 
48
+ - Transformers 4.24.0
49
  - Pytorch 1.12.1+cu113
50
+ - Datasets 2.7.0
51
  - Tokenizers 0.13.2