Instructions to use ashercn97/code-y-static-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use ashercn97/code-y-static-v2 with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("ashercn97/code-y-static-v2") - sentence-transformers
How to use ashercn97/code-y-static-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ashercn97/code-y-static-v2") 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
- Xet hash:
- 3eaef5dd29db574f540f98582b2bd4f792764770362821e737432325357d31a1
- Size of remote file:
- 129 MB
- SHA256:
- cc92ac14218b2d44f5f1475231a62c6316e26d4b66694fa19af793de0e57785f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.