Instructions to use AIRI-Institute/gena-lm-bert-base-fly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIRI-Institute/gena-lm-bert-base-fly with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="AIRI-Institute/gena-lm-bert-base-fly", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("AIRI-Institute/gena-lm-bert-base-fly", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("AIRI-Institute/gena-lm-bert-base-fly", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee3dd27687125c8c8385446bce177851003c7ece38a6a67d6452c910cec9cfe7
|
| 3 |
+
size 541069752
|