Instructions to use Amazon-FMR/Ergo-dspark with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Amazon-FMR/Ergo-dspark with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Amazon-FMR/Ergo-dspark", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Amazon-FMR/Ergo-dspark", trust_remote_code=True) model = AutoModel.from_pretrained("Amazon-FMR/Ergo-dspark", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Yesterday
-
Amazon Ergo DSpark release
Co-authored-by: jfchiu <jfchiu@users.noreply.huggingface.co> Co-authored-by: haoliu <haoliu@users.noreply.huggingface.co> Co-authored-by: jfc4050 <jfc4050@users.noreply.huggingface.co>dd6ea89