Link model card to arXiv paper page 915bb05
bossy commited on
How to use boshuai1/c2q-parser-codebert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="boshuai1/c2q-parser-codebert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("boshuai1/c2q-parser-codebert")
model = AutoModelForSequenceClassification.from_pretrained("boshuai1/c2q-parser-codebert")