How to use Ericwang/tiny-random-ast with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Ericwang/tiny-random-ast")
# Load model directly from transformers import AutoFeatureExtractor, AutoModel extractor = AutoFeatureExtractor.from_pretrained("Ericwang/tiny-random-ast") model = AutoModel.from_pretrained("Ericwang/tiny-random-ast")