Den4ikAI commited on
Commit
1a96c4c
·
1 Parent(s): b3bbb69

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -1,18 +1,18 @@
1
  ---
2
  license: mit
3
  ---
4
- обученный rubert от sberbank-ai/ruBert-base.
5
 
6
  размер выборки - 4.
7
 
8
- Эпохи - 2.
9
 
10
  ```python
11
  from transformers import pipeline
12
  qa_pipeline = pipeline(
13
  "question-answering",
14
- model="Den4ikAI/rubert-large-squad",
15
- tokenizer="Den4ikAI/rubert-large-squad"
16
  )
17
  predictions = qa_pipeline({
18
  'context': "Пушкин родился 6 июля 1799 года",
@@ -20,5 +20,5 @@ predictions = qa_pipeline({
20
  })
21
  print(predictions)
22
  # output:
23
- #{'score': 0.9613797664642334, 'start': 15, 'end': 31, 'answer': '6 июля 1799 года'}
24
  ```
 
1
  ---
2
  license: mit
3
  ---
4
+ обученный rubert от cointegrated/rubert-tiny2.
5
 
6
  размер выборки - 4.
7
 
8
+ Эпохи - 16.
9
 
10
  ```python
11
  from transformers import pipeline
12
  qa_pipeline = pipeline(
13
  "question-answering",
14
+ model="Den4ikAI/rubert-tiny-squad",
15
+ tokenizer="Den4ikAI/rubert-tiny-squad"
16
  )
17
  predictions = qa_pipeline({
18
  'context': "Пушкин родился 6 июля 1799 года",
 
20
  })
21
  print(predictions)
22
  # output:
23
+ #{'score': 0.9413797664642334, 'start': 15, 'end': 31, 'answer': '6 июля 1799 года'}
24
  ```