Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: [en, ko]
|
| 3 |
+
license: unknown
|
| 4 |
+
tags:
|
| 5 |
+
- roberta
|
| 6 |
+
- sequence-classification
|
| 7 |
+
- code
|
| 8 |
+
- small
|
| 9 |
+
inference: false
|
| 10 |
+
library_name: transformers
|
| 11 |
+
pipeline_tag: text-classification
|
| 12 |
+
datasets:
|
| 13 |
+
- dacon
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# code-sim-roberta-small
|
| 17 |
+
|
| 18 |
+
RoBERTa-small을 코드 유사도 분류 태스크로 파인튜닝한 가중치입니다.
|
| 19 |
+
사용 pretrained_model : "hosung1/roberta_small_mlm_from_scratch"
|
| 20 |
+
사용 Datasets : Dacon제공
|
| 21 |
+
|
| 22 |
+
## How to use
|
| 23 |
+
```python
|
| 24 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 25 |
+
tok = AutoTokenizer.from_pretrained("hosung1/code-sim-roberta-small")
|
| 26 |
+
mdl = AutoModelForSequenceClassification.from_pretrained("hosung1/code-sim-roberta-small")
|