Instructions to use fbaigt/procbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fbaigt/procbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="fbaigt/procbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("fbaigt/procbert") model = AutoModel.from_pretrained("fbaigt/procbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fan Bai commited on
Commit ·
be24de0
1
Parent(s): 44bea72
Update model card
Browse files
README.md
CHANGED
|
@@ -6,7 +6,15 @@ datasets:
|
|
| 6 |
---
|
| 7 |
|
| 8 |
## ProcBERT
|
|
|
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
## Usage
|
| 12 |
```
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
## ProcBERT
|
| 9 |
+
ProcBERT is a pre-trained language model specifically for procedural text. It was pre-trained on a large-scale procedural corpus (PubMed articles/chemical patents/recipes) containing over 12B tokens and shows great performance on downstream tasks. More details can be found in the following paper:
|
| 10 |
|
| 11 |
+
@article{Bai2021PretrainOA,
|
| 12 |
+
title={Pre-train or Annotate? Domain Adaptation with a Constrained Budget},
|
| 13 |
+
author={Fan Bai and Alan Ritter and Wei Xu},
|
| 14 |
+
journal={ArXiv},
|
| 15 |
+
year={2021},
|
| 16 |
+
volume={abs/2109.04711}
|
| 17 |
+
}
|
| 18 |
|
| 19 |
## Usage
|
| 20 |
```
|