Instructions to use omarmomen/structformer_s2_final_with_pos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omarmomen/structformer_s2_final_with_pos with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="omarmomen/structformer_s2_final_with_pos", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("omarmomen/structformer_s2_final_with_pos", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature369fd3f -
Create README.md
Verified signature0b70aa5
-
update
Omar5e0c3c5
-
Update structformer_as_hf.py
15b31ae -
Update config.json
6e35671 -
add model
8a6aeeb -
add tokenizer
b24c6ea -
initial commit
d25eb90