CATIE-AQ/frenchQA
Viewer • Updated • 205k • 109 • 5
How to use Mauricio-100/locgi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mauricio-100/locgi", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Mauricio-100/locgi", trust_remote_code=True, device_map="auto")