GGLab/GECTurk
Viewer • Updated • 139k • 98 • 3
How to use GGLab/gec-tr-seq-tagger with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="GGLab/gec-tr-seq-tagger") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("GGLab/gec-tr-seq-tagger")
model = AutoModelForTokenClassification.from_pretrained("GGLab/gec-tr-seq-tagger")