How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="t1101675/PICL")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("t1101675/PICL", device_map="auto")
Quick Links

This repository contains the model described in the paper Pre-Training to Learn in Context.

Code: https://github.com/thu-coai/PICL.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for t1101675/PICL