Instructions to use mparts/CODer-unixcoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mparts/CODer-unixcoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mparts/CODer-unixcoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mparts/CODer-unixcoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -45,7 +45,7 @@ The models were trained on whitespace-normalised code (line endings unified, tab
|
|
| 45 |
|
| 46 |
## Training
|
| 47 |
|
| 48 |
-
Fine-tuned on the train
|
| 49 |
|
| 50 |
## Limitations
|
| 51 |
|
|
|
|
| 45 |
|
| 46 |
## Training
|
| 47 |
|
| 48 |
+
Fine-tuned on the `train` rows of [mparts/CODer-aigcodeset](https://huggingface.co/datasets/mparts/CODer-aigcodeset), without the rows flagged `conflict`. No programming problem is shared between train, dev and test. Hyperparameters: 4 epochs, learning rate 2e-5, batch size 16, max length 256, weight decay 0.01, warmup ratio 0.1, dropout 0.0 (instead of the default 0.1), no class weights. The saved weights are from the epoch with the best dev macro-F1.
|
| 49 |
|
| 50 |
## Limitations
|
| 51 |
|