Instructions to use sultan/BioM-ELECTRA-Base-Discriminator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sultan/BioM-ELECTRA-Base-Discriminator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("sultan/BioM-ELECTRA-Base-Discriminator") model = AutoModelForPreTraining.from_pretrained("sultan/BioM-ELECTRA-Base-Discriminator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,6 +37,7 @@ BioM-ALBERT-xxlarge on SQuAD2.0 and BioASQ7B Factoid tasks [![Open In Colab][COL
|
|
| 37 |
|
| 38 |
Text Classification Task With HuggingFace Transformers and PyTorchXLA on Free TPU [![Open In Colab][COLAB]](https://colab.research.google.com/github/salrowili/BioM-Transformers/blob/main/examples/Fine_Tuning_Biomedical_Models_on_Text_Classification_Task_With_HuggingFace_Transformers_and_PyTorch_XLA.ipynb)
|
| 39 |
|
|
|
|
| 40 |
|
| 41 |
|
| 42 |
[COLAB]: https://colab.research.google.com/assets/colab-badge.svg
|
|
|
|
| 37 |
|
| 38 |
Text Classification Task With HuggingFace Transformers and PyTorchXLA on Free TPU [![Open In Colab][COLAB]](https://colab.research.google.com/github/salrowili/BioM-Transformers/blob/main/examples/Fine_Tuning_Biomedical_Models_on_Text_Classification_Task_With_HuggingFace_Transformers_and_PyTorch_XLA.ipynb)
|
| 39 |
|
| 40 |
+
Reproducing our BLURB results with JAX [![Open In Colab][COLAB]](https://github.com/salrowili/BioM-Transformers/blob/main/examples/BLURB_LeaderBoard_with_TPU_VM.ipynb)
|
| 41 |
|
| 42 |
|
| 43 |
[COLAB]: https://colab.research.google.com/assets/colab-badge.svg
|