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

pipe = pipeline("feature-extraction", model="trl-internal-testing/tiny-BartModel")
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("trl-internal-testing/tiny-BartModel")
model = AutoModel.from_pretrained("trl-internal-testing/tiny-BartModel")
Quick Links

Tiny BartModel

This is a minimal model built for unit tests in the TRL library.

Downloads last month
19,656
Safetensors
Model size
3.11M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Spaces using trl-internal-testing/tiny-BartModel 2

Collection including trl-internal-testing/tiny-BartModel