Instructions to use ml4pubmed/albert-base-v2_pub_section with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ml4pubmed/albert-base-v2_pub_section with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ml4pubmed/albert-base-v2_pub_section")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ml4pubmed/albert-base-v2_pub_section") model = AutoModelForSequenceClassification.from_pretrained("ml4pubmed/albert-base-v2_pub_section", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update files
Browse files
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# albert-base-v2_pub_section
|
| 2 |
+
- original model file name: textclassifer_albert-base-v2_pubmed_full
|
| 3 |
+
- This is a fine-tuned checkpoint of `albert-base-v2` for document section text classification
|
| 4 |
+
- possible document section classes are:BACKGROUND, CONCLUSIONS, METHODS, OBJECTIVE, RESULTS,
|
| 5 |
+
|
| 6 |
+
## metadata
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
### training_metrics
|
| 10 |
+
|
| 11 |
+
- date_run: Apr-26-2022_t-04
|
| 12 |
+
|
| 13 |
+
- huggingface_tag: albert-base-v2
|
| 14 |
+
|
| 15 |
+
### training_parameters
|
| 16 |
+
|
| 17 |
+
- date_run: Apr-26-2022_t-04
|
| 18 |
+
|
| 19 |
+
- huggingface_tag: albert-base-v2
|