Instructions to use EQUES/jpharma-bert-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EQUES/jpharma-bert-large with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("EQUES/jpharma-bert-large") model = AutoModelForPreTraining.from_pretrained("EQUES/jpharma-bert-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Improve model card: Add pipeline tag, language, and descriptive tags, and paper link
#1
by nielsr HF Staff - opened
This PR improves the model card for EQUES/jpharma-bert-large by:
- Adding
pipeline_tag: fill-maskto the metadata, which ensures the model is properly categorized and enables the correct interactive widget on the Hugging Face Hub (e.g., at https://huggingface.co/models?pipeline_tag=fill-mask). This aligns with the provided sample usage (pipeline("fill-mask", ...)). - Specifying
language: [ja, en]as the model was continually pre-trained on both Japanese and English pharmaceutical/biomedical tokens, as stated in the paper abstract. - Including relevant
tagssuch asbert,japanese,pharmaceutical, andbiomedicalfor better discoverability and categorization. - Adding a prominent link to the paper A Japanese Language Model and Three New Evaluation Benchmarks for Pharmaceutical NLP at the top of the model card.
- Correcting the typo "Examoke Usage" to "Example Usage".