Instructions to use microsoft/unixcoder-base-unimodal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/unixcoder-base-unimodal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="microsoft/unixcoder-base-unimodal")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("microsoft/unixcoder-base-unimodal") model = AutoModel.from_pretrained("microsoft/unixcoder-base-unimodal", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
eda526b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bb342a3ff16d651829a0cb08618fa45cee56fbe6b06d8a6bb99ecf67f7f067ec
size 499459575
|