Run this model with HF Jobs
Run Cainiao-AI/G2PTL on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Cainiao-AI/G2PTL. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Cainiao-AI/G2PTL on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Cainiao-AI/G2PTL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cainiao-AI/G2PTL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Cainiao-AI/G2PTL", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Cainiao-AI/G2PTL", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md (#1)
Browse files- Update README.md (0eaec6e7b24c9342c657d52088b6fc6d401164de)
Co-authored-by: liujianlin <ljl01@users.noreply.huggingface.co>
7 unmodified lines8910111213147 unmodified lines## IntroductionG2PTL-1: A Geography-Graph Pre-trained model for address. This work is the first version of G2PTL (v1.0)## Model description7 unmodified lines891011121314157 unmodified lines## IntroductionG2PTL-1: A Geography-Graph Pre-trained model for address.This work is the first version of G2PTL (v1.0)## Model description
README.md+2-1