How to use microsoft/unixcoder-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="microsoft/unixcoder-base")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("microsoft/unixcoder-base") model = AutoModel.from_pretrained("microsoft/unixcoder-base")
Hi @codebert This PR has documentation about your model and is based on the format we are using as part of our effort to standardize model cards at Hugging Face. Please feel free to merge as is or edit as you like and then merge.
Merge done. Thanks.
· Sign up or log in to comment