Feature Extraction
Transformers
PyTorch
roberta
code-understanding
unixcoder
text-embeddings-inference
Run this model with HF Jobs
Run Lazyhope/RepoSim 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/Lazyhope/RepoSim. 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/Lazyhope/RepoSim 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 Lazyhope/RepoSim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lazyhope/RepoSim with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Lazyhope/RepoSim")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Lazyhope/RepoSim") model = AutoModel.from_pretrained("Lazyhope/RepoSim", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update the model card and make the pipeline public
df6d013
-
Allow user to manually set github token in each run
16c089c
-
Change default value of license field to empty string in pipeline
8edac7f
-
Remove st_messager from the pipeline for streamlit data cachability
d52f2e6 -
Update pipeline
Fix a bug when getting metadata license and topics, use list of dictionaries to store the results instead of a single dictionary by pushing repo name inwards, add repo stars to the resultc5dc40f
-
Add license to extracted information; add unicode decode error and other minor updates
2ab1f7c
-
Add streamlit widget support to the pipeline
ea248b5
-
Show progress bar when running the model
561a94f
-
Add setter method to set GitHub token
d9e7a5e -
Access GitHub token by passing it when initialising a pipeline
09cc5e5
-
Add source id to self.device
8fc8456 -
Move API header warning to init of pipeline
c0f0c0a -
Fix a typo
e063f35 -
Upload pipeline "repo-embedding"
e922192 -
initial commit
85e656b