Instructions to use TCMVince/HOP4NLP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TCMVince/HOP4NLP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="TCMVince/HOP4NLP4", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("TCMVince/HOP4NLP4", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update mlm.py
Verified signature3e0c74b -
Upload 2 files
Verified signature89f50a9 -
Update config.json
Verified signatureae84fef -
Update config.json
Verified signatured473550 -
Update mlm.py
Verified signature6b854f1 -
Update config.json
Verified signatureb454055 -
Upload folder using huggingface_hub
Verified signatureba51d98 -
Upload energybert/positional.py with huggingface_hub
Verified signature9e51baa -
Upload energybert/mlm.py with huggingface_hub
Verified signature751d8dd -
Upload energybert/hopfield.py with huggingface_hub
Verified signature7241718 -
Upload energybert/hf_configuration.py with huggingface_hub
Verified signature2bb6a89 -
Upload energybert/__init__.py with huggingface_hub
Verified signature733fce9 -
Upload model
Verified signature820c619 -
initial commit
Verified signature4cd23b8