turnipseason commited on
Commit
c4c1dbe
·
verified ·
1 Parent(s): 6b4078a

updated the readme.md usage example

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -23,7 +23,7 @@ Usage example:
23
  ---
24
 
25
  ``` python
26
- from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, T5ForConditionalGeneration
27
  from IPython.display import display, Math, Latex
28
 
29
  model_dir = "turnipseason/latext5"
@@ -47,7 +47,8 @@ early_stopping=True
47
  for h in hypotheses:
48
  display(Latex(tokenizer.decode(h, skip_special_tokens=True)))
49
 
50
- text = '''лямбда прописная квадрат минус три равно десять игрек куб При этом шинус икс равен интеграл от экспоненты до трёх игрек штрих'''
 
51
  get_latex(text)
52
 
53
  ```
 
23
  ---
24
 
25
  ``` python
26
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
27
  from IPython.display import display, Math, Latex
28
 
29
  model_dir = "turnipseason/latext5"
 
47
  for h in hypotheses:
48
  display(Latex(tokenizer.decode(h, skip_special_tokens=True)))
49
 
50
+ text = '''лямбда прописная квадрат минус три равно десять игрек куб
51
+ При этом шинус икс равен интеграл от экспоненты до трёх игрек штрих'''
52
  get_latex(text)
53
 
54
  ```