Update README.md
Browse files
README.md
CHANGED
|
@@ -3,21 +3,20 @@ language:
|
|
| 3 |
- en
|
| 4 |
---
|
| 5 |
## Model Description
|
| 6 |
-
arXivBERT is a
|
| 7 |
-
|
| 8 |
|
| 9 |
## Why ?arXivBERT
|
| 10 |
1. Specialized in Scientific Content: Trained on a large dataset of arXiv papers, ensuring high familiarity with scientific terminology and concepts.
|
| 11 |
2. Versatile in Applications: Suitable for a range of NLP tasks, including but not limited to text classification, keyword extraction, summarization of scientific papers, and citation prediction.
|
| 12 |
-
3. Evolutionary Insights:
|
| 13 |
|
| 14 |
## How to Use?
|
| 15 |
|
| 16 |
```
|
| 17 |
from transformers import AutoTokenizer, AutoModel
|
| 18 |
|
| 19 |
-
tokenizer = AutoTokenizer.from_pretrained("folderPath")
|
| 20 |
-
model = AutoModel.from_pretrained("folderPath")
|
| 21 |
|
| 22 |
|
| 23 |
```
|
|
|
|
| 3 |
- en
|
| 4 |
---
|
| 5 |
## Model Description
|
| 6 |
+
arXivBERT is a series of models trained on a time-based unit. If you are looking for the best performance on scientific corpora, please use the model from 2020 directly.
|
|
|
|
| 7 |
|
| 8 |
## Why ?arXivBERT
|
| 9 |
1. Specialized in Scientific Content: Trained on a large dataset of arXiv papers, ensuring high familiarity with scientific terminology and concepts.
|
| 10 |
2. Versatile in Applications: Suitable for a range of NLP tasks, including but not limited to text classification, keyword extraction, summarization of scientific papers, and citation prediction.
|
| 11 |
+
3. Evolutionary Insights: Continuous pre-training captures the long-term relationships and changes within the corpus.
|
| 12 |
|
| 13 |
## How to Use?
|
| 14 |
|
| 15 |
```
|
| 16 |
from transformers import AutoTokenizer, AutoModel
|
| 17 |
|
| 18 |
+
tokenizer = AutoTokenizer.from_pretrained("folderPath/year")
|
| 19 |
+
model = AutoModel.from_pretrained("folderPath/wholewordtokenizer")
|
| 20 |
|
| 21 |
|
| 22 |
```
|