Run this model with HF Jobs
Run rsvalerio/codebert-base-coreml on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/rsvalerio/codebert-base-coreml. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/rsvalerio/codebert-base-coreml on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use rsvalerio/codebert-base-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use rsvalerio/codebert-base-coreml with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("rsvalerio/codebert-base-coreml") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Update model artifacts (git:ac197fe)
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:f82eaf0597403680e5ca3dcc74a35d42a89b649a8d77319508522e5d696abdaesize 196365123version https://git-lfs.github.com/spec/v1oid sha256:6c31e616b49ffaaf7c1de8ec1d1da71f697feb8c65f9e7e8a51585a12feff91fsize 196906
123456789101112131415161718{"fileFormatVersion": "1.0.0","itemInfoEntries": {"88BDFA5E-D301-4418-8F4F-EC6CD838165E": {"author": "com.apple.CoreML","description": "CoreML Model Weights","name": "weights","path": "com.apple.CoreML/weights"},"E954306D-983F-45F7-BA6A-529CF3D95CAF": {"author": "com.apple.CoreML","description": "CoreML Model Specification","name": "model.mlmodel","path": "com.apple.CoreML/model.mlmodel"}},"rootModelIdentifier": "E954306D-983F-45F7-BA6A-529CF3D95CAF"}123456789101112131415161718{"fileFormatVersion": "1.0.0","itemInfoEntries": {"1BB059DE-EB9D-4984-A039-461301C6E44A": {"author": "com.apple.CoreML","description": "CoreML Model Specification","name": "model.mlmodel","path": "com.apple.CoreML/model.mlmodel"},"CCA74DE6-3434-4915-A4B7-C324F68EEB30": {"author": "com.apple.CoreML","description": "CoreML Model Weights","name": "weights","path": "com.apple.CoreML/weights"}},"rootModelIdentifier": "1BB059DE-EB9D-4984-A039-461301C6E44A"}
model.mlpackage/Data/com.apple.CoreML/model.mlmodel+2-2
model.mlpackage/Manifest.json+8-8