HDLTex/web_of_science
Updated • 238 • 13
How to use alvin-wen/distilbert-base-uncased-finetuned-wos with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="alvin-wen/distilbert-base-uncased-finetuned-wos") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("alvin-wen/distilbert-base-uncased-finetuned-wos")
model = AutoModelForMaskedLM.from_pretrained("alvin-wen/distilbert-base-uncased-finetuned-wos", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the web_of_science dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.5312 | 1.0 | 357 | 2.2975 |
| 2.3847 | 2.0 | 714 | 2.2568 |
| 2.3388 | 3.0 | 1071 | 2.2108 |
| 2.3076 | 4.0 | 1428 | 2.2158 |
| 2.2887 | 5.0 | 1785 | 2.2154 |
Base model
distilbert/distilbert-base-uncased