PEFT
Safetensors
code
code-search
text-embeddings
decoder-only
supervised-contrastive-learning
codegemma
llm2vec
Instructions to use SYSUSELab/DCS-CodeGemma-7b-It-SupCon-CSN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SYSUSELab/DCS-CodeGemma-7b-It-SupCon-CSN with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -67,8 +67,8 @@ from llm2vec import LLM2Vec
|
|
| 67 |
|
| 68 |
# --- 1. Define Model IDs ---
|
| 69 |
base_model_id = "google/codegemma-7b-it"
|
| 70 |
-
mntp_model_id = "
|
| 71 |
-
supcon_model_id = "
|
| 72 |
|
| 73 |
# --- 2. Load Base Model and MNTP Adapter ---
|
| 74 |
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
|
|
|
| 67 |
|
| 68 |
# --- 1. Define Model IDs ---
|
| 69 |
base_model_id = "google/codegemma-7b-it"
|
| 70 |
+
mntp_model_id = "SYSUSELab/DCS-CodeGemma-7b-It-MNTP"
|
| 71 |
+
supcon_model_id = "SYSUSELab/DCS-CodeGemma-7b-It-SupCon-CSN"
|
| 72 |
|
| 73 |
# --- 2. Load Base Model and MNTP Adapter ---
|
| 74 |
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|