Instructions to use HUBioDataLab/SELFormer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HUBioDataLab/SELFormer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="HUBioDataLab/SELFormer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("HUBioDataLab/SELFormer") model = AutoModelForMaskedLM.from_pretrained("HUBioDataLab/SELFormer", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Add GNU general public license
Browse files123456789101112---license: gpl---
## LicenseCopyright (C) 2023 HUBioDataLab
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.README.mdAdded+12