Instructions to use gitter-lab/METL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gitter-lab/METL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="gitter-lab/METL", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gitter-lab/METL", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update package versions in readme
Browse files34 unmodified lines3536373839404134 unmodified linesRunning METL requires the following packages:```transformers==4.42.4numpy>=1.23.2networkx>=2.6.3scipy>=1.9.134 unmodified lines35363738394041424334 unmodified linesRunning METL requires the following packages:```transformers==5.17.0huggingface-hub==1.13.0torch==2.14.0numpy>=1.23.2networkx>=2.6.3scipy>=1.9.1
README.md+3-1