Sentence Similarity
sentence-transformers
Safetensors
nomic_bert
verilog
systemverilog
code-search
embeddings
custom_code
text-embeddings-inference
Instructions to use roboco-io/verilog-embed-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use roboco-io/verilog-embed-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("roboco-io/verilog-embed-base", trust_remote_code=True) sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download criteria.json from roboco-io/verilog-embed-base: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/roboco-io/verilog-embed-base/resolve/main/criteria.json
- Command line
-
hf download hf://roboco-io/verilog-embed-base/criteria.json
-
curl -L -o criteria.json https://huggingface.co/roboco-io/verilog-embed-base/resolve/main/criteria.json
1.25 kB
| { | |
| "metric": "ndcg@10", | |
| "higherIsBetter": true, | |
| "minMargin": 0.04, | |
| "testSet": { | |
| "name": "verilog-comment-module-heldout-v1", | |
| "sha256": "a990fc89e8a6d62da311b6ca376ef84f4d3a465833aac75731ef924528af42ca", | |
| "queries": 1642, | |
| "description": "ํ์ต์ ์ฐ์ง ์์ ์ ์ฅ์ ์์ ์์ ์ฃผ์-๋ชจ๋ ์. ์ง์๋ ์ฃผ์ ์ค๋ช , ๊ฒ์ ๋์์ ํ ์คํธ ๋ถํ ์ ๋ชจ๋ ๋ชจ๋์ด๋ค. sha256์ eval.py์ split_digest ๊ฐ์ด๋ค." | |
| }, | |
| "baseline": { | |
| "name": "nomic-ai/CodeRankEmbed", | |
| "revision": "3c4b60807d71f79b43f3c4363786d9493691f8b1", | |
| "maxSeqLength": 512, | |
| "selection": "๋ฏธ์ธ์กฐ์ ํ์ง ์์ ํ๋ณด ์ฌ์ฏ ๊ฐ๋ฅผ ์ ๋ ฅ ๊ธธ์ด 256, 512, 1024, 2048 ํ ํฐ(๋ชจ๋ธ์ ํ๋ ์์์)์ผ๋ก ์ธก์ ํด ํ ์คํธ์ nDCG@10์ด ๊ฐ์ฅ ๋์ ์กฐํฉ์ ๊ณจ๋๋ค. ๊ธฐ์ค ๋ชจ๋ธ์ ๊ฐ์ฅ ์ ๋ฆฌํ ์ค์ ์ด๋ค.", | |
| "preliminaryScore": 0.692, | |
| "preliminaryCi95": [ | |
| 0.6726, | |
| 0.7098 | |
| ] | |
| }, | |
| "marginRationale": "๊ณํ์์ ์ ์๊ฐ์ 0.03์ด๋ค. ๊ธฐ์ค ๋ชจ๋ธ์ 95% ์ ๋ขฐ๊ตฌ๊ฐ ํญ์ด 0.037์ด์ด์, ๊ณํ์์ ๊ท์น์ ๋ฐ๋ผ ๊ทธ ํญ ์ด์์ธ 0.04๋ก ์ฌ๋ ธ๋ค.", | |
| "modelSelection": "์ฒดํฌํฌ์ธํธ๋ dev ๋ถํ ๋ก๋ง ๊ณ ๋ฅธ๋ค. test ๋ถํ ์ ์ต์ข ํ๊ฐ์ ํ ๋ฒ๋ง ์ด๋ค.", | |
| "fixedAt": "2026-11-26" | |
| } |