# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="ronvolutional/tiny-xlm-roberta-copy")# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("ronvolutional/tiny-xlm-roberta-copy")
model = AutoModelForCausalLM.from_pretrained("ronvolutional/tiny-xlm-roberta-copy")Quick Links
This is a tiny random {mname_tiny} model to be used for basic testing
- Downloads last month
- -
# Gated model: Login with a HF token with gated access permission hf auth login