Instructions to use AG/pretraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AG/pretraining with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="AG/pretraining")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AG/pretraining") model = AutoModel.from_pretrained("AG/pretraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
1d0c32c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:02db7633096d6eb0d26bf4bfde8612369c51895660ea516fde22e258865a3033
size 498661169
|