Upload folder using huggingface_hub ca76b77 verified
Vojtech Hejlek commited on
How to use hejlevoj/UniXCoder-C-Rust-semantic-similarity with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="hejlevoj/UniXCoder-C-Rust-semantic-similarity") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("hejlevoj/UniXCoder-C-Rust-semantic-similarity", dtype="auto")