thunlp commited on
Commit
d245282
1 Parent(s): 9fcbfcf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -9,7 +9,7 @@ This repository provides the source code and checkpoints of the paper "Lawformer
9
  We have uploaded our model to the huggingface model hub. Make sure you have installed transformers.
10
  ```python
11
  >>> from transformers import AutoModel, AutoTokenizer
12
- >>> tokenizer = AutoTokenizer.from_pretrained("hfl/chinese-roberta-wwm-ext")
13
  >>> model = AutoModel.from_pretrained("thunlp/Lawformer")
14
  >>> inputs = tokenizer("任某提起诉讼,请求判令解除婚姻关系并对夫妻共同财产进行分割。", return_tensors="pt")
15
  >>> outputs = model(**inputs)
9
  We have uploaded our model to the huggingface model hub. Make sure you have installed transformers.
10
  ```python
11
  >>> from transformers import AutoModel, AutoTokenizer
12
+ >>> tokenizer = AutoTokenizer.from_pretrained("thunlp/Lawformer")
13
  >>> model = AutoModel.from_pretrained("thunlp/Lawformer")
14
  >>> inputs = tokenizer("任某提起诉讼,请求判令解除婚姻关系并对夫妻共同财产进行分割。", return_tensors="pt")
15
  >>> outputs = model(**inputs)